From 3e68599d1433c0200d20332c6bda3b2cfcf2dd93 Mon Sep 17 00:00:00 2001 From: Dan Timoney Date: Fri, 26 Mar 2021 09:57:35 -0400 Subject: Refactor CRUD to new table structure Refactor operations on config tree to use new table structure for service/network/vnf/vf-module data. Change-Id: I2e673dfb7bd335e48a3bcf212399d021d37dd9ee Issue-ID: SDNC-1481 Signed-off-by: Dan Timoney --- ms/generic-resource-api/src/test/resources/application.properties | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ms/generic-resource-api/src/test/resources/application.properties') 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 -- cgit 1.2.3-korg