summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main/resources/application.properties
diff options
context:
space:
mode:
authorManoop Talasila <talasila@research.att.com>2019-09-16 15:50:47 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-16 15:50:47 +0000
commit99a220e3fccdabca5c5d1f63582a77a0379ac057 (patch)
treeae04eb1f1b17b1e7b0c80704d291df3e09d3baa9 /portal-BE/src/main/resources/application.properties
parent510f243992dc434f51178d1797a8045de839c25f (diff)
parentbfb078b48e3558777b60a91775ea3c239a1f3a05 (diff)
Merge changes Ia1e5c405,Ie890b499,Ie8b58f17,I76c96d30,I7814f090, ...
* changes: WidgetsControllerTest up WidgetsCatalogController up WidgetsCatalogMarkupController up WidgetsController Up WidgetsController Up WidgetsController Up portal-BE documentation up Docker-compose up Coverity Scan issues fix
Diffstat (limited to 'portal-BE/src/main/resources/application.properties')
-rw-r--r--portal-BE/src/main/resources/application.properties13
1 files changed, 9 insertions, 4 deletions
diff --git a/portal-BE/src/main/resources/application.properties b/portal-BE/src/main/resources/application.properties
index e31dcc30..30c0beeb 100644
--- a/portal-BE/src/main/resources/application.properties
+++ b/portal-BE/src/main/resources/application.properties
@@ -1,16 +1,21 @@
server.port=8080
-spring.datasource.url=jdbc:mysql://localhost:3306/testdb?useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
+spring.datasource.url=jdbc:mysql://portal-db:3306/testdb?createDatabaseIfNotExist=true&useUnicode=true&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
spring.datasource.driverClassName=com.mysql.cj.jdbc.Driver
spring.datasource.initialization-mode=always
spring.session.jdbc.initialize-schema=always
spring.datasource.continueOnError=true
-spring.datasource.username=root
-spring.datasource.password=root
+spring.datasource.username=portal
+spring.datasource.password=Test123456
+log4j.logger.org.hibernate=info
+
+#H2 config
+spring.h2.console.settings.web-allow-others=true
+spring.h2.console.enabled=true
spring.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
spring.jpa.hibernate.ddl-auto=update
spring.jpa.database=mysql
spring.jpa.show-sql=true
-spring.jooq.sql-dialect=MARIADB
+spring.jooq.sql-dialect=MARIADB \ No newline at end of file