From 782b544e040de0c47f7c38ee7ef537f32fad0396 Mon Sep 17 00:00:00 2001 From: RubenPuigMoreno Date: Sun, 5 Dec 2021 19:26:21 +0100 Subject: [PATCH] feat: modificacion config --- config/application.properties | 13 ++++++++++++- config/servicio-compras.properties | 10 ---------- config/servicio-personas.properties | 10 ---------- config/servicio-productos.properties | 10 ---------- 4 files changed, 12 insertions(+), 31 deletions(-) delete mode 100644 config/servicio-compras.properties delete mode 100644 config/servicio-personas.properties delete mode 100644 config/servicio-productos.properties diff --git a/config/application.properties b/config/application.properties index 4c29dfe..70a26d5 100644 --- a/config/application.properties +++ b/config/application.properties @@ -1,3 +1,14 @@ config.security.oauth.client.id=frontendapp config.security.oauth.client.secret=12345 -config.security.oauth.jwt.key=12345 \ No newline at end of file +config.security.oauth.jwt.key=12345 + +spring.datasource.url=jdbc:postgresql://localhost:5432/db_ecommerce +spring.datasource.username=postgres +spring.datasource.password=ruben +spring.datasource.driver-class-name=org.postgresql.Driver +spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL95Dialect +spring.jpa.hibernate.ddl-auto=create + +logging.level.org.hibernate.SQL=debug + +spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true \ No newline at end of file diff --git a/config/servicio-compras.properties b/config/servicio-compras.properties deleted file mode 100644 index 4d160fb..0000000 --- a/config/servicio-compras.properties +++ /dev/null @@ -1,10 +0,0 @@ -spring.datasource.url=jdbc:postgresql://localhost:5432/db_ecommerce -spring.datasource.username=postgres -spring.datasource.password=ruben -spring.datasource.driver-class-name=org.postgresql.Driver -spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL95Dialect -spring.jpa.hibernate.ddl-auto=create - -logging.level.org.hibernate.SQL=debug - -spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true \ No newline at end of file diff --git a/config/servicio-personas.properties b/config/servicio-personas.properties deleted file mode 100644 index 4d160fb..0000000 --- a/config/servicio-personas.properties +++ /dev/null @@ -1,10 +0,0 @@ -spring.datasource.url=jdbc:postgresql://localhost:5432/db_ecommerce -spring.datasource.username=postgres -spring.datasource.password=ruben -spring.datasource.driver-class-name=org.postgresql.Driver -spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL95Dialect -spring.jpa.hibernate.ddl-auto=create - -logging.level.org.hibernate.SQL=debug - -spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true \ No newline at end of file diff --git a/config/servicio-productos.properties b/config/servicio-productos.properties deleted file mode 100644 index d011abd..0000000 --- a/config/servicio-productos.properties +++ /dev/null @@ -1,10 +0,0 @@ -spring.datasource.url=jdbc:postgresql://localhost:5432/db_springboot_cloud -spring.datasource.username=postgres -spring.datasource.password=sasa -spring.datasource.driver-class-name=org.postgresql.Driver -spring.jpa.database-platform=org.hibernate.dialect.PostgreSQL95Dialect -spring.jpa.hibernate.ddl-auto=create - -logging.level.org.hibernate.SQL=debug - -spring.jpa.properties.hibernate.jdbc.lob.non_contextual_creation=true \ No newline at end of file