Commit Graph
57 Commits
Author SHA1 Message Date
Aleksandar VidakovicandPetri Tuomola c81fc7f0f4 Upgrade to JDK 17 2022-01-03 21:04:53 +08:00
Petri TuomolaandPetri Tuomola 70e3b4e0db Only use Travis for SonarQube 2021-11-26 23:39:01 +08:00
Victor RomeroandAleksandar Vidakovic f8a0a8d5cd Upgrade JDK 11 LTS to JDK 17 LTS (FINERACT-1406) 2021-11-26 03:58:06 +01:00
Petri TuomolaandAleksandar Vidakovic d3400888fa FINERACT-1418: Upgrade to Jersey 2 2021-11-04 07:43:46 +01:00
Victor RomeroandPetri Tuomola a6eef163a9 Make sure that using this pseudorandom number generator is safe (FINERACT-1415) 2021-10-26 12:28:33 +08:00
Victor RomeroandPetri Tuomola e6b64858e9 Enhace SonarQube analysis (FINERACT-1409) 2021-10-26 12:28:33 +08:00
Victor RomeroandPetri Tuomola 0de257fd44 Use of Azul Zulu JDK 11 LTS (FINERACT-1416) 2021-10-26 11:13:03 +08:00
Víctor RomeroandGitHub eb129460ca Adding travis_wait variable to SonarQube analysis (FINERACT-1409) (#1922)
* https://issues.apache.org/jira/browse/FINERACT-1415 fix

* https://issues.apache.org/jira/browse/FINERACT-1415 fix

* Fix LF

* Reverting the direct fix of the Jacoco Reports

* Adding travis_wait variable to SonarQube analysis (FINERACT-1409)
2021-10-21 19:52:19 -05:00
Víctor RomeroandGitHub 9ba63ef7f7 Support for SonarQube Analysis on ASF's SonarCloud (#1893)
* Support for SonarQube Analysis https://issues.apache.org/jira/browse/FINERACT-1409

* Fix the addons entry

* Fix LF
2021-10-19 13:46:38 -05:00
Petri TuomolaandAleksandar Vidakovic b74501b43b Upgrading to Gradle 7.2 2021-09-13 07:24:39 +02:00
Petri TuomolaandGitHub 9762a4134d Fix builds failing as no output from integration test for more than 10 minutes 2021-09-11 22:44:20 +08:00
Petri TuomolaandGitHub 1013c6d3f6 Changing Travis logging level to quiet 2021-09-11 19:46:01 +08:00
Yemdjih Kaze NasserandPetri Tuomola 6a55a80c7d FINERACT-1198 - Revert spotlessApply and use only spotlessCheck 2020-11-26 16:09:37 +08:00
Aleksandar VidakovicandMichael Vorburger ⛑️ e380df187d FINERACT-1191: Finceract Documentation in Asciidoc 2020-11-02 21:25:36 +01:00
Michael VorburgerandAleksandar Vidakovic 2a2b4b59a1 Simplify Gradle invocation in Travis YAML (FINERACT-1250) 2020-11-02 12:02:32 +01:00
Aleksandar VidakovicandMichael Vorburger ⛑️ 578e098670 FINERACT-1209: Integration Tests using new Swagger Client API 2020-11-02 10:00:50 +01:00
Michael VorburgerandPetri Tuomola e2eec3924f Build all modules on Travis (FINERACT-1226) 2020-10-21 06:08:27 +03:00
Aleksandar VidakovicandMichael Vorburger ⛑️ ca80ecb46e FINERACT-1189: fineract client as a separate module 2020-10-17 16:24:53 +02:00
Aleksandar VidakovicandPetri Tuomola 5520bb3c2d FINERACT-1188: README and other files are not covered by Spotless 2020-10-14 10:29:05 +03:00
Petri TuomolaandYemdjih Kaze Nasser 946bff46c1 FINERACT-1128: Switching build script from httpie to curl to allow retries 2020-08-27 14:13:27 +01:00
Petri TuomolaandYemdjih Kaze Nasser 416d0a6ff8 Add generated files to gitignore 2020-08-22 07:00:20 +01:00
Petri TuomolaandYemdjih Kaze Nasser 9bad487c0c FINERACT-1118: Do not run Swagger code generation if previous build steps fail 2020-08-20 07:50:33 +01:00
Chinmay KulkarniandMichael Vorburger ⛑️ 4a569d8c02 FINERACT-838 Updated .travis.yml 2020-08-02 17:48:43 +02:00
Grandolf49andMichael Vorburger ⛑️ a7ddf7f728 FINERACT-838 Travis CI setup for Swagger Codegen 2020-08-02 17:48:43 +02:00
Petri TuomolaandYemdjih Kaze Nasser 333759f2aa FINERACT-1079: Run spotlessCheck for automated builds, spotlessApply for manual ones 2020-07-07 08:43:07 +01:00
d9df7fe245 FINERACT-835: Upgrade Swagger Annotations to Annotations 2.0 (#1101)
Co-authored-by: Michael Vorburger ⛑️ <mike@vorburger.ch>
2020-06-26 13:32:14 +02:00
Petri TuomolaandMichael Vorburger ⛑️ 6438063a7f FINERACT-995: Rewriting logic to remove call to rs.previous() 2020-06-20 22:32:06 +02:00
Petri TuomolaandYemdjih Kaze Nasser e0f8bc5e46 FINERACT-1024: Changing Travis profile to minimal 2020-06-08 13:10:37 +01:00
Michael Vorburger ⛑️andGitHub e7889f8463 copy .git/** into build container so git.properties can be generated [FINERACT-983] (#904) 2020-05-17 10:33:29 +01:00
Michael Vorburger d2d013b78f use Java >11.0.2 instead of Java 12 on Travis (FINERACT-937)
by ditching Travis' own sad state of Java (cough) 'support'

and just re-installing it ourselves instead
2020-05-10 15:04:26 +02:00
Petri TuomolaandMichael Vorburger ⛑️ f3b3ebc58c Upgrading Travis distro and MySQL 2020-05-09 13:38:18 +02:00
Petri TuomolaandMichael Vorburger ⛑️ 0e4aeef1af FINERACT-846: Migrating to Java 11, upgrading dependencies, fixing compiler warnings 2020-05-07 22:28:19 +02:00
Michael Vorburger edfcb931e9 Gradle testLogging exceptionFormat "full" (FINERACT-927)
as well as integrationTest --fail-fast
2020-05-05 10:52:02 +02:00
xurrorandMichael Vorburger ⛑️ 394a7fb1d1 IntegrationTests for git build info 2020-04-26 16:47:27 +02:00
xurrorandMichael Vorburger ⛑️ 0a80195ac2 Fix rat reports 2020-04-26 16:47:27 +02:00
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