[NO-ISSUE] Fix application properties

This commit is contained in:
woo-jin.shin 2021-11-22 02:18:25 +09:00
parent ed96cbab8f
commit 9adcecb04f
10 changed files with 18 additions and 37 deletions

View File

@ -6,9 +6,9 @@ spring:
profiles: profiles:
active: ${SPRING_ACTIVE_PROFILE:local} active: ${SPRING_ACTIVE_PROFILE:local}
group: group:
local: "local,datasource-local" local: "local,datasource-local,webclient-local"
development: "development,datasource-development" development: "development,datasource-development,webclient-development"
production: "production, datasource-production" production: "production, datasource-production,webclient-production"
freemarker: freemarker:
enabled: false enabled: false

View File

@ -1,5 +0,0 @@
webclient:
init: true
units:
- unit-name: ppn-sender-api
base-url: http://localhost:20082

View File

@ -1,5 +0,0 @@
webclient:
init: true
units:
- unit-name: ppn-sender-api
base-url: http://localhost:20082

View File

@ -1,5 +0,0 @@
webclient:
init: true
units:
- unit-name: ppn-sender-api
base-url: http://ppn_sender:20080

View File

@ -9,6 +9,7 @@ dependencies {
implementation 'org.springframework.boot:spring-boot-starter-webflux' implementation 'org.springframework.boot:spring-boot-starter-webflux'
implementation 'org.springframework.boot:spring-boot-configuration-processor' implementation 'org.springframework.boot:spring-boot-configuration-processor'
implementation 'org.springframework.cloud:spring-cloud-starter-config' implementation 'org.springframework.cloud:spring-cloud-starter-config'
implementation 'org.springframework.boot:spring-boot-starter-actuator'
implementation 'org.telegram:telegrambots:5.3.0' implementation 'org.telegram:telegrambots:5.3.0'
annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor' annotationProcessor 'org.springframework.boot:spring-boot-configuration-processor'

View File

@ -5,6 +5,10 @@ spring:
allow-bean-definition-overriding: true allow-bean-definition-overriding: true
profiles: profiles:
active: ${SPRING_ACTIVE_PROFILE:local} active: ${SPRING_ACTIVE_PROFILE:local}
group:
local: "local,webclient-local"
development: "development,webclient-development"
production: "production,webclient-production"
freemarker: freemarker:
enabled: false enabled: false
@ -12,4 +16,10 @@ server:
port: 20080 port: 20080
error: error:
whitelabel: whitelabel:
enabled: false enabled: false
management:
endpoints:
web:
exposure:
include: refresh

View File

@ -1,5 +0,0 @@
webclient:
init: true
units:
- unit-name: ppn-processor-api
base-url: http://localhost:20081

View File

@ -1,5 +0,0 @@
webclient:
init: true
units:
- unit-name: ppn-processor-api
base-url: http://localhost:20081

View File

@ -1,5 +0,0 @@
webclient:
init: true
units:
- unit-name: ppn-processor-api
base-url: http://ppn_processor:20080

View File

@ -6,9 +6,9 @@ spring:
profiles: profiles:
active: ${SPRING_ACTIVE_PROFILE:local} active: ${SPRING_ACTIVE_PROFILE:local}
group: group:
local: local, slackapi-local local: "local,slackapi-local,webclient-local"
development: development, slackapi-development development: "development,slackapi-development,webclient-development"
production: production, slackapi-production production: "production,slackapi-production,webclient-production"
freemarker: freemarker:
enabled: false enabled: false