JAVA-8649: removing bootstrap.properties in spring-cloud-bus module

This commit is contained in:
chaos2418 2021-12-05 20:59:15 +05:30
parent c040b702c5
commit 9d62c835c5
5 changed files with 18 additions and 14 deletions

View File

@ -1,5 +1,11 @@
--- ---
spring: spring:
application:
name: config-client
profiles:
active: development
config:
import: configserver:http://root:s3cr3t@localhost:8888
rabbitmq: rabbitmq:
host: localhost host: localhost
port: 5672 port: 5672
@ -10,8 +16,12 @@ spring:
enabled: true enabled: true
refresh: refresh:
enabled: true enabled: true
config:
fail-fast: true
management: management:
endpoints: endpoints:
web: web:
exposure: exposure:
include: "*" include: "*"
security:
enabled: false

View File

@ -1,7 +0,0 @@
spring.application.name=config-client
spring.profiles.active=development
spring.cloud.config.uri=http://localhost:8888
spring.cloud.config.username=root
spring.cloud.config.password=s3cr3t
spring.cloud.config.fail-fast=true
management.security.enabled=false

View File

@ -6,4 +6,9 @@ spring.security.user.password=s3cr3t
spring.rabbitmq.host=localhost spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672 spring.rabbitmq.port=5672
spring.rabbitmq.username=guest spring.rabbitmq.username=guest
spring.rabbitmq.password=guest spring.rabbitmq.password=guest
encrypt.key-store.location=classpath:/config-server.jks
encrypt.key-store.password=my-s70r3-s3cr3t
encrypt.key-store.alias=config-server-key
encrypt.key-store.secret=my-k34-s3cr3t

View File

@ -1,4 +0,0 @@
encrypt.key-store.location=classpath:/config-server.jks
encrypt.key-store.password=my-s70r3-s3cr3t
encrypt.key-store.alias=config-server-key
encrypt.key-store.secret=my-k34-s3cr3t

View File

@ -1,3 +1,3 @@
spring.application.name=config-client spring.application.name=config-client
spring.profiles.active=development spring.profiles.active=development
spring.config.import=optional:configserver:http://root:s3cr3t@localhost:8888 spring.config.import=optional:configserver:http://root:s3cr3t@localhost:8888