Commit Graph
22 Commits
Author SHA1 Message Date
xurrorandMichael Vorburger ⛑️ a7ebef4781 FINERACT-807
change mifosplatform-tenants and mifostenant-default to fineract_tenants
 and fineract_default respectively

closes https://issues.apache.org/jira/projects/FINERACT/issues/FINERACT-807?filter=allopenissues
2020-03-08 14:16:05 +01:00
Michael Vorburger 4e1d87f20a fix broken docker-compose set up (re. FINERACT-773)
This fixed bugs introduced in edc9e030e1
(in https://github.com/apache/fineract/pull/648) which for FINERACT-773
actually broke things more instead of adding the intended feature, cauz:

1. FINERACT_DEFAULT_TENANTDB_HOSTNAME and FINERACT_DEFAULT_TENANTDB_PORT
   were meant to be OS Environment Variables, not Java System properties
   and so need to be read via System.getenv() not System.getProperty(),
   duh!

2. The Travis CI test which was meant to ensure non-regression for this
   broke in that same change, because the "|| docker logs" introduced at
   the same time would always pass (EITHER because "http" passed OR
   if not then "docker logs" would return 0), duh again!

Both were dumb, not sure what I was thinking when I had hacked this.. ;)
2020-01-12 20:44:22 +01:00
Awasum YannickandMichael Vorburger ⛑️ af0dd7e5f3 use SpotBugs & fix over 300 high priority rule violations (FINERACT-702)
This PR also serves as a base solution for upcoming FINERACT-712 and
FINERACT-696.  It includes using Objects.equals() to prevent NPEs, and
adding gradle check to run SpotBugs on Travis CI.

PS: SpotBugs is the successor to (and same code as) FindBugs.
2020-01-12 13:16:42 +01:00
Michael Vorburger ⛑️andGitHub 5bce2422e0 change .travis.yml to only run docker test if integration test passed 2019-12-14 15:51:49 +01:00
Michael Vorburger edc9e030e1 Allow customizing JDBC URLs at run-time instead of during container build (FINERACT-773)
In Docker, set JAVA_OPTS instead of FINERACT_TENANTS_URL.

Because ARG/ENV in the Dockerfile can't (easily) be changed at run-time.

At first I tried to override the ENTRYPOINT with a script which sets
JAVA_OPTS based on FINERACT_TENANTS_URL and then delegates to the original
/app-entrypoint.sh; that didn't immediately work, so this seems simpler.

Including make default tenant JDBC hostname & port configurable at Docker container run instead of build time.
2019-11-26 06:06:59 +01:00
ibondarenko 1d9176505b FINERACT-724 fix travis build after spring version migration 2019-11-21 12:33:24 +02:00
Michael Vorburger 23c3f23e12 sleep 30s instead of 5s before attempting to httpie 2019-10-21 09:45:23 +02:00
Michael Vorburger 1aee1ef6a8 install httpie in .travis.yml for docker-compose test 2019-10-21 09:45:23 +02:00
Michael Vorburger a06c008cc3 Stop mysql system service before docker-compose on Travis CI 2019-10-21 09:45:23 +02:00
Michael Vorburger 1b6c202ddc Add docker-compose non-regression test to Travis CI 2019-10-21 09:45:23 +02:00
Michael Vorburger.ch b059afda32 remove clean in .travis.yml 2019-09-17 20:18:22 +02:00
Michael Vorburger.ch 06ed8468b8 fix .travis.yml so that integrationTest does not run if test already failed 2019-09-04 22:26:53 +02:00
Michael Vorburger.ch ea076cd5c6 put back the TZ (re. FINERACT-788)
always best to make only mininmal required change
2019-08-23 17:36:57 +02:00
Michael Vorburger ⛑️ 2fdd9d14b6 rm hardcoded system time from .travis.yml (fixes FINERACT-788) 2019-08-23 17:36:57 +02:00
Michael Vorburger.ch 0d246d44a1 run integrationTest on Travis without gradlew migrateTenantDB/migrateTenantListDB (re. FINERACT-765) 2019-06-14 14:11:20 +02:00
Michael Vorburger.ch 02d51b115a use Ubuntu Trusty instead of Xenial on Travis CI (fixes FINERACT-763)
see https://issues.apache.org/jira/browse/FINERACT-763

re. https://changelog.travis-ci.com/xenial-as-the-default-build-environment-99476
2019-06-12 21:15:49 +02:00
Michael Vorburger ⛑️andGitHub 2cb760f5e8 Use gradlew --console=plain, hoping to reduce output (FINERACT-732) (#548) 2019-03-12 13:58:40 +01:00
Michael Vorburger 977b74d6d1 remove gradle --info in .travis.yml (FINERACT-732) 2019-03-11 15:38:50 +01:00
Vishwas Babu A J ab09ba8718 Fineract-707 2019-02-28 16:47:47 -08:00
Vishwas Babu A J 484f1d9430 Update Travis to run integration tests 2019-02-25 16:17:44 -08:00
Michael Vorburger e55b093cab remove 'clean' from .travis.yml 2019-02-14 00:11:37 +01:00
Michael Vorburger ⛑️andGitHub 20e4c8e527 FINERACT-697: add .travis.yml (and rm old un-used *build.sh) (#518) 2019-02-13 23:24:48 +01:00