From befd86cacbdd845879fc7009cb827225ea675fba Mon Sep 17 00:00:00 2001 From: harish Date: Tue, 24 Sep 2024 18:08:43 +0530 Subject: [PATCH 1/5] Configure production properties in application_prod.properties --- Jenkinsfile | 2 +- src/main/resources/application-production.properties | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/application-production.properties diff --git a/Jenkinsfile b/Jenkinsfile index 968d3a2b..d488b39e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -56,7 +56,7 @@ pipeline { } } script { - sh 'ssh ubuntu@46.105.65.89 "sh gepafin-production-api.sh"' + sh 'ssh ubuntu@79.137.88.15 "sh gepafin-production-api.sh"' } } } diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties new file mode 100644 index 00000000..2132264d --- /dev/null +++ b/src/main/resources/application-production.properties @@ -0,0 +1,11 @@ +# DataSource Configuration +spring.datasource.url=jdbc:postgresql://79.137.88.14:21543/gepaDb +spring.datasource.username=usergepa +spring.datasource.password=nRHMi7esdgHJiIm3L5ctrSJ0 +spring.datasource.driver-class-name=org.postgresql.Driver + +# JPA Configuration +spring.h2.console.enabled=true +base-url=https://api-dev-gepafin.memento.credit + +isVatCheckGloballyDisabled = false From 30061c514ddc97a434f64dca9a5314761fb03180 Mon Sep 17 00:00:00 2001 From: harish Date: Wed, 25 Sep 2024 11:59:42 +0530 Subject: [PATCH 2/5] Updated code --- src/main/resources/application-production.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties index 2132264d..51940c65 100644 --- a/src/main/resources/application-production.properties +++ b/src/main/resources/application-production.properties @@ -6,6 +6,6 @@ spring.datasource.driver-class-name=org.postgresql.Driver # JPA Configuration spring.h2.console.enabled=true -base-url=https://api-dev-gepafin.memento.credit +base-url=http://79.137.88.15 isVatCheckGloballyDisabled = false From ff74b9afcaaef2e68db42fce22afd0ccac99b5c8 Mon Sep 17 00:00:00 2001 From: harish Date: Thu, 26 Sep 2024 12:29:33 +0530 Subject: [PATCH 3/5] Updated configuration --- src/main/resources/application-production.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties index 51940c65..af9d5e38 100644 --- a/src/main/resources/application-production.properties +++ b/src/main/resources/application-production.properties @@ -6,6 +6,6 @@ spring.datasource.driver-class-name=org.postgresql.Driver # JPA Configuration spring.h2.console.enabled=true -base-url=http://79.137.88.15 +base-url=http://bandi.gepafin.it isVatCheckGloballyDisabled = false From d8d4396a04e52303a74cde0641b3bb6a4550d469 Mon Sep 17 00:00:00 2001 From: harish Date: Thu, 26 Sep 2024 20:01:19 +0530 Subject: [PATCH 4/5] Updated configuration --- src/main/resources/application-production.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties index af9d5e38..4860dd7e 100644 --- a/src/main/resources/application-production.properties +++ b/src/main/resources/application-production.properties @@ -1,5 +1,5 @@ # DataSource Configuration -spring.datasource.url=jdbc:postgresql://79.137.88.14:21543/gepaDb +spring.datasource.url=jdbc:postgresql://bandidb.gepafin.it:21543/gepaDb spring.datasource.username=usergepa spring.datasource.password=nRHMi7esdgHJiIm3L5ctrSJ0 spring.datasource.driver-class-name=org.postgresql.Driver From fb75408152087d7d3b9647c4c8f2994ce06f7071 Mon Sep 17 00:00:00 2001 From: rajeshkhore <36757840+rajeshkhore@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:59:32 +0530 Subject: [PATCH 5/5] Update base url in application production properties --- src/main/resources/application-production.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/application-production.properties b/src/main/resources/application-production.properties index 4860dd7e..be371126 100644 --- a/src/main/resources/application-production.properties +++ b/src/main/resources/application-production.properties @@ -6,6 +6,6 @@ spring.datasource.driver-class-name=org.postgresql.Driver # JPA Configuration spring.h2.console.enabled=true -base-url=http://bandi.gepafin.it +base-url=http://bandi-api.gepafin.it isVatCheckGloballyDisabled = false