Commit Graph
5021 Commits
Author SHA1 Message Date
Michael Vorburger.ch bcef09d7be upgrade OpenJPA 2.4.1 to 2.4.3
because 2.4.1 was not yet Java 11 compatible (due to an old ASM)

I'd like to upgrade to Java 11 soon-ish, and am starting to experiment with it.
2019-07-11 08:41:36 +02:00
Michael Vorburger ⛑️andGitHub 04efaca1ca Merge pull request #525 from vorburger/bump-gradle-wrapper
FINERACT-700: upgrade Gradle from 2.10 to 5.2.1
2019-07-11 08:28:54 +02:00
Michael Vorburger.ch 2fc98df21c fix ClassCircularityError: java/util/logging/LogRecord (see FINERACT-700 for details) 2019-07-10 23:47:51 +02:00
Michael Vorburger ⛑️andGitHub 9f0147d7d0 Merge branch 'develop' into bump-gradle-wrapper 2019-07-10 18:45:21 +02:00
Steve ConradandGitHub 9d286266df Merge pull request #607 from vorburger/OpenJPA-but-not_all_fatjar
use openjpa (with real dependencies) instead of shaded openjpa-all
2019-07-10 09:37:26 -05:00
Michael Vorburger.ch e2b2e66610 fix integrationTest (=> runWar) which broke in Gradle upgrade
inspired by (but not exactly like) the respective section on
https://github.com/bmuschko/gradle-tomcat-plugin#faq
2019-07-09 22:09:11 +02:00
Michael Vorburger.ch 9a4cb83bd5 upgrade gradle-tomcat-plugin from 1.0 to 2.5 (NOK) 2019-07-09 18:18:13 +02:00
Michael Vorburger.ch b54a11da9b fix gradle createDB/dropDB/setBlankPassword
which broke during the Gradle upgrade in FINERACT-700

do not fix Flyway related migrateTenantDB & Co, as those
are proposed to be removed in FINERACT-765 anyway.  (If really
needed, some of my other WIP branches have the required changes
to make the Flyway related tasks work.)
2019-07-09 10:04:03 +02:00
Michael Vorburger.ch 6f58b30fd8 gradle.properties with -Xmx4g and disabling daemon
because the (new, upgraded) Tomcat Gradle plugin needs more memory
(and this seems to make the build a bit faster, may be less is fine),
and it does not work with the Gradle daemon; this fixes:

> Task :tomcatRunWar
Failed to initialize end point associated with ProtocolHandler ["http-bio-8080"]
Failed to initialize connector [Connector[HTTP/1.1-8080]]
Failed to initialize end point associated with ProtocolHandler ["ajp-bio-8009"]
Failed to initialize connector [Connector[AJP/1.3-8009]]
Failed to initialize end point associated with ProtocolHandler ["http-bio-8443"]
Failed to initialize connector [Connector[HTTP/1.1-8443]]

which appears on the 2nd (only!) run of `./gradlew tomcatRunWAR`
(because the Tomcat embedded in the previous daemon-ized Gradle did not stop).
2019-07-09 10:04:03 +02:00
Michael Vorburger fd74931390 upgrade (switch) OpenJPA Gradle plugin (FINERACT-700)
from at.schmutterer.oss.gradle:gradle-openjpa
to com.radcortez.gradle:openjpa-gradle-plugin

due to https://github.com/schmutterer/gradle-openjpa/issues/8
2019-07-09 10:04:03 +02:00
Michael Vorburger 1ee141bb87 upgrade spring-boot-gradle-plugin, and deal with impacts (FINERACT-700)
because the old one previously used caused an UnsupportedOperationException
with the new Gradle, see https://issues.apache.org/jira/browse/FINERACT-700

The spring-jms and activemq-broker versions are set to what they were on before.
2019-07-09 10:02:13 +02:00
Michael Vorburger 84d57dbe5b upgrade Gradle version, and deal with impacts (FINERACT-700)
https://discuss.gradle.org/t/could-not-get-unknown-property-classesdir-for-main-classes-of-type-org-gradle-api-internal-tasks-defaultsourcesetoutput/30570

