From ed96cbab8f7956e01734536253721e099aad4627 Mon Sep 17 00:00:00 2001 From: "woo-jin.shin" Date: Mon, 22 Nov 2021 02:02:46 +0900 Subject: [PATCH] [NO-BTS] Change properties for production --- build.gradle | 5 ++++- processor/src/main/resources/application-development.yml | 2 +- processor/src/main/resources/application-production.yml | 2 +- processor/src/main/resources/production/webclient.yml | 2 +- receiver/src/main/resources/application-production.yml | 2 +- sender/src/main/resources/application-production.yml | 2 +- support/build.gradle | 8 ++++++++ 7 files changed, 17 insertions(+), 6 deletions(-) diff --git a/build.gradle b/build.gradle index c09e9f9..c5a593a 100644 --- a/build.gradle +++ b/build.gradle @@ -6,7 +6,7 @@ plugins { } group = 'com.myoa.engineering.crawl.ppomppu' -version = '0.0.1-SNAPSHOT' +version = '1.0.1' sourceCompatibility = '11' configurations { @@ -20,6 +20,9 @@ repositories { } allprojects { + group = 'com.myoa.engineering.crawl.ppomppu' + version = '1.0.1' + apply plugin: 'java' apply plugin: 'idea' apply plugin: 'org.springframework.boot' diff --git a/processor/src/main/resources/application-development.yml b/processor/src/main/resources/application-development.yml index 8ceb30d..6b19e76 100644 --- a/processor/src/main/resources/application-development.yml +++ b/processor/src/main/resources/application-development.yml @@ -3,7 +3,7 @@ spring: activate: on-profile: development import: - - "configserver:http://192.168.0.100:11080" + - "configserver:http://192.168.0.100:20085" - classpath:/development/webclient.yml diff --git a/processor/src/main/resources/application-production.yml b/processor/src/main/resources/application-production.yml index aa661d6..188f8f9 100644 --- a/processor/src/main/resources/application-production.yml +++ b/processor/src/main/resources/application-production.yml @@ -3,4 +3,4 @@ spring: activate: on-profile: production import: - - "configserver:http://192.168.0.100:11080" + - "configserver:http://ppn_config_server:20080" diff --git a/processor/src/main/resources/production/webclient.yml b/processor/src/main/resources/production/webclient.yml index 373ba18..92f1b9f 100644 --- a/processor/src/main/resources/production/webclient.yml +++ b/processor/src/main/resources/production/webclient.yml @@ -2,4 +2,4 @@ webclient: init: true units: - unit-name: ppn-sender-api - base-url: http://ppn_sender:20082 \ No newline at end of file + base-url: http://ppn_sender:20080 \ No newline at end of file diff --git a/receiver/src/main/resources/application-production.yml b/receiver/src/main/resources/application-production.yml index 831bcb9..471968a 100644 --- a/receiver/src/main/resources/application-production.yml +++ b/receiver/src/main/resources/application-production.yml @@ -4,4 +4,4 @@ spring: on-profile: production import: - classpath:/production/webclient.yml - - "configserver:http://192.168.0.100:11080" \ No newline at end of file + - "configserver:http://ppn_config_server:20080" \ No newline at end of file diff --git a/sender/src/main/resources/application-production.yml b/sender/src/main/resources/application-production.yml index aa661d6..188f8f9 100644 --- a/sender/src/main/resources/application-production.yml +++ b/sender/src/main/resources/application-production.yml @@ -3,4 +3,4 @@ spring: activate: on-profile: production import: - - "configserver:http://192.168.0.100:11080" + - "configserver:http://ppn_config_server:20080" diff --git a/support/build.gradle b/support/build.gradle index 42415c5..81d2bcc 100644 --- a/support/build.gradle +++ b/support/build.gradle @@ -12,4 +12,12 @@ test { testLogging { events "passed", "skipped", "failed" } +} + +jar { + enabled = true +} + +bootJar { + enabled = false } \ No newline at end of file