summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/test/resources/application.properties
diff options
context:
space:
mode:
Diffstat (limited to 'ms/generic-resource-api/src/test/resources/application.properties')
-rw-r--r--ms/generic-resource-api/src/test/resources/application.properties8
1 files changed, 4 insertions, 4 deletions
diff --git a/ms/generic-resource-api/src/test/resources/application.properties b/ms/generic-resource-api/src/test/resources/application.properties
index 3c8d91e..b397eb9 100644
--- a/ms/generic-resource-api/src/test/resources/application.properties
+++ b/ms/generic-resource-api/src/test/resources/application.properties
@@ -5,16 +5,16 @@ spring.jackson.date-format=org.onap.sdnc.apps.ms.gra.swagger.RFC3339DateFormat
spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
logging.level.com.att=TRACE
logging.level.org.onap=TRACE
-spring.datasource.url=jdbc:derby:memory:gra;create=true
+spring.datasource.url=jdbc:derby:memory:${MYSQL_DATABASE};create=true
spring.datasource.platform=derby
-spring.datasource.username=sdnc
-spring.datasource.password=abc123
+spring.datasource.username=${MYSQL_USER}
+spring.datasource.password=${MYSQL_PASSWORD}
spring.datasource.driver-class-name=org.apache.derby.jdbc.EmbeddedDriver
spring.datasource.testWhileIdle=true
spring.datasource.validationQuery=SELECT 1
spring.datasource.continue-on-error=true
spring.jpa.show-sql=false
-spring.jpa.properties.hibernate.default_schema=gra
+spring.jpa.properties.hibernate.default_schema=${MYSQL_DATABASE}
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
#spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl