diff --git a/public/env.js b/public/env.js
index b441f1a22..2bf7ada2d 100644
--- a/public/env.js
+++ b/public/env.js
@@ -14,9 +14,9 @@ window.pagopa_env = {
WELL_KNOWN_URLS: 'https://dev.interop.pagopa.it/.well-known/jwks.json',
PRODUCER_ALLOWED_ORIGINS: 'IPA',
API_SIGNAL_HUB_PUSH_INTERFACE_URL:
- 'https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/develop/docs/openAPI/push-signals.yaml',
+ 'https://developer.pagopa.it/pdnd-interoperabilita/api/signal-hub-push-v1',
API_SIGNAL_HUB_PULL_INTERFACE_URL:
- 'https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/develop/docs/openAPI/pull-signals.yaml',
+ 'http://developer.pagopa.it/pdnd-interoperabilita/api/signal-hub-pull-v1#/',
FEATURE_FLAG_SIGNALHUB_WHITELIST: 'true',
FEATURE_FLAG_ADMIN_CLIENT: 'true',
FEATURE_FLAG_AGREEMENT_APPROVAL_POLICY_UPDATE: 'true',
@@ -26,7 +26,8 @@ window.pagopa_env = {
API_GATEWAY_V1_INTERFACE_URL:
'https://selfcare.dev.interop.pagopa.it/m2m/v1-interface-specification.yaml',
API_GATEWAY_V2_INTERFACE_URL:
- 'https://selfcare.dev.interop.pagopa.it/m2m/v2-interface-specification.yaml',
+ 'https://developer.pagopa.it/pdnd-interoperabilita/api/pdnd-core-v2',
SIGNALHUB_PERSONAL_DATA_PROCESS_URL: 'http://localhost',
ERROR_DATA_DURATION_TIME: '90000',
+ API_TRACING_INTERFACE_URL: 'https://developer.pagopa.it/pdnd-interoperabilita/api/tracing-v1',
}
diff --git a/setupTests.ts b/setupTests.ts
index 0f61a635d..b8987e3a2 100644
--- a/setupTests.ts
+++ b/setupTests.ts
@@ -19,9 +19,9 @@ export const testConfigs = {
WELL_KNOWN_URLS: 'https://dev.interop.pagopa.it/.well-known/jwks.json',
PRODUCER_ALLOWED_ORIGINS: 'IPA',
API_SIGNAL_HUB_PUSH_INTERFACE_URL:
- 'https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/develop/docs/openAPI/push-signals.yaml',
+ 'https://developer.pagopa.it/pdnd-interoperabilita/api/signal-hub-push-v1',
API_SIGNAL_HUB_PULL_INTERFACE_URL:
- 'https://raw.githubusercontent.com/pagopa/interop-signalhub-core/refs/heads/develop/docs/openAPI/pull-signals.yaml',
+ 'http://developer.pagopa.it/pdnd-interoperabilita/api/signal-hub-pull-v1#/',
FEATURE_FLAG_SIGNALHUB_WHITELIST: 'true',
SIGNALHUB_WHITELIST_CONSUMER:
'69e2865e-65ab-4e48-a638-2037a9ee2ee7,e79a24cd-8edc-441e-ae8d-e87c3aea0059',
@@ -32,8 +32,9 @@ export const testConfigs = {
API_GATEWAY_V1_INTERFACE_URL:
'https://selfcare.dev.interop.pagopa.it/m2m/v1-interface-specification.yaml',
API_GATEWAY_V2_INTERFACE_URL:
- 'https://selfcare.dev.interop.pagopa.it/m2m/v2-interface-specification.yaml',
+ 'https://developer.pagopa.it/pdnd-interoperabilita/api/pdnd-core-v2',
SIGNALHUB_PERSONAL_DATA_PROCESS_URL: 'http://localhost',
+ API_TRACING_INTERFACE_URL: 'https://developer.pagopa.it/pdnd-interoperabilita/api/tracing-v1',
}
// runs a cleanup after each test case (e.g. clearing jsdom)
diff --git a/src/config/env.ts b/src/config/env.ts
index 33946d9af..da2d2374c 100644
--- a/src/config/env.ts
+++ b/src/config/env.ts
@@ -20,6 +20,7 @@ const GeneralConfigs = z.object({
API_GATEWAY_V1_INTERFACE_URL: z.url(),
API_GATEWAY_V2_INTERFACE_URL: z.url(),
ERROR_DATA_DURATION_TIME: z.string().default('60000'),
+ API_TRACING_INTERFACE_URL: z.url(),
})
const FeatureFlagConfigs = z.object({
@@ -113,6 +114,7 @@ export const {
API_GATEWAY_V1_INTERFACE_URL,
API_GATEWAY_V2_INTERFACE_URL,
ERROR_DATA_DURATION_TIME,
+ API_TRACING_INTERFACE_URL,
} = parseConfigs()
export const APP_MODE = parseAppMode()
diff --git a/src/pages/ConsumerClientManagePage/components/VoucherInstructions/VoucherInstructionsStep4.tsx b/src/pages/ConsumerClientManagePage/components/VoucherInstructions/VoucherInstructionsStep4.tsx
index 0f6b2a1f7..49aa4b3bb 100644
--- a/src/pages/ConsumerClientManagePage/components/VoucherInstructions/VoucherInstructionsStep4.tsx
+++ b/src/pages/ConsumerClientManagePage/components/VoucherInstructions/VoucherInstructionsStep4.tsx
@@ -12,12 +12,14 @@ import {
API_GATEWAY_V2_INTERFACE_URL,
API_SIGNAL_HUB_PULL_INTERFACE_URL,
API_SIGNAL_HUB_PUSH_INTERFACE_URL,
+ API_TRACING_INTERFACE_URL,
} from '@/config/env'
import { useQuery } from '@tanstack/react-query'
import DownloadIcon from '@mui/icons-material/Download'
import { Link } from '@/router'
import { AuthHooks } from '@/api/auth'
import { isSignalHubFeatureFlagEnabled } from '@/utils/feature-flags.utils'
+import LaunchIcon from '@mui/icons-material/Launch'
export const VoucherInstructionsStep4: React.FC = () => {
const { t } = useTranslation('voucher')
@@ -111,10 +113,10 @@ export const VoucherInstructionsStep4: React.FC = () => {
}}
disableRipple
href={API_GATEWAY_V2_INTERFACE_URL}
- download
+ target="_blank"
>
-
- {t(`step4.${clientKind}.actionLabel`)}
+
+ {t(`step4.consultLabel`)}
>
@@ -140,10 +142,10 @@ export const VoucherInstructionsStep4: React.FC = () => {
}}
disableRipple
href={API_SIGNAL_HUB_PUSH_INTERFACE_URL}
- download
+ target="_blank"
>
-
- {t(`step4.actionLabel`)}
+
+ {t(`step4.consultLabel`)}
@@ -159,10 +161,35 @@ export const VoucherInstructionsStep4: React.FC = () => {
}}
disableRipple
href={API_SIGNAL_HUB_PULL_INTERFACE_URL}
- download
+ target="_blank"
>
-
- {t(`step4.actionLabel`)}
+
+ {t(`step4.consultLabel`)}
+
+
+
+
+ )}
+ {clientKind === 'API' && (
+
+
+
+ {t(`step4.API.tracing.title`)}
+
+
+ {t(`step4.API.tracing.description`)}
+
diff --git a/src/static/locales/en/voucher.json b/src/static/locales/en/voucher.json
index f1fa2a86e..15babf291 100644
--- a/src/static/locales/en/voucher.json
+++ b/src/static/locales/en/voucher.json
@@ -169,6 +169,7 @@
"consumerStepperLabel": "E-service access",
"apiStepperLabel": "API Interop access",
"actionLabel": "Download",
+ "consultLabel": "Consult",
"CONSUMER": {
"title": "Congratulations!",
"description": "You can access the eservice {{ eserviceName }} provided by {{ producerName }}",
@@ -197,7 +198,11 @@
},
"pullApiSH": {
"title": "Signals retrieval (Pull API)",
- "description": "The API that allow consumers to retrieve the signal of data change"
+ "description": "The API that allows consumers to retrieve the signal of data change"
+ },
+ "tracing": {
+ "title": "Tracing",
+ "description": "The API that allows uploading and managing information on the exchange volumes between the provider and the user."
}
}
},
diff --git a/src/static/locales/it/voucher.json b/src/static/locales/it/voucher.json
index 8a817f9ee..230414ea7 100644
--- a/src/static/locales/it/voucher.json
+++ b/src/static/locales/it/voucher.json
@@ -169,6 +169,7 @@
"consumerStepperLabel": "Accesso e-service",
"apiStepperLabel": "Accesso API Interop",
"actionLabel": "Scarica",
+ "consultLabel": "Consulta",
"CONSUMER": {
"title": "Congratulazioni!",
"description": "Ora puoi accedere all’API dell’e-service {{ eserviceName }} erogato da {{ producerName }} ",
@@ -198,6 +199,10 @@
"pullApiSH": {
"title": "Recupero segnali (Pull API)",
"description": "L’API che permette ai fruitori di recuperare i segnali di variazione sui dati"
+ },
+ "tracing": {
+ "title": "Tracing",
+ "description": "L'API che permette di caricare e gestire le informazioni sui volumi di scambio tra erogatore e fruitore"
}
}
},
diff --git a/src/types/common.types.ts b/src/types/common.types.ts
index 32ab5bb8d..0038ed01c 100644
--- a/src/types/common.types.ts
+++ b/src/types/common.types.ts
@@ -23,6 +23,7 @@ export type PagoPAEnvVars = {
SIGNALHUB_WHITELIST_CONSUMER: string
FEATURE_FLAG_AGREEMENT_APPROVAL_POLICY_UPDATE: string
SIGNALHUB_PERSONAL_DATA_PROCESS_URL: string
+ API_TRACING_INTERFACE_URL: string
}
export type ExtendedWindow = Window & {