fineract-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ptuom...@apache.org
Subject [fineract] branch develop updated: Build all modules on Travis (FINERACT-1226)
Date Wed, 21 Oct 2020 03:08:39 GMT
This is an automated email from the ASF dual-hosted git repository.

ptuomola pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract.git


The following commit(s) were added to refs/heads/develop by this push:
     new e2eec39  Build all modules on Travis (FINERACT-1226)
e2eec39 is described below

commit e2eec3924fbba61156422efada6442d097cac724
Author: Michael Vorburger <mike@vorburger.ch>
AuthorDate: Wed Oct 21 00:14:35 2020 +0200

    Build all modules on Travis (FINERACT-1226)
---
 .travis.yml                                                             | 2 +-
 .../src/main/java/org/apache/fineract/client/util/FineractClient.java   | 2 +-
 .../test/java/org/apache/fineract/client/test/FineractClientTest.java   | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index fddfda0..3ce77b5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -72,6 +72,6 @@ script:
 # using "&&" instead of several "-" means that integrationTest does not run if test
fails,
 # and Docker test does not run if integration test fails, which makes PR failure easier to
understand.
 # @see https://docs.travis-ci.com/user/job-lifecycle/#customizing-the-build-phase
-  - ./gradlew --console=plain -PautomatedBuild=true licenseMain licenseTest licenseIntegrationTest
check  &&  ./gradlew --console=plain -PautomatedBuild=true integrationTest --fail-fast
 &&  sudo service mysql stop  &&  docker-compose build  &&  docker-compose
up -d  &&  sleep 60s  && curl -f -k --retry 5 --retry-connrefused --connect-timeout
30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/health  && 
(( $(curl -f -k --retry 5 --retry-connrefused --connect-timeout 3 [...]
+  - ./gradlew --console=plain -PautomatedBuild=true licenseMain licenseTest licenseIntegrationTest
check  &&  ./gradlew --console=plain -PautomatedBuild=true build integrationTest --fail-fast
 &&  sudo service mysql stop  &&  docker-compose build  &&  docker-compose
up -d  &&  sleep 60s  && curl -f -k --retry 5 --retry-connrefused --connect-timeout
30 --retry-delay 30 https://localhost:8443/fineract-provider/actuator/health  && 
(( $(curl -f -k --retry 5 --retry-connrefused --connect-tim [...]
 # We stop the mysql system service when running the Docker test to avoid port 3306 conflicts
(unless we run the mysql in docker-compose on another port; req. FINERACT-773)
 # The fancy /actuator/info test makes sure that has more than 100 characters of JSON to test
that the git.properties worked (see FINERACT-983)
diff --git a/fineract-client/src/main/java/org/apache/fineract/client/util/FineractClient.java
b/fineract-client/src/main/java/org/apache/fineract/client/util/FineractClient.java
index 2ff5ded..c062cef 100644
--- a/fineract-client/src/main/java/org/apache/fineract/client/util/FineractClient.java
+++ b/fineract-client/src/main/java/org/apache/fineract/client/util/FineractClient.java
@@ -362,7 +362,7 @@ public final class FineractClient {
         return new Builder();
     }
 
-    protected <S> S createService(Class<S> serviceClass) {
+    public <S> S createService(Class<S> serviceClass) {
         return api.createService(serviceClass);
     }
 
diff --git a/fineract-client/src/test/java/org/apache/fineract/client/test/FineractClientTest.java
b/fineract-client/src/test/java/org/apache/fineract/client/test/FineractClientTest.java
index 2010a45..34e0ed3 100644
--- a/fineract-client/src/test/java/org/apache/fineract/client/test/FineractClientTest.java
+++ b/fineract-client/src/test/java/org/apache/fineract/client/test/FineractClientTest.java
@@ -55,7 +55,7 @@ public class FineractClientTest {
 
     @Test
     @Disabled // TODO FINERACT-1220
-    void testOfficesDateFormat() throws IOException {
+    void testOfficesDateFormat() {
         FineractClient fineract = FineractClient.builder().baseURL("https://demo.fineract.dev/fineract-provider/api/v1/").tenant("default")
                 .basicAuth("mifos", "password").insecure(true).build();
         ok(fineract.offices.retrieveOffices(true, null, null));


Mime
View raw message