summaryrefslogtreecommitdiffstats
path: root/sliapi/springboot/src/test/resources/application.properties
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-03-24 14:30:24 -0400
committerDan Timoney <dtimoney@att.com>2020-03-26 10:30:45 -0400
commitb80471e4f68e6d5ba670d03b12b92029e58c0bc7 (patch)
tree055f386987f8972585ea509ebe3a8cc1bd72ba6f /sliapi/springboot/src/test/resources/application.properties
parentaee68f0187cbd919ffb544cdd00653d02fd7e991 (diff)
Use MariaDB instead of Derby
Use MariaDB instead of Derby as backing store for sliboot Change-Id: Ib9fa4abaaf88bcb1eac2276bc974474f067a06d3 Issue-ID: CCSDK-2188 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'sliapi/springboot/src/test/resources/application.properties')
-rw-r--r--sliapi/springboot/src/test/resources/application.properties18
1 files changed, 18 insertions, 0 deletions
diff --git a/sliapi/springboot/src/test/resources/application.properties b/sliapi/springboot/src/test/resources/application.properties
new file mode 100644
index 000000000..dbe2633d4
--- /dev/null
+++ b/sliapi/springboot/src/test/resources/application.properties
@@ -0,0 +1,18 @@
+springfox.documentation.swagger.v2.path=/api-docs
+server.contextPath=/restconf
+server.port=8080
+spring.jackson.date-format=org.onap.ccsdk.sli.core.sliapi.springboot.controllers.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:sdnctl;create=true
+spring.datasource.username=sli
+spring.datasource.password=abc123
+spring.datasource.driver-class-name=org.apache.derby.jdbc.EmbeddedDriver
+spring.datasource.testWhileIdle=true
+spring.datasource.validationQuery=SELECT 1
+spring.jpa.show-sql=true
+spring.jpa.hibernate.ddl-auto=update
+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.database=derby \ No newline at end of file