https://discuss.gradle.org/t/gradle-4-replacing-deprecated-test-testclassesdir/22822/2

https://discuss.gradle.org/t/could-not-find-method-leftshift-for-arguments-on-task-of-type-org-gradle-api-defaulttask/30614
2019-07-09 09:52:37 +02:00
Michael Vorburger.ch a87b3a0a4d use openjpa (with real dependencies) instead of shaded openjpa-all 2019-07-09 09:48:18 +02:00
Steve ConradandGitHub d22ed87276 Merge pull request #617 from vorburger/javax.validation.constraints-instead-org.apache.bval.constraints
replace Apache BVal @NotEmpty annotation by javax.validation (re. FINERACT-777)
2019-07-08 08:26:53 -05:00
Michael Vorburger.ch 8bdc134a8e replace Apache BVal @NotEmpty annotation by javax.validation (re. FINERACT-777) 2019-07-08 09:48:01 +02:00
Vishwas Babu A JandGitHub cd839953e1 Merge pull request #596 from vorburger/enable-TemplateMergeServiceTest-compileHelloTemplate
re-enable commented out TemplateMergeServiceTest.compileHelloTemplate (which actually passes)
2019-07-08 09:28:27 +05:30
Vishwas Babu A JandGitHub 624015acaa Merge pull request #613 from vorburger/FINERACT-765_rm-flyway-from-gradle
remove Flyway completely from Gradle build (fixes FINERACT-765)
2019-07-08 09:27:30 +05:30
Awasum YannickandGitHub c04851cd21 Merge pull request #597 from vorburger/rm-WebContent/META-INF/MANIFEST.MF
clean-up rm WebContent/META-INF/MANIFEST.MF
2019-07-07 22:44:39 +01:00
Awasum YannickandGitHub 41f683cfb1 Merge pull request #612 from vorburger/deactivate-FindBugs-PMD
comment out PMD & FindBugs
2019-07-07 22:43:15 +01:00
Awasum YannickandGitHub 21ba7ff75d Merge pull request #611 from vorburger/upgrade-Tomcat-minor
upgrade Apache Tomcat from 7.0.54 to 7.0.94
2019-07-07 22:41:49 +01:00
Awasum YannickandGitHub 998d8b7fbc Merge pull request #602 from vorburger/re-activate-tests
re-activate unit tests (see FINERACT-776)
2019-07-07 22:41:06 +01:00
Awasum YannickandGitHub 7ef262b5a0 Merge pull request #615 from vorburger/doc-add_Instructions-how-to-run-for-local-development_README
add "Instructions how to run for local development" to README
2019-07-07 22:39:51 +01:00
Awasum YannickandGitHub 5c9028fcd0 Merge pull request #563 from mohitsinha/develop
JdbcSupport added utility function for getting localDateTime after considering timezone of tenant
2019-07-07 20:09:17 +01:00
Awasum YannickandGitHub 18517f53d7 Merge pull request #616 from vorburger/upgrade-drizzle
upgrade Drizzle JDBC from 1.3 to 1.4
2019-07-05 16:57:40 +01:00
Steve ConradandGitHub dcaf9fc212 Merge pull request #603 from vorburger/improve-OpenJPA-Version
make OpenJPA version easier to change
2019-07-04 08:26:24 -05:00
Michael Vorburger.ch dd4923888b upgrade Drizzle JDBC from 1.3 to 1.4 2019-07-04 10:43:05 +02:00
Michael Vorburger.ch 0c2b1dc6dc remove Flyway completely from Gradle build (fixes FINERACT-765)
we (of course), still, but only, run it in-App at runtime boot

This is a clean-up which removes something we don't actually need.

Most importantly, it unblocks the Gradle upgrade in FINERACT-700,
where this doesn't work anymore anyway (and while there's a fix
making it work on one of my branches, it seems simpler to just
remove it).
2019-07-04 10:39:55 +02:00
Michael Vorburger.ch db67fec6b9 add "Instructions how to run for local development" to README
hoping to change "tomcatRunWAR" to "bootRun", later (FINERACT-730/FINERACT-764)
2019-07-04 10:20:58 +02:00
Michael Vorburger.ch e960d40906 comment out PMD & FindBugs
Too slow, and nobody looked at it in years anyway.
The idea is to later re-activate, with enforcement.

