add data source config to service a and b

This commit is contained in:
esmailian
2025-04-29 12:27:17 +03:30
parent 8e34521079
commit aac658e46d
2 changed files with 20 additions and 8 deletions

View File

@ -2,10 +2,15 @@ server:
port: 8085 port: 8085
spring: spring:
datasource: datasource:
driver-class-name: org.postgresql.Driver driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:postgresql://85.198.8.43:7832/mmrztest url: jdbc:oracle:thin:@//localhost:1521
username: mmrz username: test
password: fEWp7g44rHf8 password: test
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://85.198.8.43:7832/mmrztest
# username: mmrz
# password: fEWp7g44rHf8
# Uncomment below to use localhost config instead # Uncomment below to use localhost config instead
# url: jdbc:postgresql://localhost:5432/version # url: jdbc:postgresql://localhost:5432/version
# username: cloud # username: cloud
@ -16,6 +21,7 @@ spring:
liquibase: liquibase:
change-log: classpath:db/changelog/liquibase-master.xml change-log: classpath:db/changelog/liquibase-master.xml
default-schema: TEST
sql: sql:
init: init:

View File

@ -2,10 +2,15 @@ server:
port: 8087 port: 8087
spring: spring:
datasource: datasource:
driver-class-name: org.postgresql.Driver driver-class-name: oracle.jdbc.OracleDriver
url: jdbc:postgresql://85.198.8.43:7832/mmrztest url: jdbc:oracle:thin:@//localhost:1521
username: mmrz username: test2
password: fEWp7g44rHf8 password: test2
# datasource:
# driver-class-name: org.postgresql.Driver
# url: jdbc:postgresql://85.198.8.43:7832/mmrztest
# username: mmrz
# password: fEWp7g44rHf8
# Uncomment below to use localhost config instead # Uncomment below to use localhost config instead
# url: jdbc:postgresql://localhost:5432/version # url: jdbc:postgresql://localhost:5432/version
# username: cloud # username: cloud
@ -16,6 +21,7 @@ spring:
liquibase: liquibase:
change-log: classpath:db/changelog/liquibase-master.xml change-log: classpath:db/changelog/liquibase-master.xml
default-schema: TEST2
sql: sql:
init: init: