Page History
...
Code Block | ||
---|---|---|
| ||
{ "time": "2021-12-01T05:48:42.821Z", "category": "dk.sds.nsp.audit.log.nxrg/iti-18", "audit": { "timestamp": "2021-12-01T06:48:42.772+01:00", "components": [ { "component": "NXRG/ITI-18", "contexts": [ { "context": "urn:uuid:36358982-bfa1-4ad9-ba86-9b5ea33196c2", "information": [ { "key": "CitizenId", "type": "SPI", "value": "22222222" }, { "key": "queryType", "type": "NPI", "value": "urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d" }, { "key": "returnType", "type": "NPI", "value": "LeafClass" }, { "key": "numberOfResults", "type": "NPI", "value": "2" }, { "key": "DoucmentEntryInformation", "type": "RPI", "value": "{\"entryUUid\":\"urn:uuid:268cd839-11e2-4121-8fea-3f184e5f3efa\", \"uniqueId\":\"5766156196412876102.2822196146951899395.1638337675198\", \"replacesEntryUuid\":null}" }, { "key": "DoucmentEntryInformation", "type": "RPI", "value": "{\"entryUUid\":\"urn:uuid:ccff6d0e-c2bd-4b9d-81d6-874726e9bba4\", \"uniqueId\":\"7402593388400441251.2665840693284483189.1638337722275\", \"replacesEntryUuid\":null}" }, { "key": "Status", "type": "NPI", "value": "OK" } ] } ] } ] }, "access": { "code": 200, "duration": 31, "httpHeaders": { "Content-Type": "application/soap+xml; charset=UTF-8" }, "httpHost": "localhost", "method": "POST", "path": "/nxrg/iti18", "query": "", "port": 8060, "protocol": "http", "reqSize": 2123, "resSize": 11289, "soapHeaders": { "w3Action": "urn:ihe:iti:2007:RegistryStoredQuery", "w3MessageID": "urn:uuid:accc136e-1ca4-4a04-bfe1-4caef4e31328", "w3To": "http://localhost:8060/nxrg/iti18" }, "threadId": "default task-1", "time": "2021-12-01T06:48:42.772+01:00", "stats": { "handlerDuration": 13, "RequestContentDuration": 0, "ResponseContentDuration": 0, "SecurityProtocolRequestDuration": 0, "SecurityProtocolResponseDuration": 0, "bufferAllocated": false, "usedBuffers": 1, "activeBuffersInPool": 1, "idleBuffersInPool": 1 } } } |
Logning for ITI-18 når ugyldige frasorterede dokumenter
Succesfuldt kald til service iti-18 giver anledning til en logningslinje på følgende format. Her ses at der er returneret 2 dokumenter, samt et er sorteret fra pga. manglende hash værdi (der er en fejl, hvor "location" er det frasorterede documententry (entryuuid)
Code Block | ||
---|---|---|
| ||
{
"time":"2022-04-27T08:50:38.171Z",
"category":"dk.sds.nsp.audit.log.nxrg/iti-18",
"audit":{
"timestamp":"2022-04-27T10:50:37.985+02:00",
"components":[
{
"component":"NXRG/ITI-18",
"contexts":[
{
"context":"urn:uuid:4c50a699-c757-4d72-bce0-ef0e4284d5ff",
"information":[
{
"key":"CitizenId",
"type":"SPI",
"value":"27272727"
},
{
"key":"queryType",
"type":"NPI",
"value":"urn:uuid:14d4debf-8f97-4251-9a74-a90016b0af0d"
},
{
"key":"returnType",
"type":"NPI",
"value":"LeafClass"
},
{
"key":"numberOfResults",
"type":"NPI",
"value":"2"
},
{
"key":"DoucmentEntryInformation",
"type":"RPI",
"value":"{\"entryUUid\":\"urn:uuid:b263be94-8ae8-428c-a08e-07e815e9c4f3\", \"uniqueId\":\"8232413550820834039.3966522250150692715.1651049436633\", \"replacesEntryUuid\":null}"
},
{
"key":"DoucmentEntryInformation",
"type":"RPI",
"value":"{\"entryUUid\":\"urn:uuid:3632b062-c449-4d80-9f17-92ffe033985b\", \"uniqueId\":\"8463246857834336090.1917624010876404532.1651049437586\", \"replacesEntryUuid\":null}"
},
{
"key":"DoucmentEntryInformation",
"type":"RPI",
"value":"{\"entryUUid\":\"urn:uuid:2f9ec238-55a6-48ad-baae-ca3f02783892\", \"uniqueId\":\"7463408028766553712.8751492382280798024.1651049437729\", \"replacesEntryUuid\":null}"
},
{
"key":"Status",
"type":"NPI",
"value":"WARNING"
},
{
"key":"Errors",
"type":"RPI",
"value":"{\"errorCode\":\"XDSRegistryMetadataError\", \"errorMessage\":null, \"codeContext\":\"XDSRegistryMetadataError Slot contains incorrect amount of values. Slot = hash, allowed = [ 1- 1], Was = 0\", \"location\":\"Entryuuid: urn:uuid:2f9ec238-55a6-48ad-baae-ca3f02783892\", \"severity\":\"urn:oasis:names:tc:ebxml-regrep:ErrorSeverityType:Error\"}"
}
]
}
]
}
]
},
"access":{
"code":200,
"duration":164,
"httpHeaders":{
"Content-Type":"application/soap+xml; charset=UTF-8"
},
"httpHost":"localhost",
"method":"POST",
"path":"/nxrg/iti18",
"query":"",
"port":8060,
"protocol":"http",
"reqSize":2123,
"resSize":11645,
"soapHeaders":{
"w3Action":"urn:ihe:iti:2007:RegistryStoredQuery",
"w3MessageID":"urn:uuid:b8abf188-a545-4388-ab2d-01593c51e7ff",
"w3To":"http://localhost:8060/nxrg/iti18"
},
"threadId":"default task-1",
"time":"2022-04-27T10:50:37.985+02:00",
"stats":{
"handlerDuration":5,
"RequestContentDuration":0,
"ResponseContentDuration":0,
"SecurityProtocolRequestDuration":0,
"SecurityProtocolResponseDuration":0,
"bufferAllocated":false,
"usedBuffers":1,
"activeBuffersInPool":1,
"idleBuffersInPool":1
}
}
} |
Logning når fejl
Følgende er et eksempel på et ITI-42 kald med, fejl. Konkret mangler CPR numret i kaldet.
...
Migrering er ikke længere aktuelt, og indholdet der indeholder migreringstool - og relaterede tools til verification etc - er flyttet til "Yderligere dokumentation - Migration"