[jira] [Updated] (FINCN-189) Add /health endpoint to each micro service
[ https://issues.apache.org/jira/browse/FINCN-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru updated FINCN-189: --- Labels: volunteer (was: ) > Add /health endpoint to each micro service > -- > > Key: FINCN-189 > URL: https://issues.apache.org/jira/browse/FINCN-189 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > Labels: volunteer > > In order to run Fineract-CN micro services in production we need to know > about each service if it is running or failing. > For this we need to create /health endpoints to each micro service. If anyone > turns to this endpoint the program code checks if it can access Postgres and > Cassandra and if yes it responds back "UP", otherwise "DOWN". > I recommend starting with Identity micro service because this micro service > doens't depend on any other micro service (to run it you only need to have > Cassandra and Postgres running). > -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Created] (FINCN-189) Add /health endpoint to each micro service
Juhan Aasaru created FINCN-189: -- Summary: Add /health endpoint to each micro service Key: FINCN-189 URL: https://issues.apache.org/jira/browse/FINCN-189 Project: Fineract Cloud Native Issue Type: Improvement Reporter: Juhan Aasaru In order to run Fineract-CN micro services in production we need to know about each service if it is running or failing. For this we need to create /health endpoints to each micro service. If anyone turns to this endpoint the program code checks if it can access Postgres and Cassandra and if yes it responds back "UP", otherwise "DOWN". I recommend starting with Identity micro service because this micro service doens't depend on any other micro service (to run it you only need to have Cassandra and Postgres running). -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Comment Edited] (FINCN-186) Research upgrading to Java 11
[ https://issues.apache.org/jira/browse/FINCN-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1696#comment-1696 ] Juhan Aasaru edited comment on FINCN-186 at 10/28/19 2:52 PM: -- We need to upgrade to Spring Boot 2 before we can migrate to Java 9+: [https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-with-Java-9-and-above] Task to migrate to Spring Boot 2: FINCN-172 was (Author: juhan.aasaru): We need to upgrade to Spring Boot 2 before we can migrate to Java 9+: [https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-with-Java-9-and-above] > Research upgrading to Java 11 > - > > Key: FINCN-186 > URL: https://issues.apache.org/jira/browse/FINCN-186 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > > Fineract-CN works on Java 8 and eventually the support will be discontinued. > Next Long Term Support (LTS) version is Java 11. > Also we could benefit from the module system introduced by Java 9 - running > apps on module system would require less memory (since we don't need all the > modules of Java). -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (FINCN-149) For each fineract-cn-* project configure Dockerfile to download the artifact from Artifactory
[ https://issues.apache.org/jira/browse/FINCN-149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru resolved FINCN-149. Resolution: Fixed Docker Hub now builds images using autobuild. > For each fineract-cn-* project configure Dockerfile to download the artifact > from Artifactory > - > > Key: FINCN-149 > URL: https://issues.apache.org/jira/browse/FINCN-149 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > > This depends on artifacts to be available on Artifactory ( > https://issues.apache.org/jira/browse/FINCN-148 ) -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (FINCN-183) rhythm BeatPublisherService cannot access portfolio via Eureka
[ https://issues.apache.org/jira/browse/FINCN-183?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru resolved FINCN-183. Resolution: Fixed resolved > rhythm BeatPublisherService cannot access portfolio via Eureka > -- > > Key: FINCN-183 > URL: https://issues.apache.org/jira/browse/FINCN-183 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > Time Spent: 1h 40m > Remaining Estimate: 0h > > In > BeatPublisherService > method > publishBeat > app url is pulled from Eureka > List applicationsByName = > discoveryClient.getInstances(applicationIdentifier); > ServiceInstance beatListenerService = applicationsByName.get(0); > final BeatListener beatListener = apiFactory.create(BeatListener.class, > beatListenerService.getUri().toString()); > > but the problem is that getUri() returns the URL of Portfolio without context > path (without '/portfolio/v1). > For this need to rewrite EurekaClient to use getHomePageUrl() instead > > I'll work on this -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Resolved] (FINCN-182) travis gradle builds occasionally fail
[ https://issues.apache.org/jira/browse/FINCN-182?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru resolved FINCN-182. Resolution: Fixed solved > travis gradle builds occasionally fail > -- > > Key: FINCN-182 > URL: https://issues.apache.org/jira/browse/FINCN-182 > Project: Fineract Cloud Native > Issue Type: Bug >Reporter: Juhan Aasaru >Priority: Major > > After upgrading from Gradle 3 to Gradle 4.10.3 the travis builds sometimes > fail. After restarting 1 or 2 times the builds complete sucessfully. > It could be caused by Mifos artifactory returning erros. Needs further > investigation. -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FINCN-186) Research upgrading to Java 11
[ https://issues.apache.org/jira/browse/FINCN-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru updated FINCN-186: --- Labels: (was: volunteer) > Research upgrading to Java 11 > - > > Key: FINCN-186 > URL: https://issues.apache.org/jira/browse/FINCN-186 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > > Fineract-CN works on Java 8 and eventually the support will be discontinued. > Next Long Term Support (LTS) version is Java 11. > Also we could benefit from the module system introduced by Java 9 - running > apps on module system would require less memory (since we don't need all the > modules of Java). -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Commented] (FINCN-186) Research upgrading to Java 11
[ https://issues.apache.org/jira/browse/FINCN-186?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=1696#comment-1696 ] Juhan Aasaru commented on FINCN-186: We need to upgrade to Spring Boot 2 before we can migrate to Java 9+: [https://github.com/spring-projects/spring-boot/wiki/Spring-Boot-with-Java-9-and-above] > Research upgrading to Java 11 > - > > Key: FINCN-186 > URL: https://issues.apache.org/jira/browse/FINCN-186 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > > Fineract-CN works on Java 8 and eventually the support will be discontinued. > Next Long Term Support (LTS) version is Java 11. > Also we could benefit from the module system introduced by Java 9 - running > apps on module system would require less memory (since we don't need all the > modules of Java). -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FINCN-186) Research upgrading to Java 11
[ https://issues.apache.org/jira/browse/FINCN-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru updated FINCN-186: --- Description: Fineract-CN works on Java 8 and eventually the support will be discontinued. Next Long Term Support (LTS) version is Java 11. Also we could benefit from the module system introduced by Java 9 - running apps on module system would require less memory (since we don't need all the modules of Java). was: Fineract-CN works on Java 8 and eventually the support will be discontinued. Next Long Term Support (LTS) version is Java 11. Also we could benefit from the module system introduced by Java 9 - running apps on module system would require less memory. So I created this task that we need Proof of Concept (POC) what changes would be requiired to migrate Fineract-CN to Java 11 (with and/or) without migration to module system. > Research upgrading to Java 11 > - > > Key: FINCN-186 > URL: https://issues.apache.org/jira/browse/FINCN-186 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > > Fineract-CN works on Java 8 and eventually the support will be discontinued. > Next Long Term Support (LTS) version is Java 11. > Also we could benefit from the module system introduced by Java 9 - running > apps on module system would require less memory (since we don't need all the > modules of Java). -- This message was sent by Atlassian Jira (v8.3.4#803005)
[jira] [Updated] (FINCN-186) Research upgrading to Java 11
[ https://issues.apache.org/jira/browse/FINCN-186?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Juhan Aasaru updated FINCN-186: --- Labels: volunteer (was: ) > Research upgrading to Java 11 > - > > Key: FINCN-186 > URL: https://issues.apache.org/jira/browse/FINCN-186 > Project: Fineract Cloud Native > Issue Type: Improvement >Reporter: Juhan Aasaru >Priority: Major > Labels: volunteer > > Fineract-CN works on Java 8 and eventually the support will be discontinued. > Next Long Term Support (LTS) version is Java 11. > Also we could benefit from the module system introduced by Java 9 - running > apps on module system would require less memory (since we don't need all the > modules of Java). -- This message was sent by Atlassian Jira (v8.3.4#803005)