summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/test/resources
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-10-27 16:47:24 -0400
committerDan Timoney <dtimoney@att.com>2020-10-27 16:47:24 -0400
commit370f5fe6f8c90bb35a9529f19d862e63a2cf8b9d (patch)
treea47de0f116057f88c912bd0e32a0818cfbfb962d /ms/generic-resource-api/src/test/resources
parent9b90144c883eb42937f601f9e8ea32c4895fc072 (diff)
Import SLI-API controller
Import sliboot controller to implement SLI-API interface. Change-Id: Iea85a9cb128366fa0f580852d9f2fa71405a4bad Issue-ID: SDNC-1400 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/test/resources')
-rw-r--r--ms/generic-resource-api/src/test/resources/application.properties5
-rw-r--r--ms/generic-resource-api/src/test/resources/dblib.properties8
-rw-r--r--ms/generic-resource-api/src/test/resources/svclogic.properties6
3 files changed, 10 insertions, 9 deletions
diff --git a/ms/generic-resource-api/src/test/resources/application.properties b/ms/generic-resource-api/src/test/resources/application.properties
index 807719e..a3a99b8 100644
--- a/ms/generic-resource-api/src/test/resources/application.properties
+++ b/ms/generic-resource-api/src/test/resources/application.properties
@@ -5,13 +5,14 @@ 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:sdnctl;create=true
+spring.datasource.url=jdbc:derby:memory:gra;create=true
spring.datasource.platform=derby
-spring.datasource.username=sdnctl
+spring.datasource.username=sdnc
spring.datasource.password=abc123
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=true
spring.jpa.hibernate.ddl-auto=update
spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
diff --git a/ms/generic-resource-api/src/test/resources/dblib.properties b/ms/generic-resource-api/src/test/resources/dblib.properties
index 198a00c..27923aa 100644
--- a/ms/generic-resource-api/src/test/resources/dblib.properties
+++ b/ms/generic-resource-api/src/test/resources/dblib.properties
@@ -23,12 +23,12 @@
org.onap.ccsdk.sli.dbtype=jdbc
org.onap.ccsdk.sli.jdbc.hosts=localhost
-org.onap.ccsdk.sli.jdbc.url=jdbc:derby:memory:sdnctl;create=true
+org.onap.ccsdk.sli.jdbc.url=jdbc:derby:memory:gra;create=true
org.onap.ccsdk.sli.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver
-org.onap.ccsdk.sli.jdbc.database = sdnctl
-org.onap.ccsdk.sli.jdbc.user = sdnctl
+org.onap.ccsdk.sli.jdbc.database = gra
+org.onap.ccsdk.sli.jdbc.user = sdnc
org.onap.ccsdk.sli.jdbc.password = abc123
-org.onap.ccsdk.sli.jdbc.connection.name=sdnctldb01
+org.onap.ccsdk.sli.jdbc.connection.name=gradb01
org.onap.ccsdk.sli.jdbc.connection.timeout=50
org.onap.ccsdk.sli.jdbc.request.timeout=100
org.onap.ccsdk.sli.jdbc.limit.init=10
diff --git a/ms/generic-resource-api/src/test/resources/svclogic.properties b/ms/generic-resource-api/src/test/resources/svclogic.properties
index 8f5243e..acbf8d0 100644
--- a/ms/generic-resource-api/src/test/resources/svclogic.properties
+++ b/ms/generic-resource-api/src/test/resources/svclogic.properties
@@ -20,10 +20,10 @@
###
org.onap.ccsdk.sli.dbtype = jdbc
-org.onap.ccsdk.sli.jdbc.url=jdbc:derby:memory:sdnctl;create=true
+org.onap.ccsdk.sli.jdbc.url=jdbc:derby:memory:gra;create=true
org.onap.ccsdk.sli.jdbc.driver=org.apache.derby.jdbc.EmbeddedDriver
-org.onap.ccsdk.sli.jdbc.database = sdnctl
-org.onap.ccsdk.sli.jdbc.user = sdnctl
+org.onap.ccsdk.sli.jdbc.database = gra
+org.onap.ccsdk.sli.jdbc.user = sdnc
org.onap.ccsdk.sli.jdbc.password = abc123
serviceLogicDirectory=target/docker-stage/opt/onap/sdnc/svclogic/graphs/generic-resource-api