You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by vo...@apache.org on 2020/04/15 15:58:47 UTC

[fineract] branch develop updated (9517051 -> f1c7a7b)

This is an automated email from the ASF dual-hosted git repository.

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


    from 9517051  comment out flaky SchedulerJobsTest (FINERACT-852) (#764)
     new 519dd20  set fineract_tenants_* more nicely in docker-compose.yml
     new f1c7a7b  add DRIVERCLASS_NAME, PROTOCOL, SUB_PROTOCOL to docker-compose.yml

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 docker-compose.yml | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)


[fineract] 02/02: add DRIVERCLASS_NAME, PROTOCOL, SUB_PROTOCOL to docker-compose.yml

Posted by vo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit f1c7a7b4bc142af2e8d0d8e4527eb7458b41a36b
Author: Michael Vorburger <mi...@vorburger.ch>
AuthorDate: Mon Apr 13 18:18:33 2020 +0200

    add DRIVERCLASS_NAME, PROTOCOL, SUB_PROTOCOL to docker-compose.yml
    
    These are the default values, from jdbc.properties, only added for
    clarity and to make it obvious that they need to be changed e.g. for
    FINERACT-762.
    
    The different formats and naming conventions are a little bit of a mess,
    but changing them now leads to backwards incompatibility, so for now
    let's leave as is; possible clean up later in FINERACT-889.
---
 docker-compose.yml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/docker-compose.yml b/docker-compose.yml
index 6737561..9ad6911 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -44,6 +44,9 @@ services:
       - fineractmysql
     environment:
       - JAVA_OPTS=-Djava.awt.headless=true -XX:+UseG1GC -Dfile.encoding=UTF-8
+      - DRIVERCLASS_NAME=org.drizzle.jdbc.DrizzleDriver
+      - PROTOCOL=jdbc
+      - SUB_PROTOCOL=mysql:thin
       - fineract_tenants_driver=org.drizzle.jdbc.DrizzleDriver
       - fineract_tenants_url=jdbc:mysql:thin://fineractmysql:3306/fineract_tenants
       - fineract_tenants_uid=root


[fineract] 01/02: set fineract_tenants_* more nicely in docker-compose.yml

Posted by vo...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 519dd204d85b86917b1c06527d11a527a1d8a6ce
Author: Michael Vorburger <mi...@vorburger.ch>
AuthorDate: Mon Apr 13 18:02:18 2020 +0200

    set fineract_tenants_* more nicely in docker-compose.yml
    
    We can use environment variables instead of system properties.
    
    We originally had to use system properties and could not use environment
    variables, because these used to read by Tomcat, but since the switch
    to Hikari in FINERACT-796 these are read by Spring Boot instead of
    Tomcat, so we can now use system properties.
    
    This both "looks nicer" and is useful e.g. for FINERACT-881.
---
 docker-compose.yml | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index e74b996..6737561 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -43,7 +43,11 @@ services:
     depends_on:
       - fineractmysql
     environment:
-      - JAVA_OPTS=-Dfineract_tenants_url=jdbc:mysql:thin://fineractmysql:3306/fineract_tenants -Dfineract_tenants_driver=org.drizzle.jdbc.DrizzleDriver -Dfineract_tenants_uid=root -Dfineract_tenants_pwd=skdcnwauicn2ucnaecasdsajdnizucawencascdca -Djava.awt.headless=true -XX:+UseG1GC -Dfile.encoding=UTF-8
+      - JAVA_OPTS=-Djava.awt.headless=true -XX:+UseG1GC -Dfile.encoding=UTF-8
+      - fineract_tenants_driver=org.drizzle.jdbc.DrizzleDriver
+      - fineract_tenants_url=jdbc:mysql:thin://fineractmysql:3306/fineract_tenants
+      - fineract_tenants_uid=root
+      - fineract_tenants_pwd=skdcnwauicn2ucnaecasdsajdnizucawencascdca 
       - FINERACT_DEFAULT_TENANTDB_HOSTNAME=fineractmysql
       - FINERACT_DEFAULT_TENANTDB_PORT=3306
       - FINERACT_DEFAULT_TENANTDB_UID=root