ministero-salute / it-fse-support

32 stars 19 forks source link

Crash Program - Sprint 4 - RDE FVG, RDA Lombardia - UC4_Aggiornamento_Metadati: Errore 500 - INI ERROR #816

Open ChiaraCeccottiFVG opened 2 months ago

ChiaraCeccottiFVG commented 2 months ago

Buongiorno, abbiamo testato per lo sprint4 RDE FVG, RDA Lombardia il caso d'uso UC4_Aggiornamento_Metadati sia con un patientSummary sia con una lettera di dimissione ospedaliera. Con entrambe le tipologie di documento otteniamo: INI error 500.

Riportiamo di seguito un i dettagli di uno dei casi di test:

ID Documento: 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715243819061

ERRORE:

{
    "traceID": "d947b1795bf6920a",
    "spanID": "d947b1795bf6920a",
    "type": "/msg/ini-error",
    "title": "Ini error.",
    "status": 500,
    "detail": "{\"traceID\":\"0000000000000000d947b1795bf6920a\",\"spanID\":\"8f182aaf0db746d1\",\"type\":\"/errors\",\"title\":\"Generic\",\"detail\":\"it.finanze.sanita.fse2.ms.iniclient.exceptions.base.BusinessException: SEVERITY:urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:ErrorERROR_CODE:XDSRegistryErrorCODE CONTEXT:Internal Error\",\"instance\":\"error/generic\"}",
    "instance": "/msg/service-error/ini",
    "classError": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException"
}

transazione di stato:

{
    "traceID": "1aea33746b460442",
    "spanID": "31ff8a47bbd6c0f5",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-05-09T08:36:56.193+00:00",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.783d8af304^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f963994548db39a3",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-09T08:36:56.202+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-05-09T08:37:00.347+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715243819061",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "tipoAttivita": "DIS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.783d8af304^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "58e604302bea7dd7",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-09T08:37:00.357+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-05-09T08:37:06.621+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.783d8af304^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-09T08:37:06.634+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-05-09T08:37:06.780+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.783d8af304^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-09T08:37:06.791+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-05-09T10:36:56.244+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.783d8af304^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f963994548db39a3"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-05-09T10:37:00.454+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715243819061",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.783d8af304^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "58e604302bea7dd7"
        }
    ]
}

Vi chiederemo una cortese verifica per aiutarci a capire dove potrebbe essere il problema. Ringraziandovi per la collaborazione auguriamo una buona giornata.

EugenioGuagliardi commented 2 months ago

Salve, abbiamo visto che la transazione è arrivata sul nostro Registry ed è andata in errore. Potete riprovare adesso e dirci l'esito? Grazie mille

ChiaraCeccottiFVG commented 2 months ago

Buon pomeriggio, abbiamo eseguito qualche altra prova per l'UC4 Aggiornamento metadati. Otteniamo INI error 500

Vi riportiamo un caso di esempio:

ID documento 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715346871320

"httpStatusCode": 500,
  "responseBody": "{\"traceID\":\"196da04a409fae3e\",\"spanID\":\"196da04a409fae3e\",\"type\":\"/msg/ini-error\",\"title\":\"Ini error.\",\"detail\":\"{\\\"traceID\\\":\\\"0000000000000000196da04a409fae3e\\\",\\\"spanID\\\":\\\"a5c485ff1c215335\\\",\\\"type\\\":\\\"/errors\\\",\\\"title\\\":\\\"Generic\\\",\\\"detail\\\":\\\"it.finanze.sanita.fse2.ms.iniclient.exceptions.base.BusinessException: SEVERITY:urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:ErrorERROR_CODE:XDSRegistryErrorCODE CONTEXT:Internal Error\\\",\\\"instance\\\":\\\"error/generic\\\"}\",\"status\":500,\"instance\":\"/msg/service-error/ini\"}",
  "responseHeaders": {
    "Transfer-Encoding": "[chunked]",
    "GovWay-Transaction-ID": "[5daf1921-0ecf-11ef-93a7-005056ae54fa]",
    "Server": "[GovWay-SOGEI]",
    "X-Content-Type-Options": "[nosniff]",
    "X-Backside-Transport": "[FAIL FAIL]",
    "Connection": "[Keep-Alive]",
    "Pragma": "[no-cache]",
    "X-Global-Transaction-ID": "[3f7e3e2d663e21ba2022db6d]",
    "Date": "[Fri, 10 May 2024 13:31:43 GMT]",
    "Cache-Control": "[no-cache, no-store, must-revalidate]",
    "GovWay-Message-ID": "[9fdc9e31-0f3b-4df5-bbe9-6653df17ec1a]",
    "Vary": "[*]",
    "Expires": "[0]",
    "server-timing": "[intid;desc=cce3fbe2f77cd69f]",
    "Content-Type": "[application/problem+json]"
  },
  "uuid": "e4c44f6745234950b282955222babf4b",
  "dataInserimento": {
    "$date": "2024-05-10T13:31:43.986Z"
  }

