Skip to content

Commit

Permalink
Merge branch 'PAGOPA-2083-disable-API-integration-test' of https://gi…
Browse files Browse the repository at this point in the history
…thub.com/pagopa/pagopa-biz-events-service into PAGOPA-2083-disable-API-integration-test
  • Loading branch information
aacitelli authored and aacitelli committed Sep 18, 2024
2 parents e98ef1d + 1c5e32a commit 509ac36
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion integration-test/src/config/.env.dev
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIZ_EVENTS_SERVICE_HOST=https://api.dev.platform.pagopa.it/bizevents/service/v1/
BIZ_EVENTS_HELPDESK_HOST=https://api.dev.platform.pagopa.it/bizevents/helpdesk/v1/
BIZ_EVENTS_TRXSRV_HOST=https://api.dev.platform.pagopa.it/bizevents/tx-service/v1/
BIZ_EVENTS_LAPSRV_HOST=https://api.dev.platform.pagopa.it/bizevents/notices-service/v1/
COSMOS_DB_URI=https://pagopa-d-weu-bizevents-ds-cosmos-account.documents.azure.com:443/
COSMOS_DB_NAME=db
COSMOS_DB_CONTAINER_NAME=biz-events
Expand Down
2 changes: 1 addition & 1 deletion integration-test/src/config/.env.local
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIZ_EVENTS_SERVICE_HOST=<localhost>
BIZ_EVENTS_HELPDESK_HOST=<localhost>
BIZ_EVENTS_TRXSRV_HOST=<localhost>
BIZ_EVENTS_LAPSRV_HOST=<localhost>
COSMOS_DB_URI=https://pagopa-d-weu-bizevents-ds-cosmos-account.documents.azure.com:443/
COSMOS_DB_NAME=db
COSMOS_DB_CONTAINER_NAME=biz-events
Expand Down
2 changes: 1 addition & 1 deletion integration-test/src/config/.env.uat
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
BIZ_EVENTS_SERVICE_HOST=https://api.uat.platform.pagopa.it/bizevents/service/v1/
BIZ_EVENTS_HELPDESK_HOST=https://api.uat.platform.pagopa.it/bizevents/helpdesk/v1/
BIZ_EVENTS_TRXSRV_HOST=https://api.uat.platform.pagopa.it/bizevents/tx-service/v1/
BIZ_EVENTS_LAPSRV_HOST=https://api.uat.platform.pagopa.it/bizevents/notices-service/v1/
COSMOS_DB_URI=https://pagopa-u-weu-bizevents-ds-cosmos-account.documents.azure.com:443/
COSMOS_DB_NAME=db
COSMOS_DB_CONTAINER_NAME=biz-events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ const { get, post } = require("./common");

const bizevents_service_host = process.env.BIZ_EVENTS_SERVICE_HOST;
const bizevents_helpdesk_host = process.env.BIZ_EVENTS_HELPDESK_HOST;
const bizevents_trxsrv_host = process.env.BIZ_EVENTS_TRXSRV_HOST;
const bizevents_trxsrv_host = process.env.BIZ_EVENTS_LAPSRV_HOST;


// is the same 4all
Expand All @@ -25,7 +25,7 @@ function getBizEventByOrgFiscalCodeAndIuv(organizationfiscalcode, iuv) {
return get(bizevents_helpdesk_host + `events/organizations/${organizationfiscalcode}/iuvs/${iuv}`, {})
}

// >>> BIZ_EVENTS_TRXSRV_HOST
// >>> BIZ_EVENTS_LAPSRV_HOST
function getTransactionListForUserWithFiscalCode(fiscalcode) {
return get(bizevents_trxsrv_host + `paids?size=10`, {
"x-fiscal-code": fiscalcode
Expand Down

0 comments on commit 509ac36

Please sign in to comment.