Merge pull request #11536 from chaos2418/JAVA-8649-1

JAVA-8649: updating spring-cloud release train version in spring-cloud-vault and removing bootstrap.yml
This commit is contained in:
kwoyke 2021-12-06 10:48:38 +01:00 committed by GitHub
commit dcca770369
3 changed files with 35 additions and 49 deletions

View File

@ -78,7 +78,7 @@
</build> </build>
<properties> <properties>
<spring-cloud.version>Greenwich.RELEASE</spring-cloud.version> <spring-cloud.version>2020.0.3</spring-cloud.version>
</properties> </properties>
</project> </project>

View File

@ -1,11 +1,34 @@
spring: spring:
application: application:
name: fakebank name: fakebank
datasource:
datasource: url: jdbc:mysql://localhost:3306/fakebank?serverTimezone=GMT-3
url: jdbc:mysql://localhost:3306/fakebank?serverTimezone=GMT-3 hikari:
hikari: connection-test-query: select 1 connection-test-query: select 1
idle-timeout: 5000 idle-timeout: 5000
max-lifetime: 120000 max-lifetime: 120000
maximum-pool-size: 5 maximum-pool-size: 5
minimum-idle: 5 minimum-idle: 5
cloud:
vault:
uri: https://localhost:8200
connection-timeout: 5000
read-timeout: 15000
ssl:
trust-store: classpath:/vault.jks
trust-store-password: changeit
generic:
enabled: true
application-name: fakebank
# kv:
# enabled: false
# backend: kv
# application-name: fakebank
database:
enabled: true
role: fakebank-accounts-ro
backend: database
username-property: spring.datasource.username
password-property: spring.datasource.password
config:
import: vault://

View File

@ -1,37 +0,0 @@
spring:
cloud:
vault:
uri: https://localhost:8200
connection-timeout: 5000
read-timeout: 15000
ssl:
trust-store: classpath:/vault.jks
trust-store-password: changeit
generic:
enabled: true
application-name: fakebank
# kv:
# enabled: false
# backend: kv
# application-name: fakebank
#
database:
enabled: true
role: fakebank-accounts-rw
backend: database
username-property: spring.datasource.username
password-property: spring.datasource.password
#
#