Transazione di stato:

{
    "traceID": "275a92b606a13408",
    "spanID": "7e1f217a286b3ed4",
    "transactionData": [
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-05-10T13:14:37.009+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.8d3ad7f925^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-10T13:14:37.067+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-05-10T13:14:37.134+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.8d3ad7f925^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-10T13:14:37.191+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-05-10T15:14:28.844+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.8d3ad7f925^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "1ef0e9af6db1be07"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-05-10T15:14:32.626+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715346871320",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.8d3ad7f925^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "4c2d9b449a93acac"
        }
    ]
}

Vi ringraziamo per le verifiche e per la collaborazione. Buon pomeriggio.

EugenioGuagliardi commented 2 months ago

Salve, potete ripetere cortesemente il test? Grazie per la collaborazione

ChiaraCeccottiFVG commented 2 months ago

Buongiorno, vi ringraziamo per le verifiche. Abbiamo rieseguito un test e ora la transazione va a buon fine (success). Volevamo solamente avvisare però, che interrogando i metadati non li vediamo aggiornati.

Di seguito i dettagli del test eseguito nel caso possano risultare utili per eventuali verifiche. ID documento: 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715670505580 Transazione di stato:

{
    "traceID": "f240eeb4b3bb155c",
    "spanID": "b4d883c94d0ca676",
    "transactionData": [
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-05-14T07:08:31.651+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.879a92a735^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-14T07:08:31.659+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-05-14T07:08:31.924+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.879a92a735^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-14T07:08:31.947+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-05-14T09:08:23.248+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.879a92a735^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f42afd00fce1c7a5"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-05-14T09:08:27.399+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715670505580",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.879a92a735^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "e335b0213c89a1be"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-05-14T09:10:19.109+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715670505580",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.879a92a735^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "e335b0213c89a1be"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-05-14T09:12:41.477+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715670505580",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.879a92a735^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "e335b0213c89a1be"
        }
    ]
}

Per questo documento abbiamo provato a:

  1. Pubblicare: OK
  2. Interrogando il documento pubblicato otteniamo i metadati attesi: OK
  3. Eseguito una metadata update per modificare l'assettoOrganizzativo (campo practiceSettingCode) da "AD_PSC100" a "AD_PSC009"
  4. Interrogando il documento vediamo versione 1 con AD_PSC100 (ci aspettavamo AD_PSC009 e la versione aggiornata)
  5. Eseguito una metadata update con P99 per oscurare il documento
  6. Interrogando il documento vediamo versione 1 non oscurato.

Volevamo chiedervi se vi risultano anomalie lato nostro. Ringraziandovi molto per la collaborazione vi auguriamo una buona giornata.

EugenioGuagliardi commented 2 months ago

Salve, abbiamo preso in carico la segnalazione , vi facciamo sapere appena conclusa l'analisi. Grazie

EugenioGuagliardi commented 2 months ago

Buongiorno, potete cortesemente ripetere il test e dirci l'esito?

Grazie mille.

ChiaraCeccottiFVG commented 2 months ago

Buongiorno, abbiamo ripetuto il test con il documento ID: 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716465397086 considerando lo use case per il crash program il test ci risulta corretto. Grazie.