see also https://issues.apache.org/jira/browse/FINERACT-712
2019-07-04 09:32:48 +02:00
Michael Vorburger.ch b0a4069da6 upgrade Apache Tomcat from 7.0.54 to 7.0.94
This fixes the following weird problem I ran into
during the Gradle & Spring Boot / OpenJPA Gradle plugins upgrades;
it's likely some Tomcat bug that got fixed between .54 and .94:

Unable to process resource element [jndi:/localhost/fineract-provider/WEB-INF/classes/org/apache/fineract/.../*.class] for annotations
2019-07-04 09:26:39 +02:00
Michael Vorburger.ch d3e977cc99 use slf4j instead Apache Commons Logging in CustomAuthenticationFailureHandler 2019-07-04 08:44:30 +02:00
Michael Vorburger.ch e478b02931 ditch un-used import of (very old) serp.util.Strings 2019-07-04 08:43:02 +02:00
Michael Vorburger.ch e97b12a3f9 make OpenJPA version, used twice, a variable, instead of repeating it 2019-07-03 23:40:17 +02:00
Michael Vorburger.ch c296c314b3 move versions in build.gradle
so that the buildscript block can already use them
2019-07-03 23:40:17 +02:00
Michael Vorburger.ch 7030f1fa4c re-activate unit tests (see FINERACT-776) 2019-07-03 23:23:12 +02:00
Steve ConradandGitHub 0d3a70db24 Merge pull request #600 from vorburger/develop
add missing license header to .dockerignore
2019-07-03 15:22:02 -05:00
Michael Vorburger.ch 629cd4da12 add missing license header to .dockerignore 2019-07-03 21:57:28 +02:00
Steve ConradandGitHub 4e16f328c5 Merge pull request #599 from vorburger/dockerignore
add suitable .dockerignore
2019-07-02 07:54:04 -05:00
Michael Vorburger.ch dd438f9b36 add suitable .dockerignore
This reduces the `docker build` time spent in
`STEP 6: COPY . fineract` from about 6m to 3m,
because it avoids copying locally built artifacts
into the container (which we don't need there, we're
just about to re-build them in the container anyway).

This also provides better isolation from the local dev
environment and the should lead to more reproducible
container builds.
2019-07-02 08:46:13 +02:00
Michael Vorburger ⛑️ 913f018f0f clean-up rm WebContent/META-INF/MANIFEST.MF
This is ancient, and should normally not be required anymore, now.

Gradle would add it, if required.
2019-07-01 21:29:08 +02:00
Michael Vorburger ⛑️ 702e15e0f4 re-enable commented out test (which actually passes) 2019-07-01 21:23:26 +02:00
conradspandMichael Vorburger ⛑️ 21f50ef132 Set host to fineractmysql when running in docker 2019-07-01 19:21:58 +02:00
Steve ConradandGitHub ea29fac9f5 Merge pull request #565 from marta-jankovics/mojaloop-fineract_1.0.1
FINERACT-706: Interoperation Mojaloop integration 1.0.1
2019-06-30 14:28:37 -05:00
conradspandMichael Vorburger ⛑️ b8dadd0419 Added license, moved db init file 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ ec0c9dc0eb Update readme - removed unnecessary instruction 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ 7574daf79e Change port from 443 to 8443 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ 21cc14c9f2 Simplify docker process - run from root directory 2019-06-29 15:38:33 +02:00
conradspandMichael Vorburger ⛑️ 357820a7a7 Create one-touch deploy with docker 2019-06-29 15:38:33 +02:00
Vishwas Babu A JandGitHub 900cdcbf4c Merge pull request #594 from vorburger/fix-V271__accounting_for_client_charges.sql
fix minor SQL syntax problem in V271__accounting_for_client_charges.sql
2019-06-20 12:51:34 -07:00
Michael Vorburger.ch fc01dd25b7 fix minor SQL syntax problem in V271__accounting_for_client_charges.sql 2019-06-20 21:06:48 +02:00