You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fineract.apache.org by ka...@apache.org on 2020/10/29 19:20:47 UTC

[fineract-cn-interoperation] 02/04: send full url to eureka

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

kaze pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/fineract-cn-interoperation.git

commit f88669116ce6c4484ea2a48ebe21134906b83290
Author: Audrey Ndum <au...@gmail.com>
AuthorDate: Mon Oct 19 07:44:45 2020 +0100

    send full url to eureka
---
 service/src/main/resources/application.yml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml
index 68e0269..233c048 100644
--- a/service/src/main/resources/application.yml
+++ b/service/src/main/resources/application.yml
@@ -16,11 +16,32 @@
 # specific language governing permissions and limitations
 # under the License.
 #
+spring:
+  cloud:
+    discovery:
+      enabled: false
+    config:
+      enabled: false
+
+eureka:
+  client:
+    serviceUrl:
+      defaultZone: http://localhost:8761/eureka/
+  instance:
+    homePageUrl: "http://${eureka.hostname}:2034/interoperation/v1/"
 
 server:
   port: 2034
   contextPath: /interoperation/v1/*
 
+postgresql:
+  driverClass: org.postgresql.Driver
+  database: seshat
+  host: localhost
+  port: 5432
+  user: postgres
+  password: postgres
+
 async:
   corePoolSize: 32
   maxPoolSize: 16384