ministero-salute / it-fse-support

https://ministero-salute.github.io/it-fse-support/
33 stars 20 forks source link

Crash Program - Sprint 6 - RDE FVG - RDA ER - UC6, UC8 e UC12: Chiarimento risposta documento non trovato. #852

Open ChiaraCeccottiFVG opened 3 months ago

ChiaraCeccottiFVG commented 3 months ago

Buongiorno, Stiamo testando per lo sprint6 - RDE FVG e RDA ER gli UC6_SostituzioneDocumento UC8_EliminazioneDocumento UC12_ValidazionePubblicazioneSostituzioneContestuale La transazione avviene con successo ma a fronte di un documento non trovato la risposta che otteniamo è Q17 mentre il nostro registry e altri di altre regioni restituiscono invece elenco vuoto. Qual è l'approccio corretto a cui ci si deve uniformare? Di seguito l'xml di un esempio di risposta a cui facciamo riferimento:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<ns3:AdhocQueryResponse startIndex="0" status="urn:oasis:names:tc:ebxml-regrep:ResponseStatusType:Success" 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="Unavailable $XDSDocumentEntryUniqueId value 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716204061287" errorCode="Q17" severity="urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Warning"></ns2:RegistryError>
    </ns2:RegistryErrorList>
    <RegistryObjectList/>
</ns3:AdhocQueryResponse>

Ringraziamo e auguriamo una buona giornata.

LucaRogledi commented 3 months ago

Buonasera, potrebbe gentilmente condividere il traceId ricevuto dalla chiamata che ha generato l'errore? Grazie

ChiaraCeccottiFVG commented 3 months ago

Buongiorno, certamente.

Riportiamo un esempio per lo use case UC8_EliminazioneDocumento:

"workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId" "traceId": "3f9f9cc8eaf8db9b"

per completezza riportiamo anche la transazione di stato completa:

{
    "traceID": "dafa8d33e65c6659",
    "spanID": "059415b84c5c24d9",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-05-17T08:08:45.184+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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "544e33f0d9709f8a",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-17T08:08:45.295+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-05-17T08:08:48.969+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715933327487",
            "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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "3f9f9cc8eaf8db9b",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-17T08:08:48.978+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-05-17T08:08:51.642+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-17T08:08:51.726+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-05-17T08:08:51.877+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-17T08:08:51.888+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-05-17T10:08:45.308+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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "544e33f0d9709f8a"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-05-17T10:08:49.042+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715933327487",
            "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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "3f9f9cc8eaf8db9b"
        },
        {
            "eventType": "MIDDELWARE FVG - CANCELLAZIONE_GATEWAY",
            "eventDate": "2024-05-17T10:09:23.432+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1715933327487",
            "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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.1b7c7a8303^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "3f9f9cc8eaf8db9b"
        }
    ]
}

Ringrazio e auguro una buona giornata.

vigliottim commented 3 months ago

Buonasera, potreste riprovare e fornirci gli identificativi della nuova chiamata unitamente al timestamp? Non risultano evidenze di errori associate all'invocazione indicata in precedenza. Grazie.

ChiaraCeccottiFVG commented 3 months ago

Buonasera, premettiamo che i casi di test risultano passati con successo e la transazione non da errore. Interrogando il documento eliminato o il documento deprecato dopo la sostituzione otteniamo in risposta Q17 mentre il nostro registry e quello di altre regioni restituiscono invece elenco vuoto. Questo ci aveva fatto nascere un dubbio solamente riguardo a quale sia il comportamento tra i due a cui ci si deve uniformare per capire se dovevamo eseguire modifiche lato nostro.

Ringraziandovi molto per il chiarimento e la vostra disponibilità riporto in ogni caso la transazione di stato di un nuovo caso di test eseguito oggi per il documento 2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716478850747 (verso la regione Emilia Romagna). Grazie e buona serata.

{
    "traceID": "92ae2daa6b06ab7f",
    "spanID": "b3adcb6eb6c1cb0c",
    "transactionData": [
        {
            "eventType": "VALIDATION",
            "eventDate": "2024-05-23T15:40:47.093+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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c0602f4d2a173da7",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-23T15:40:47.104+00:00"
        },
        {
            "eventType": "PUBLICATION",
            "eventDate": "2024-05-23T15:40:52.135+00:00",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716478850747",
            "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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c1c94528ffd044b3",
            "issuer": "integrity:S1#060#FRIULIVENEZIAGIULIATEST",
            "expiringDate": "2025-05-23T15:40:52.145+00:00"
        },
        {
            "eventType": "SEND_TO_INI",
            "eventDate": "2024-05-23T15:40:52.989+00:00",
            "eventStatus": "SUCCESS",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-23T15:40:53.000+00:00"
        },
        {
            "eventType": "SEND_TO_EDS",
            "eventDate": "2024-05-23T15:40:53.099+00:00",
            "eventStatus": "SUCCESS",
            "message": "{\"esito\":true}",
            "workflowInstanceId": "2.16.840.1.113883.2.9.2.60.4.4.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "expiringDate": "2025-05-23T15:40:53.109+00:00"
        },
        {
            "eventType": "MIDDELWARE FVG - VALIDAZIONE",
            "eventDate": "2024-05-23T17:40:47.161+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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c0602f4d2a173da7"
        },
        {
            "eventType": "MIDDELWARE FVG - PUBBLICAZIONE_GATEWAY",
            "eventDate": "2024-05-23T17:40:52.199+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716478850747",
            "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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c1c94528ffd044b3"
        },
        {
            "eventType": "MIDDELWARE FVG - CANCELLAZIONE_GATEWAY",
            "eventDate": "2024-05-23T17:41:58.998+0200",
            "eventStatus": "SUCCESS",
            "identificativoDocumento": "2.16.840.1.113883.2.9.2.60.4.4^CRASH_TEST_LDO1716478850747",
            "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.bcea4a8c5c07dbf83324832d60d75a61f92bb265dd97214d3f67f060b6583f59.fc128da0ca^^^^urn:ihe:iti:xdw:2013:workflowInstanceId",
            "traceId": "c1c94528ffd044b3"
        }
    ]
}