Volevamo però, per tenerne traccia in generale se può essere utile per tutti e con lo scopo di uniformare i comportamenti delle varie regioni (incluso quello FVG se non risulta coerente), segnalare i seguenti due comportamenti che abbiamo notato durante il test:

  1. la versione del documento non la vediamo incrementata ad ogni metadata update (rimane 1). Con la regione Campania la versione viene incrementata.
  2. eseguendo una metadata update con il P99, l'oscuramento avviene correttamente e i metadati non vengono restituiti (corretto) però poi, se proviamo a rimuovere l'oscuramento inviato in precedenza (con un'altra transazione di aggiornamento metadati) otteniamo un errore dal gateway di cui chiederemmo una verifica per sicurezza lato GTW per capire se c'è qualche problema nella nostra transazione. Per completezza di informazioni riportiamo che questa casistica di test non ha dato errore e ha correttamente funzionato con la regione Campania.

Di seguito tutti i dettagli dei passi di test eseguiti e i log.

  1. Abbiamo pubblicato con successo il documento con campo practiceSettingCode = AD_PSC100 (assetto organizzativo)
  2. Abbiamo poi eseguito una metadata update dello stesso documento per modificare il campo practiceSettingCode da AD_PSC100 a (assetto organizzativo) AD_PSC009: il campo si viene restituito correttamente aggiornato. La versione del documento non viene incrementata (con la regione Campania in sussidiarietà la versione viene incrementata)
  3. Abbiamo poi eseguito una metadata update per oscurare il documento. Il documento viene oscurato correttamente e interrogando i metadati non vengono restituiti (corretto).
  4. Abbiamo poi provato a rimuovere l'oscuramento (a togliere quindi il P99). In questo caso ci viene restituito un errore dal gateway (che riportiamo di seguito). Per questo errore chiediamo, cortesemente, una verifica lato GTW. Ci saremmo aspettati di ottenere nuovamente i metadati (con la versione incrementata).

Ringraziando molto per la disponibilità e la collaborazione auguriamo un buon pomeriggio. Di seguito i log dell'errore e la transazione di stato.

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:AdhocQueryResponse startIndex="0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Failure" xmlns="urn:oasis:names:tc:ebxml-regrep:xsd:rim:3.0" xmlns:ns2="urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0" xmlns:ns3="urn:oasis:names:tc:ebxml-regrep:xsd:query:3.0">
    <ns2:RegistryErrorList>
        <ns2:RegistryError codeContext="No results from the query" errorCode="XDSRegistryError" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning"></ns2:RegistryError>
    </ns2:RegistryErrorList>
    <RegistryObjectList/>
</ns3:AdhocQueryResponse> 
  "httpStatusCode": 404,
  "responseBody": "{\"traceID\":\"e1b63a410d448abe\",\"spanID\":\"e1b63a410d448abe\",\"type\":\"/errors/fields\",\"title\":\"Missing\",\"status\":404,\"detail\":\"Non è stato possibile recuperare i riferimenti con i dati forniti in input\",\"instance\":\"/ini\",\"classError\":\"it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException\"}",
  "responseHeaders": {
    "Errore-rilevato": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException - null",
    "Content-Disposition": "inline;filename=f.txt",
    "Vary": "Origin",
    "ReqUUIDToken": "80ee7466a6a3443bb1e8ef1c6be532e3",
    "UUIDToken": "e88888e707f841bdb83ee6c6f18bcbb1"
  },
  "uuid": "e88888e707f841bdb83ee6c6f18bcbb1",
  "reqUuid": "80ee7466a6a3443bb1e8ef1c6be532e3",
  "dataInserimento": {
    "$date": "2024-05-23T12:14:48.951Z"
  }

Per completezza riportiamo anche la transazione di stato:

{
    "traceID": "715759ba6b11df23",
    "spanID": "dab1ed9466c9d68b",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-05-23T11:56:31.726+00:00",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "04f8482b966068fb",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-23T11:56:31.738+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-05-23T11:56:43.203+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716465397086",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "tipoAttivita": "DIS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "21c251f74336460a",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-23T11:56:43.216+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-05-23T11:56:50.927+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-23T11:56:50.936+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-05-23T11:56:51.211+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-23T11:56:51.221+00:00"
        },
        {
            "eventType": "EDS_WORKFLOW",
            "eventDate": "2024-05-23T12:00:00.070+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-23T12:00:00.097+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-05-23T13:56:31.970+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "04f8482b966068fb"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-05-23T13:56:43.391+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716465397086",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "21c251f74336460a"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-05-23T14:00:10.030+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716465397086",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "21c251f74336460a"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-05-23T14:01:36.405+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716465397086",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.fc588e3c38^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "21c251f74336460a"
        }
    ]
}
ChiaraCeccottiFVG commented 1 month ago

