From 098022b43e616d3c85a18d19801a2d2906cd6f85 Mon Sep 17 00:00:00 2001 From: Juhan Aasaru Date: Sat, 12 Oct 2019 16:25:34 +0300 Subject: [PATCH 1/2] FINCN-180 remove tenant-specific data source from configuration --- service/src/main/resources/application.yml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml index e087355..d196736 100644 --- a/service/src/main/resources/application.yml +++ b/service/src/main/resources/application.yml @@ -23,11 +23,6 @@ spring: enabled: false config: enabled: false - datasource: - driver-class-name: org.postgresql.Driver - url: jdbc:postgresql://localhost:5432/playground - username: postgres - password: postgres eureka: client: From 159cde2cfd4f465406d4cb9af1b0bbd5731261ee Mon Sep 17 00:00:00 2001 From: Juhan Aasaru Date: Thu, 17 Oct 2019 10:03:14 +0300 Subject: [PATCH 2/2] FINCN-183 tell context path to eureka --- service/src/main/resources/application.yml | 2 ++ shared.gradle | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/service/src/main/resources/application.yml b/service/src/main/resources/application.yml index d196736..be472cd 100644 --- a/service/src/main/resources/application.yml +++ b/service/src/main/resources/application.yml @@ -28,6 +28,8 @@ eureka: client: serviceUrl: defaultZone: http://localhost:8761/eureka/ + instance: + homePageUrl: "http://${eureka.hostname}:2029/reporting/v1/" server: port: 2029 diff --git a/shared.gradle b/shared.gradle index fd04264..6cde945 100644 --- a/shared.gradle +++ b/shared.gradle @@ -83,7 +83,7 @@ artifactory { } } } -artifactoryPublish.dependsOn('clean','publishToMavenLocal') +artifactoryPublish.dependsOn('publishToMavenLocal') license { header rootProject.file('../HEADER')