Skip to content

Commit

Permalink
Merge pull request #23 from pagopa/NOD-857-fix-prod
Browse files Browse the repository at this point in the history
[NOD-857] Fix PROD
  • Loading branch information
aomegax authored May 15, 2024
2 parents 7a5785e + 8428b77 commit 5df698a
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/04_release_deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
steps:
- name: Semver setup
id: semver_setup
uses: pagopa/github-actions-template/nodo5-semver-setup@ce252c8501c9242bd6045f7cdd650736b2f38777
uses: pagopa/github-actions-template/nodo5-semver-setup@f49c9e6440b68449ef4c762157f0cb6ecf403aa4
with:
semver: ${{ inputs.semver }}

Expand Down
4 changes: 2 additions & 2 deletions helm/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ apiVersion: v2
name: pagopa-tech-support-api
description: Technical support api
type: application
version: "0.57.0"
appVersion: "1.2.7"
version: "0.58.0"
appVersion: "1.2.8-NOD-857-fix-prod"
dependencies:
- name: microservice-chart
version: 3.0.0
Expand Down
2 changes: 1 addition & 1 deletion helm/values-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart:
namespace: "nodo"
image:
repository: ghcr.io/pagopa/pagopa-node-technical-support-worker
tag: '1.2.7'
tag: '1.2.8-NOD-857-fix-prod'
readinessProbe:
httpGet:
path: /q/health/ready
Expand Down
9 changes: 5 additions & 4 deletions helm/values-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart:
namespace: "nodo"
image:
repository: ghcr.io/pagopa/pagopa-node-technical-support-worker
tag: '1.2.7'
tag: '1.2.8-NOD-857-fix-prod'
readinessProbe:
httpGet:
path: /q/health/ready
Expand All @@ -24,8 +24,9 @@ microservice-chart:
COSMOS_BIZ_ENDPOINT: "https://pagopa-p-weu-bizevents-ds-cosmos-account.documents.azure.com:443/"
COSMOS_NEG_BIZ_ENDPOINT: "https://pagopa-p-weu-bizevents-neg-ds-cosmos-account.documents.azure.com:443/"
COSMOS_VERIFYKO_ENDPOINT: "https://pagopa-p-weu-nodo-verifyko-cosmos-account.documents.azure.com:443/"
DATASOURCE_USERNAME: "TBD"
DATASOURCE_URL: "TBD"
DATASOURCE_URL: "jdbc:oracle:thin:@(DESCRIPTION=(ENABLE=BROKEN)(ADDRESS=(PROTOCOL=tcp)(PORT=1521)(HOST=db-nodo-pagamenti.p.db-nodo-pagamenti.com))(CONNECT_DATA=(SERVICE_NAME=NDPSPCP_NODO_OFFLINE))(SO_KEEPALIVE=true)(TCP_KEEPIDLE=60)(TCP_KEEPINTVL=30)(TCP_KEEPCNT=15))"
DATASOURCE_USERNAME: "PP_NODO_OFFLINE"
DATASOURCE_SCHEMA: "ALTER SESSION SET CURRENT_SCHEMA=NODO_OFFLINE"
DB_SERVICE_IDENTIFIER: "NDP003PROD"
LOG_LEVEL: "INFO"
envFieldRef:
Expand All @@ -38,7 +39,7 @@ microservice-chart:
COSMOS_BIZ_KEY: "cosmos-biz-account-key"
COSMOS_NEG_BIZ_KEY: "cosmos-neg-biz-account-key"
COSMOS_VERIFYKO_KEY: "cosmos-verifyko-account-key"
DATASOURCE_PASSWORD: "db-nexi-offline-password"
DATASOURCE_PASSWORD: "pp-nodo-offline-oracle-password"
keyvault:
name: "pagopa-p-nodo-kv"
tenantId: "7788edaf-0346-4068-9d79-c868aed15b3d"
Expand Down
2 changes: 1 addition & 1 deletion helm/values-uat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ microservice-chart:
namespace: "nodo"
image:
repository: ghcr.io/pagopa/pagopa-node-technical-support-worker
tag: '1.2.7'
tag: '1.2.8-NOD-857-fix-prod'
readinessProbe:
httpGet:
path: /q/health/ready
Expand Down
2 changes: 1 addition & 1 deletion openapi/openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Node technical support - API (local) ${service}",
"termsOfService": "https://www.pagopa.gov.it/",
"version": "1.2.7"
"version": "1.2.8-NOD-857-fix-prod"
},
"servers": [
{
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>it.gov.pagopa</groupId>
<artifactId>node-techical-support-worker</artifactId>
<version>1.2.7</version>
<version>1.2.8-NOD-857-fix-prod</version>
<properties>
<compiler-plugin.version>3.11.0</compiler-plugin.version>
<lombok.version>1.18.26</lombok.version>
Expand Down
5 changes: 3 additions & 2 deletions src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ quarkus.smallrye-openapi.servers=\\$\{host\}/technical-support/nodo/api/v1
quarkus.datasource.db-kind=oracle
quarkus.datasource.jdbc.driver=oracle.jdbc.driver.OracleDriver
quarkus.datasource.jdbc.url=${DATASOURCE_URL}
quarkus.datasource.jdbc.new-connection-sql=${DATASOURCE_SCHEMA:ALTER SESSION SET CURRENT_SCHEMA=NODO_OFFLINE}
quarkus.datasource.username=${DATASOURCE_USERNAME}
quarkus.datasource.password=${DATASOURCE_PASSWORD}

Expand All @@ -72,17 +73,17 @@ quarkus.datasource.password=${DATASOURCE_PASSWORD}
%test.quarkus.datasource.db-kind=h2
%test.quarkus.datasource.jdbc.url=jdbc:h2:mem:test
%test.quarkus.datasource.jdbc.driver=org.h2.Driver
%test.quarkus.datasource.jdbc.new-connection-sql=
%test.quarkus.datasource.username=sa
%test.quarkus.datasource.password=

%openapi.quarkus.datasource.db-kind=h2
%openapi.quarkus.datasource.jdbc.url=jdbc:h2:mem:test
%openapi.quarkus.datasource.jdbc.driver=org.h2.Driver
%openapi.quarkus.datasource.jdbc.new-connection-sql=
%openapi.quarkus.datasource.username=sa
%openapi.quarkus.datasource.password=



quarkus.hibernate-orm.log.sql=false
quarkus.hibernate-orm.validate-in-dev-mode=false

Expand Down

0 comments on commit 5df698a

Please sign in to comment.