Buongiorno, come richiesto alla riunione "[FSE 2.0] - Crash Program - Review e Soluzioni Issue" del 31-05-2024 Invio i dettagli di una transazione di Aggiornamento Metadati verso la regione Campania andata a buon fine:

CF: PRVPRV12T12L424X Timestamp: 2024-05-13T09:54:31.542+00:00 Traceid: 45f3c5d8f9fc22c7 workflowinstanceID: 2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId ID documento: 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715594069735

TEST AVVENUTO CON SUCCESSO - Passi eseguiti:

  1. pubblicato il documento con successo
  2. interrogato il documento pubblicato
  3. metadataupdate oscuramento con P99
  4. interrogato il documento e non viene restituito (perchè oscurato): OK
  5. metadataupdate tolto l'oscuramento p99 e cambiato "assettoOrganizzativo" (campo practiceSettingCode) da "AD_PSC100" a AD_PSC009
  6. interrogato il documento che viene correttamente restituito con la versione 3 e con AD_PSC009

Transazione di stato:

{
    ""traceID"": ""b24292b619416923"",
    ""spanID"": ""32c2ba4f36738b9d"",
    ""transactionData"": [
        {
            ""eventType"": ""SEND_TO_INI"",
            ""eventDate"": ""2024-05-13T09:54:31.542+00:00"",
            ""eventStatus"": ""SUCCESS"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""expiringDate"": ""2025-05-13T09:54:31.552+00:00""
        },
        {
            ""eventType"": ""SEND_TO_EDS"",
            ""eventDate"": ""2024-05-13T09:54:31.650+00:00"",
            ""eventStatus"": ""SUCCESS"",
            ""message"": ""{\""esito\"":true}"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""expiringDate"": ""2025-05-13T09:54:31.660+00:00""
        },
        {
            ""eventType"": ""EDS_WORKFLOW"",
            ""eventDate"": ""2024-05-13T10:00:00.085+00:00"",
            ""eventStatus"": ""SUCCESS"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""expiringDate"": ""2025-05-13T10:00:00.114+00:00""
        },
        {
            ""eventType"": ""MIDDELWARE FVG - VALIDAZIONE"",
            ""eventDate"": ""2024-05-13T11:54:26.884+0200"",
            ""eventStatus"": ""SUCCESS"",
            ""subject"": ""BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO"",
            ""subjectRole"": ""AAS"",
            ""organizzazione"": ""060"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""traceId"": ""bdb72b5850ff46e2""
        },
        {
            ""eventType"": ""MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY"",
            ""eventDate"": ""2024-05-13T11:54:31.109+0200"",
            ""eventStatus"": ""SUCCESS"",
            ""identificativoDocumento"": ""2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715594069735"",
            ""subject"": ""BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO"",
            ""subjectRole"": ""AAS"",
            ""organizzazione"": ""060"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""traceId"": ""45f3c5d8f9fc22c7""
        },
        {
            ""eventType"": ""MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY"",
            ""eventDate"": ""2024-05-13T11:56:39.599+0200"",
            ""eventStatus"": ""SUCCESS"",
            ""identificativoDocumento"": ""2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715594069735"",
            ""subject"": ""BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO"",
            ""subjectRole"": ""AAS"",
            ""organizzazione"": ""060"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""traceId"": ""45f3c5d8f9fc22c7""
        },
        {
            ""eventType"": ""MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY"",
            ""eventDate"": ""2024-05-13T11:57:54.246+0200"",
            ""eventStatus"": ""SUCCESS"",
            ""identificativoDocumento"": ""2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715594069735"",
            ""subject"": ""BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO"",
            ""subjectRole"": ""AAS"",
            ""organizzazione"": ""060"",
            ""workflowInstanceId"": ""2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.9a382d9ef9^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"",
            ""traceId"": ""45f3c5d8f9fc22c7""
        }
    ]
}

Ringraziando per la collaborazione auguriamo un buon pomeriggio.

g-maugeri-sogei commented 1 month ago

