summaryrefslogtreecommitdiffstats
path: root/ms/generic-resource-api/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2020-06-08 12:16:24 -0400
committerDan Timoney <dtimoney@att.com>2020-06-19 14:15:10 -0400
commitd99e2dfa5c1db6daed4e98ea208089969a0867cf (patch)
tree9c4cdfdfff13d37f184cb4f1aa86a6d23bebf6f1 /ms/generic-resource-api/src/main/resources/application.properties
parent5563f521d8ca0b38f93d51246d2aea8c6648c3a4 (diff)
Implement GRA preload and service data objects
Implements CRUD operations and RPCs for GRA preload data, as well as adding data object for service-data. Change-Id: I93d268e7f1cfbcd4e839e122f72ce02928dad807 Issue-ID: SDNC-1205 Issue-ID: SDNC-1209 Issue-ID: SDNC-1210 Issue-ID: SDNC-1213 Signed-off-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'ms/generic-resource-api/src/main/resources/application.properties')
-rw-r--r--ms/generic-resource-api/src/main/resources/application.properties20
1 files changed, 20 insertions, 0 deletions
diff --git a/ms/generic-resource-api/src/main/resources/application.properties b/ms/generic-resource-api/src/main/resources/application.properties
new file mode 100644
index 0000000..1c1b867
--- /dev/null
+++ b/ms/generic-resource-api/src/main/resources/application.properties
@@ -0,0 +1,20 @@
+springfox.documentation.swagger.v2.path=/api-docs
+server.servlet.context-path=/restconf
+server.port=8080
+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:mariadb://${MYSQL_DB_HOST}:3306/sdnctl
+spring.datasource.username=sdnc
+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.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
+spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
+
+spring.jpa.database=mysql \ No newline at end of file