-
Feature
-
Resolution: Done
-
Major
-
fuse-7.x-GA
-
0
-
0%
-
Todo
The current way of specifying datasource settings for dv-operator is like this:
env: - name: SPRING_DATASOURCE_SAMPLEDB_USERNAME value: user - name: SPRING_DATASOURCE_SAMPLEDB_PASSWORD value: mypassword - name: SPRING_DATASOURCE_SAMPLEDB_DATABASENAME value: sampledb - name: SPRING_DATASOURCE_SAMPLEDB_JDBCURL value: jdbc:postgresql://postgresql/$(SPRING_DATASOURCE_SAMPLEDB_DATABASENAME)
The SAMPLEDB part of each env var name is the name of the datasource, and this needs to match across all the env vars.
I propose a more user-friendly format:
datasources: - sampledb: user: user password: mypassword jdbc-url: jdbc:postgresql://postgresql/$(DATABASENAME) database-name: sampledb
The operator could convert this format into the env vars as above and supply directly to teiid-spring-boot
- relates to
-
TEIIDSB-186 Fix to use only use alias name from ExternalSource
- Resolved