summaryrefslogtreecommitdiffstats
path: root/ms/sliboot/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-06-05 15:46:39 -0400
committerKAPIL SINGAL <ks220y@att.com>2020-06-09 14:24:12 +0000
commit31172d602ff8bce4b4680c3a2da58b6db2e8d9f0 (patch)
treebf66bc083d8f1a46c17132c990c7e725e828514d /ms/sliboot/src/main/resources/application.properties
parentc2fac23347ee5dd3f8b6e3180a0206eb979b965e (diff)
Refactor sliapi springboot
Moved sli-api springboot microservice from ccsdk/sli/core to ccsdk/apps Change-Id: Ibecae568cf90b71575403052111e7be9ff543376 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/sliboot/src/main/resources/application.properties')
-rw-r--r--ms/sliboot/src/main/resources/application.properties27
1 files changed, 27 insertions, 0 deletions
diff --git a/ms/sliboot/src/main/resources/application.properties b/ms/sliboot/src/main/resources/application.properties
new file mode 100644
index 00000000..98a2523c
--- /dev/null
+++ b/ms/sliboot/src/main/resources/application.properties
@@ -0,0 +1,27 @@
+springfox.documentation.swagger.v2.path=/api-docs
+server.servlet.context-path=/restconf
+server.port=8080
+# Uncomment following lines for https config
+#server.port=8443
+#server.ssl.key-store=${CCSDK_CONFIG_DIR}/org.onap.sdnc.p12
+#server.ssl.key-store-password=ff^G9D]yf&r}Ktum@BJ0YB?N
+#server.ssl.key-store-type=pkcs12
+#server.ssl.key-alias=sdnc@sdnc.onap.org
+# END OF https config
+# Uncomment the following line to enable AAF integration
+#cadi_prop_files=${CCSDK_CONFIG_DIR}/org.onap.sdnc.props
+spring.jackson.date-format=org.onap.ccsdk.apps.ms.sliboot.swagger.RFC3339DateFormat
+spring.jackson.serialization.WRITE_DATES_AS_TIMESTAMPS=false
+logging.level.com.att=TRACE
+logging.level.org.onap=TRACE
+spring.datasource.url=jdbc:mariadb://${MYSQL_DB_HOST}:3306/sdnctl
+spring.datasource.username=sli
+spring.datasource.password=abc123
+spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
+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.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
+spring.jpa.database=mysql \ No newline at end of file