diff --git a/pom.xml b/pom.xml index 38b6797bb8b1beaaf2f172063bded18500a08119..8f9b9d6a8bb4f61b2498506928cd7380ceef7908 100644 --- a/pom.xml +++ b/pom.xml @@ -56,6 +56,13 @@ <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-oauth2-resource-server</artifactId> </dependency> + + <dependency> + <groupId>org.postgresql</groupId> + <artifactId>postgresql</artifactId> + <version>42.6.0</version> + </dependency> + </dependencies> <build> diff --git a/target/classes/application.properties b/target/classes/application.properties index 217b42dadaddc8889ec80d40340c74aabf9dbee4..dced60aeaf842055576077ca8aa8073107867656 100644 --- a/target/classes/application.properties +++ b/target/classes/application.properties @@ -1 +1,17 @@ -domain.domain = "localhost:5334"; \ No newline at end of file + +# Database connection settings +spring.datasource.url=jdbc:postgres://smartmat_user:Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC@dpg-cgv5710dh87i4q0fd1b0-a.frankfurt-postgres.render.com/smartmat +spring.datasource.username=smartmat_user +spring.datasource.password=Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC +spring.datasource.driver-class-name=org.postgresql.Driver + +## info + +# Hostname: dpg-cgv5710dh87i4q0fd1b0-a +# Port: 5432 +# Database: smartmat +# Username: smartmat_user +# Password: Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC +# Internal Database URl (from render): postgres://smartmat_user:Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC@dpg-cgv5710dh87i4q0fd1b0-a/smartmat +# External Database URL: postgres://smartmat_user:Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC@dpg-cgv5710dh87i4q0fd1b0-a.frankfurt-postgres.render.com/smartmat +# PSQL Command: PGPASSWORD=Eyhs1OJxyZC56NQCrV7yAolEk9AkLAsC psql -h dpg-cgv5710dh87i4q0fd1b0-a.frankfurt-postgres.render.com -U smartmat_user smartmat \ No newline at end of file diff --git a/target/classes/ntnu/idatt2016/v233/SmartMat/SmartMatApplication.class b/target/classes/ntnu/idatt2016/v233/SmartMat/SmartMatApplication.class index 08daf566bdd0df641c7e811e2467f06974cf8deb..21dd07f2e3ea48196f82b7fa1d63172f39e2f0ff 100644 Binary files a/target/classes/ntnu/idatt2016/v233/SmartMat/SmartMatApplication.class and b/target/classes/ntnu/idatt2016/v233/SmartMat/SmartMatApplication.class differ