diff --git a/configmaps/api-gateway-configs.yaml b/configmaps/api-gateway-configs.yaml index a57154c..f70b391 100644 --- a/configmaps/api-gateway-configs.yaml +++ b/configmaps/api-gateway-configs.yaml @@ -10,6 +10,13 @@ data: #- org.springframework.web.client.HttpServerErrorException #- java.util.concurrent.TimeoutException #- java.io.IOException + eureka: + client: + enabled: false + serviceUrl: + defaultZone: 'http://localhost:8761/eureka/' + fetch-registry: false + register-with-eureka: false debug: false logging: level: diff --git a/configmaps/hhc-service-configs.yaml b/configmaps/hhc-service-configs.yaml index 614bd96..dd9f086 100644 --- a/configmaps/hhc-service-configs.yaml +++ b/configmaps/hhc-service-configs.yaml @@ -11,6 +11,13 @@ data: ServiceURIS__ADTMasterDataURI: http://csi-pms-rms-masterdata/amd-masterdata/ ServiceURIS__BmInvoiceURI: http://csi-bm-invoice/ Report__SkipSendToReporting: "true" + eureka__client__healthcheck__enabled: "true" + eureka__client__serviceUrl: http://eureka:8761/eureka/ + eureka__client__shouldFetchRegistry: "true" + eureka__client__shouldRegisterWithEureka: "true" + eureka__instance__hostname: csi-net-hhc + eureka__instance__healthCheckUrl: "" + eureka__instance__preferIpAddress: "false" kind: ConfigMap metadata: diff --git a/configmaps/security-service-configs.yml b/configmaps/security-service-configs.yml index a7886d1..77b07f2 100644 --- a/configmaps/security-service-configs.yml +++ b/configmaps/security-service-configs.yml @@ -3,6 +3,7 @@ data: activeProfile: java-dev configserver: http://config-server domain_name: csi.dev.cloudsol.lk + eureka_server: http://eureka:8761/eureka/ ui_hostname: http://webserver-service kind: ConfigMap metadata: diff --git a/configmaps/service-config-bloodbank.yml b/configmaps/service-config-bloodbank.yml index 0174e2d..36a1ae7 100644 --- a/configmaps/service-config-bloodbank.yml +++ b/configmaps/service-config-bloodbank.yml @@ -6,6 +6,7 @@ data: bloodbank-db-platform: org.hibernate.dialect.PostgreSQLDialect bloodbank-db-url: jdbc:postgresql://172.15.100.28:5432/temp-quat-database?currentSchema=bb_bloodbank configserver: http://config-server + eureka_server: http://eureka:8761/eureka/ rootDomainName: cloudsol.lk kind: ConfigMap metadata: diff --git a/configmaps/service-config-pharmacy.yml b/configmaps/service-config-pharmacy.yml index 54c2e44..4960ae6 100644 --- a/configmaps/service-config-pharmacy.yml +++ b/configmaps/service-config-pharmacy.yml @@ -6,6 +6,7 @@ data: discharge-clear-notification: adt-discharge-clear-notification.t discharge-start-notification: adt-discharge-start-notification.t discharge-summary-clear-notification: adt-discharge-summary-clear-notification.t + eureka_server: http://eureka:8761/eureka/ pharmacy-db-platform: org.hibernate.dialect.PostgreSQLDialect pharmacy-db-url: jdbc:postgresql://172.15.100.28:5432/temp-quat-database prescription-db-url: jdbc:postgresql://172.15.100.28:5432/temp-quat-database diff --git a/configmaps/service-configs-bm-promotional.yaml b/configmaps/service-configs-bm-promotional.yaml index ae6c549..9e6ca26 100644 --- a/configmaps/service-configs-bm-promotional.yaml +++ b/configmaps/service-configs-bm-promotional.yaml @@ -4,6 +4,7 @@ data: CSI_DB_SERVER: postgres #SPRING_JPA_DATABASE-PLATFORM: org.hibernate.dialect.Oracle10gDialect configserver: http://config-server + eureka_server: http://eureka:8761/eureka/ rootDomainName: cloudsol.lk SPRING_JPA_DATABASE-PLATFORM: org.hibernate.dialect.PostgreSQLDialect active_profile: java-dev diff --git a/configmaps/service-configs.yml b/configmaps/service-configs.yml index f38f09e..10209c1 100644 --- a/configmaps/service-configs.yml +++ b/configmaps/service-configs.yml @@ -53,12 +53,18 @@ data: db-driver: org.postgresql.Driver elasticsearch_host: elasticsearch elasticsearch_port: "9200" + eureka_healthURL: http://config-server:8888 + eureka_hostname: http://config-server:8888 + eureka_ip: eureka + eureka_port: "8888" + eureka_server: http://eureka:8761/eureka/ management_health_refresh_enabled: "false" mongo_port: "27017" mongo_server: mongo namespace: csi-uat net_environment: DEV rootDomainName: cloudsol.lk + svc_reg_addr: eureka ui_hostname: http://webserver-service CSI_ENV_PREFIX: DEV kind: ConfigMap