Buongiorno, riguardo la gestione dell'oscuramento sul nostro sistema, quindi il caso della Campania, sulla nuova comunicazione metadati ci limitiamo a togliere l'oscuramento in modo da rendere nuovamente disponibile il documente per le successive richieste. Ho indagato il caso segnalato sopra relativo alla Lombardia. Dai log lato nostro sembrerebbe che la risposta alla ricerca documenti inviata all'istante 2024-05-23T12:14:48.951Z sia corretta. A questo istante il documento sembrerebbe oscurato causa la comunicazione metadati con oscuramento inviata all'istante 23-MAG-24 14:01:36,291000. Sui log vedo che questa e' la prima comunicazione precedente la richiesta di ricerca documenti. Potete verificare lato vostro e se presente inviarmi la transazione di comunicazione metadati e relativo timestamp che avrebbe eliminato l'oscuramento prima dell'istante 2024-05-23T12:14:48.951Z e successivamente all'istante 23-MAG-24 14:01:36,291000 ?

ChiaraCeccottiFVG commented 1 month ago

Buongiorno, vi ringraziamo per le indicazioni e per le verifiche. Riguardo il caso sopra indicato per il test Sprint 4 - UC4 RDE FVG e RDA Lombardia riporto dettagli maggiori riguardo le transazioni eseguite. Eventualmente, se può essere utile, possiamo anche ripetere un test nuovo, senza problemi.

  1. Prima transazione di metadata update (su un doc precedentemente pubblicato): modificato campo practiceSettingCode da AD_PSC100 a AD_PSC009: il campo si viene restituito correttamente aggiornato. 1a transazione:
    "requestBody": "{\r\n    \"requestSostituzioneMetadatiInterniDto\": {\r\n        \"tipologiaStruttura\": \"Ospedale\",\r\n        \"tipoDocumentoLivAlto\": \"REF\",\r\n        \"tipoAttivitaClinica\":\"OBS\",\r\n        \"assettoOrganizzativo\": \"AD_PSC009\",\r\n        \"dataInizioPrestazione\": \"20240326110012\",\r\n        \"dataFinePrestazione\": \"20240326110012\",\r\n        \"identificativoSottomissione\": \"2.16.840.1.113883.2.9.2.60.4.3.10001.11716465593700\",\r\n        \"descriptions\": [\r\n        ]\r\n    },\r\n    \"claimsApplicationDto\": {\r\n        \"subject_application_vendor\": \"ONIT\",\r\n        \"subject_application_id\": \"app_\",\r\n        \"subject_application_version\": \"v1_ONIT\"\r\n    }\r\n}",
    "requestParts": {},
    "parameterMap": {},
    "httpStatusCode": 200,
    "responseBody": "{\"gatewayResponseDto\":{\"traceID\":\"01fd65f9487f32e1\",\"spanID\":\"01fd65f9487f32e1\",\"workflowInstanceId\":\"dbdecc13b3ccad8581356874e05db203bbe892513efac6749810d7dfcd770340.e3896cabb0^^^^urn:ihe:iti:xdw:2013:workflowInstanceId\"},\"status\":200}",
    "responseHeaders": {
    "Content-Disposition": "inline;filename=f.txt",
    "Vary": "Origin",
    "ReqUUIDToken": "5f39fa991f8d4fb6b4333c42648add53",
    "UUIDToken": "9df8aa98879f48b3af12cfda9e65070a"
    },
    "uuid": "9df8aa98879f48b3af12cfda9e65070a",
    "reqUuid": "5f39fa991f8d4fb6b4333c42648add53",
    "dataInserimento": {
    "$date": "2024-05-23T12:00:10.035Z"
    }
  2. Abbiamo poi eseguito una metadata update per oscurare il documento. Il documento viene oscurato correttamente e interrogando i metadati non vengono restituiti (corretto). 2a transazione:
    "requestBody": "{\r\n    \"requestSostituzioneMetadatiInterniDto\": {\r\n        \"tipologiaStruttura\": \"Ospedale\",\r\n        \**"attiCliniciRegoleAccesso\":[\"P99\"]**,\r\n        \"tipoDocumentoLivAlto\": \"REF\",\r\n        \"tipoAttivitaClinica\":\"OBS\",\r\n        \"assettoOrganizzativo\": \"AD_PSC009\",\r\n        \"dataInizioPrestazione\": \"20240326110012\",\r\n        \"dataFinePrestazione\": \"20240326110012\",\r\n        \"identificativoSottomissione\": \"2.16.840.1.113883.2.9.2.60.4.3.10001.11716465688761\",\r\n        \"descriptions\": [\r\n        ]\r\n    },\r\n    \"claimsApplicationDto\": {\r\n        \"subject_application_vendor\": \"ONIT\",\r\n        \"subject_application_id\": \"app_\",\r\n        \"subject_application_version\": \"v1_ONIT\"\r\n    }\r\n}",
    "requestParts": {},
    "parameterMap": {},
    "httpStatusCode": 200,
    "responseBody": "{\"gatewayResponseDto\":{\"traceID\":\"7723e4e8ff35c7aa\",\"spanID\":\"7723e4e8ff35c7aa\",\"workflowInstanceId\":\"dbdecc13b3ccad8581356874e05db203bbe892513efac6749810d7dfcd770340.1f9ac3b455^^^^urn:ihe:iti:xdw:2013:workflowInstanceId\"},\"status\":200}",
    "responseHeaders": {
    "Content-Disposition": "inline;filename=f.txt",
    "Vary": "Origin",
    "ReqUUIDToken": "b92938478c224246a96d8f53e1054186",
    "UUIDToken": "fa42253a67c64237a0c5e19cd472cb74"
    },
    "uuid": "fa42253a67c64237a0c5e19cd472cb74",
    "reqUuid": "b92938478c224246a96d8f53e1054186",
    "dataInserimento": {
    "$date": "2024-05-23T12:01:36.418Z"
    }
  3. Abbiamo poi provato a rimuovere l'oscuramento (a togliere quindi il P99). In questo caso ci viene restituito un errore 404. 3a transazione:
    "requestBody": "{\r\n    \"requestSostituzioneMetadatiInterniDto\": {\r\n        \"tipologiaStruttura\": \"Ospedale\",\r\n        \"tipoDocumentoLivAlto\": \"REF\",\r\n        \"tipoAttivitaClinica\":\"OBS\",\r\n        \"assettoOrganizzativo\": \"AD_PSC009\",\r\n        \"dataInizioPrestazione\": \"20240326110012\",\r\n        \"dataFinePrestazione\": \"20240326110012\",\r\n        \"identificativoSottomissione\": \"2.16.840.1.113883.2.9.2.60.4.3.10001.11716465741967\",\r\n        \"descriptions\": [\r\n        ]\r\n    },\r\n    \"claimsApplicationDto\": {\r\n        \"subject_application_vendor\": \"ONIT\",\r\n        \"subject_application_id\": \"app_\",\r\n        \"subject_application_version\": \"v1_ONIT\"\r\n    }\r\n}",
    "requestParts": {},
    "parameterMap": {},
    "httpStatusCode": 404,
    "responseBody": "{\"traceID\":\"0235a7d9d1308688\",\"spanID\":\"0235a7d9d1308688\",\"type\":\"/errors/fields\",\"title\":\"Missing\",\"status\":404,\"detail\":\"Non è stato possibile recuperare i riferimenti con i dati forniti in input\",\"instance\":\"/ini\",\"classError\":\"it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException\"}",
    "responseHeaders": {
    "Errore-rilevato": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException - null",
    "Content-Disposition": "inline;filename=f.txt",
    "Vary": "Origin",
    "ReqUUIDToken": "6ab0468524324d018ed9dc627bea19fc",
    "UUIDToken": "0570c9fd93ad4641aa121f767b23ec03"
    },
    "uuid": "0570c9fd93ad4641aa121f767b23ec03",
    "reqUuid": "6ab0468524324d018ed9dc627bea19fc",
    "dataInserimento": {
    "$date": "2024-05-23T12:02:25.534Z"
    }

    Abbiamo poi provato a rieseguire questa ultima transazione (rimozione dell'oscuramento) un po' di volte. L'ultimo tentativo è questo:

    "requestBody": "{\r\n    \"requestSostituzioneMetadatiInterniDto\": {\r\n        \"tipologiaStruttura\": \"Ospedale\",\r\n        \"tipoDocumentoLivAlto\": \"REF\",\r\n        \"tipoAttivitaClinica\":\"OBS\",\r\n        \"assettoOrganizzativo\": \"AD_PSC009\",\r\n        \"dataInizioPrestazione\": \"20240326110012\",\r\n        \"dataFinePrestazione\": \"20240326110012\",\r\n        \"identificativoSottomissione\": \"2.16.840.1.113883.2.9.2.60.4.3.10001.11716466484761\",\r\n        \"descriptions\": [\r\n        ]\r\n    },\r\n    \"claimsApplicationDto\": {\r\n        \"subject_application_vendor\": \"ONIT\",\r\n        \"subject_application_id\": \"app_\",\r\n        \"subject_application_version\": \"v1_ONIT\"\r\n    }\r\n}",
    "requestParts": {},
    "parameterMap": {},
    "httpStatusCode": 404,
    "responseBody": "{\"traceID\":\"e1b63a410d448abe\",\"spanID\":\"e1b63a410d448abe\",\"type\":\"/errors/fields\",\"title\":\"Missing\",\"status\":404,\"detail\":\"Non è stato possibile recuperare i riferimenti con i dati forniti in input\",\"instance\":\"/ini\",\"classError\":\"it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException\"}",
    "responseHeaders": {
    "Errore-rilevato": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException - null",
    "Content-Disposition": "inline;filename=f.txt",
    "Vary": "Origin",
    "ReqUUIDToken": "80ee7466a6a3443bb1e8ef1c6be532e3",
    "UUIDToken": "e88888e707f841bdb83ee6c6f18bcbb1"
    },
    "uuid": "e88888e707f841bdb83ee6c6f18bcbb1",
    "reqUuid": "80ee7466a6a3443bb1e8ef1c6be532e3",
    "dataInserimento": {
    "$date": "2024-05-23T12:14:48.951Z"
    }

    Spero possano essere utili questi dettagli aggiuntivi. Eventualmente possiamo ripetere il caso di test con i vari passi su un caso "pulito" senza problemi.

Ringraziando molto per la collaborazione e il supporto, auguriamo una buona giornata.

g-maugeri-sogei commented 1 month ago

Salve, grazie per i dati. Possiamo ripetere il test sull'oscuramento fatto il 2024-05-13 con la stessa sequenza riportata sopra?

ChiaraCeccottiFVG commented 1 month ago

Buongiorno, ho provato a ripetere i passi di test.

  1. Pubblicato il documento 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717415413984 con successo
  2. Inviato una metadata update per modificare l'assetto organizzativo da AD_PSC100 a AD_PSC009 con successo
    {
    "gatewayResponseDto": {
        "traceID": "cb210d65dc4013f4",
        "spanID": "cb210d65dc4013f4",
        "workflowInstanceId": "8c10d2681537a6271ce80e9a1edf5f76969c9a3cb41df460c330d807b2152e98.211d5315f0^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"
    },
    "status": 200
    }
  3. Inviato una metadata update per oscurare il documento (P99) con successo
    {
    "gatewayResponseDto": {
        "traceID": "f25edba0b59d2d9c",
        "spanID": "f25edba0b59d2d9c",
        "workflowInstanceId": "8c10d2681537a6271ce80e9a1edf5f76969c9a3cb41df460c330d807b2152e98.69e6e20e46^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"
    },
    "status": 200
    }
  4. Inviato una metadata update per togliere l'oscuramento. Risposta 404
    {
    "traceID": "bf210c13f0f9f4bf",
    "spanID": "bf210c13f0f9f4bf",
    "type": "/errors/fields",
    "title": "Missing",
    "status": 404,
    "detail": "Non è stato possibile recuperare i riferimenti con i dati forniti in input",
    "instance": "/ini",
    "classError": "it.insiel.sanita.fse2.invoker.adapter.rest.gateway.exception.GatewayException"
    }

    Invio per completezza la transazione di stato completa:

    {
    "traceID": "a09e9b696ab339fd",
    "spanID": "8466cf388a0cf55b",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-06-03T11:50:09.862+00:00",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "ffa100806c733858",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-03T11:50:09.872+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-06-03T11:50:15.818+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717415413984",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "tipoAttivita": "DIS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f10c4530941edb2c",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-03T11:50:15.828+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-06-03T11:50:29.632+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-03T11:50:29.726+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-06-03T11:50:29.896+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-03T11:50:30.100+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-06-03T13:50:09.939+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "ffa100806c733858"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-06-03T13:50:16.329+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717415413984",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f10c4530941edb2c"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-06-03T13:51:28.621+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717415413984",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f10c4530941edb2c"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-06-03T13:52:14.331+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717415413984",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.c824909edef00711a2000af972d8ad3f83d8339ae8de21506c688a556c186511.7d8b578577^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "f10c4530941edb2c"
        }
    ]
    }

    Se possiamo eseguire ulteriori prove o verifiche utili fateci sapere. Ringrazio e auguro una buona giornata.

