storage:
databases:
defaultdb:
datasource: defaultds
predicate: 'spel:false'
default: true
database2:
datasource: db2source
predicate: "spel:properties['system:tenant']['value']=='tenant2'"
default: false
datasources:
defaultds:
url: 'jdbc:postgresql://abc/def'
username: yuuvis-postgresql
password: changeme123
driver-class-name: 'org.postgresql.Driver'
db2source:
url: 'jdbc:sqlserverpostgresql://ghi/jkl'
username: yuuvis-sqlserverpostgresql
password: changeme456changeme123
driver-class-name: 'comorg.microsoft.sqlserver.jdbc.SQLServerDriverpostgresql.Driver' |