Courage Angeh and GitHub
3d111b44bd
Merge pull request #625 from Anh3h/docker-updates
...
Update Dockerfile to use user-provided MySQL IP
2019-07-31 19:12:12 -04:00
Anh3h
9d9ccfc76b
Update Dockerfile to use user-provided MySQL IP
2019-07-29 10:23:27 -04:00
Angel Cajas and GitHub
4d3d37c5e2
Merge pull request #614 from mohitsinha/new-develop
...
Stop creating unnecessary overdue charge when amount is 0.
2019-07-24 10:53:26 -06:00
Mohit Sinha
fa6794c22c
Stop creating unnecessary overdue charge when amount is 0
2019-07-24 20:26:28 +07:00
Steve Conrad and GitHub
800287b48f
Merge pull request #618 from vorburger/add-SpringBoot-Actuator
...
add spring-boot-starter-actuator dependency
2019-07-23 09:28:06 -05:00
Steve Conrad and GitHub
1110df80c3
Merge pull request #624 from vorburger/FINERACT-771_Dockerfile
...
use multi-stage build in Dockerfile (fixes FINERACT-771)
2019-07-23 08:28:50 -05:00
Michael Vorburger.ch
f13c076862
rm git & JDK from Dockerfile
...
Now that we separated the build and runtime containers,
we can have only a JRE but not a JDK in the runtime container
(whereas the builder container will still have a JRE).
This makes for a smaller, and more importantly,
more secure, runtime container image.
Also removing git from runtime container, as it's not used.
2019-07-23 10:17:56 +02:00
Michael Vorburger.ch
81c1468fa4
use multi-stage build in Dockerfile (fixes FINERACT-771)
2019-07-23 10:12:25 +02:00
Mohit Sinha and Michael Vorburger ⛑️
eee2841b5c
FINERACT-780: Unique id for hook test
2019-07-23 09:18:58 +02:00
Awasum Yannick and GitHub
908c5e3ad0
Merge pull request #608 from vorburger/bump-OpenJPA-Version
...
bump OpenJPA version from 2.4.1 to 2.4.3 for Java 11 compliance
2019-07-16 14:55:51 +01:00
Steve Conrad and GitHub
f517f53b63
Merge pull request #620 from vorburger/bval-scope-implementation
...
switch bval dependency from compile to implementation (see FINERACT-777)
2019-07-11 09:37:01 -05:00
Awasum Yannick and GitHub
b02a35c1f3
Merge pull request #621 from apache/README-DockerHub
...
add links to Docker Hub to README (badges & text)
2019-07-11 10:05:07 +01:00
Michael Vorburger ⛑️ and GitHub
c5e7ae274a
add links to Docker Hub to README (badges & text)
...
see https://issues.apache.org/jira/browse/INFRA-18673
2019-07-11 10:14:21 +02:00
Michael Vorburger.ch
8be550d077
switch bval dependency from compile to implementation (see FINERACT-777)
2019-07-11 08:46:35 +02:00
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 ⛑️ and GitHub
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 ⛑️ and GitHub
9f0147d7d0
Merge branch 'develop' into bump-gradle-wrapper
2019-07-10 18:45:21 +02:00
Steve Conrad and GitHub
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
46a9da6c9b
silence Spring Boot Actuator Audit INFO logging (fixes FINERACT-779)
2019-07-10 10:28:21 +02: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
6eae392805
add spring-boot-starter-actuator dependency
...
see https://docs.spring.io/spring-boot/docs/current/reference/html/production-ready-endpoints.html
2019-07-09 21:05:53 +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 Conrad and GitHub
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 J and GitHub
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 J and GitHub
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 Yannick and GitHub
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 Yannick and GitHub
41f683cfb1
Merge pull request #612 from vorburger/deactivate-FindBugs-PMD
...
comment out PMD & FindBugs
2019-07-07 22:43:15 +01:00
Awasum Yannick and GitHub
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 Yannick and GitHub
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 Yannick and GitHub
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 Yannick and GitHub
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 Yannick and GitHub
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 Conrad and GitHub
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