summaryrefslogtreecommitdiffstats
path: root/portal-BE/src/main/resources/application.properties
diff options
context:
space:
mode:
authorDominik Mizyn <d.mizyn@samsung.com>2019-08-20 13:29:19 +0200
committerDominik Mizyn <d.mizyn@samsung.com>2019-08-21 18:03:14 +0200
commitbe4683266e746536beba8afb428a74fe2c2a238c (patch)
tree630a46a5b88bab6422864cc168f9ef3fb89835d2 /portal-BE/src/main/resources/application.properties
parentb127daea0b73c4f2b08441b535d99001df02e56b (diff)
Portal Spring Boot Development
Spring Security/Session up Issue-ID: PORTAL-710 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com> Change-Id: I1d2aa22977d5eff43fd9f7e6a964b9446e26593f
Diffstat (limited to 'portal-BE/src/main/resources/application.properties')
-rw-r--r--portal-BE/src/main/resources/application.properties22
1 files changed, 14 insertions, 8 deletions
diff --git a/portal-BE/src/main/resources/application.properties b/portal-BE/src/main/resources/application.properties
index 27893d81..eb346eef 100644
--- a/portal-BE/src/main/resources/application.properties
+++ b/portal-BE/src/main/resources/application.properties
@@ -1,10 +1,16 @@
+server.port=8090
+
+spring.datasource.url=jdbc:mysql://localhost:3306/testdb?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.jpa.database-platform=org.hibernate.dialect.MariaDBDialect
+spring.jpa.hibernate.ddl-auto=update
spring.jpa.database=mysql
spring.jpa.show-sql=true
-spring.jpa.hibernate.ddl-auto=update
-spring.h2.console.enabled=true
-spring.datasource.url=jdbc:h2:mem:testdb
-spring.datasource.driverClassName=org.h2.Driver
-spring.datasource.username=sa
-spring.datasource.password=password
-spring.datasource.initialization-mode=always
-spring.jpa.database-platform=org.hibernate.dialect.H2Dialect \ No newline at end of file
+
+spring.jooq.sql-dialect=MARIADB