g-maugeri-sogei commented 1 month ago

Scusa intendevo il test verso la Campania, quello che ha funzionato.

ChiaraCeccottiFVG commented 1 month ago

Scusate tanto voi. Ho inteso male. Ripeto subito il test verso la Campania con gli stessi passi e mando i dettagli delle transazioni. Scusate ancora l'incomprensione da parte mia.

ChiaraCeccottiFVG commented 1 month ago

Ecco i dettagli della transazione di metadata Update verso la Campania ID documento: 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717416875221

  1. Modifica assetto organizzativo da AD_PSC100 a AD_PSC009 con successo:
    {
    "gatewayResponseDto": {
        "traceID": "8ca67a5f6099402f",
        "spanID": "8ca67a5f6099402f",
        "workflowInstanceId": "be7524c22a089c88668fe23458dfa639f3d5cd26876c225d9b5da3c43b4bfc0b.98e6b4667f^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"
    },
    "status": 200
    }
  2. Metadata update per oscurare il documento: OK
    {
    "gatewayResponseDto": {
        "traceID": "c1c3f391dbaa1a28",
        "spanID": "c1c3f391dbaa1a28",
        "workflowInstanceId": "be7524c22a089c88668fe23458dfa639f3d5cd26876c225d9b5da3c43b4bfc0b.867c71a41c^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"
    },
    "status": 200
    }
  3. Rimozione dell'oscuramento: OK:
    {
    "gatewayResponseDto": {
        "traceID": "8014d27d687786e9",
        "spanID": "8014d27d687786e9",
        "workflowInstanceId": "be7524c22a089c88668fe23458dfa639f3d5cd26876c225d9b5da3c43b4bfc0b.2b7285199f^^^^urn:ihe:iti:xdw:2013:workflowInstanceId"
    },
    "status": 200
    }

    Transazione di stato completa:

    {
    "traceID": "ddd3599562161e92",
    "spanID": "18776a952640c18d",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-06-03T12:14:31.945+00:00",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "85929bdb0cceba2e",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-03T12:14:31.954+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-06-03T12:14:36.673+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717416875221",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "tipoAttivita": "DIS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "42a8fb62dbe398c9",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-06-03T12:14:36.683+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-06-03T12:14:41.619+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-03T12:14:41.666+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-06-03T12:14:41.887+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-06-03T12:14:42.018+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-06-03T14:14:32.027+0200",
            "eventStatus": "SUCCESS",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "85929bdb0cceba2e"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-06-03T14:14:36.764+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717416875221",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "42a8fb62dbe398c9"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-06-03T14:15:30.133+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717416875221",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "42a8fb62dbe398c9"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-06-03T14:16:26.590+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717416875221",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "42a8fb62dbe398c9"
        },
        {
            "eventType": "MIDDELWARE FVG - SOSTITUZIONE_METADATI_GATEWAY",
            "eventDate": "2024-06-03T14:16:38.441+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1717416875221",
            "subject": "BLUPLA57D20A794H^^^&2.16.840.1.113883.2.9.4.3.2&ISO",
            "subjectRole": "AAS",
            "organizzazione": "060",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.7475b2434dbba98b3413e004b8bdae539220189ce4392786e433e7f3a3249b84.3310436b44^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "42a8fb62dbe398c9"
        }
    ]
    }
g-maugeri-sogei commented 1 month ago

Abbiamo individuato la regione del diverso compartamento tra Lombardia e Campania. Stiamo svolgendo delle valutazioni interne. Vi aggiorniamo a breve.

ChiaraCeccottiFVG commented 1 month ago

Ringrazio davvero molto per l'aggiornamento e per le verifiche eseguite. Buon pomeriggio.