From 66b3bfa72115e36913b4bb08ff88f73ac3683274 Mon Sep 17 00:00:00 2001 From: andyjk15 Date: Sat, 1 Feb 2020 09:34:17 +0000 Subject: [PATCH] [01.02.20] Removal of unused dependancy and base config of postgres local connection --- pom.xml | 20 ++++---------------- src/main/resources/application.properties | 10 ++++++++++ 2 files changed, 14 insertions(+), 16 deletions(-) diff --git a/pom.xml b/pom.xml index 38ee685..221529c 100644 --- a/pom.xml +++ b/pom.xml @@ -34,10 +34,6 @@ org.springframework.boot spring-boot-starter-websocket - - org.springframework.cloud - spring-cloud-starter-gateway - @@ -101,18 +97,6 @@ - - - - org.springframework.cloud - spring-cloud-dependencies - ${spring-cloud.version} - pom - import - - - - Cryptosky DB Gateway @@ -134,6 +118,10 @@ 1.8 + + maven-war-plugin + 3.1.0 + \ No newline at end of file diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index e69de29..a51c10e 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -0,0 +1,10 @@ +server.port=9090 +spring.jpa.database=POSTGRESQL +spring.datasource.platform=postgres +spring.datasource.url=jdbc:postgresql://localhost:5432/postgres +spring.datasource.username=postgres +spring.datasource.password=root +spring.jpa.show-sql=true +spring.jpa.generate-ddl=true +spring.jpa.hibernate.ddl-auto=create-drop +spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true \ No newline at end of file