Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Datamodel

Snitfladedokumentation

Borgervendt Sag v2.0.1

View file
nameServicebeskrivelse-BorgervendtSag-Datakilde-v2.0.2.docx

ØkonomiskydelseBorgervendt Økonomisk ydelse v1.0.0

View file
nameServicebeskrivelse-Oekonomiskydelse-visningsklient-v1.0.0.docx

Borgervendt Ydelse v2.1.0

(Serviceydelser og hjælpemidler)

View file
nameServicebeskrivelse-Serviceydelse-visningsklient-v3.0.0.docx

StamdataBorgervendt Aftaler og frister v1.0.1

View file
nameServicebeskrivelse-Stamdata-visningsklient v1.0Aftaler og frister-Visningsklient-v0.9.0.docx

Aftale og fristerBorgervendt Gæld og betalinger v1.0.0

View file
nameServicebeskrivelse-Aftaler og fristerGældogbetaling-Visningsklientvisningsklient-v0v1.90.02.docx

Borgervendt Akkreditiv v1.1.0

(Beviser, attester og tilladelser)

View file
nameServicebeskrivelse-Akkreditiv-Visningsklient-v0v1.91.0.docx

Gæld og betalingBorgervendt Stamdata v1.0.0

View file
nameServicebeskrivelse-GældogbetalingStamdata-visningsklient - v1.0.2.docx

...

0.docx

 

View file
nameDatakilde-inputparam-stamdata.json

2. Fejlhåndtering og fejl-struktur

Fejl der optræder på snitflader mod datakilder, håndteres af Orkestreringskomponenten, men rapporteres videre til visningsklienter sammen med fejl fra Orkestreringskomponenten i data-strukturen , der returneres til visningsklienten, således at visningsklienter kan vise relevant information om fejl til borgere.

Følgende fejltyper kan returneres fra Orkestreringskomponenten.

Type

Title

Status

Agreement-error

Internal error in OK during agreement control

500

Data-source-error

Error calling data source

Get from Data source response status

Data-source-timeout-error

Timeout reached for data source

408

Data-source-internal-error

Internal error at data source

500

Data-source-security-error

Security validation error when calling data source

400

Data-source-format-error

Invalid format in response from data source

422

Input-param-error

Invalid input parameter from display client

400

Circuit-breaker-error

Circuit breaker is currently active for data source

502

Data-validation-error

Validation error of data in response from data source

400

Fejlstruktur.

Fejl returneres i en fejlstruktur der følger RFC 7807, og har følgende skema-definition.

        "fejlstruktur": {                                                   

             "type": "object",                                               

             "properties": {                                                 

                 "error": {                                                  

                     "oneOf": [                                              

                         {                                                   

                             "$ref": "#/definitions/ErrorStructure"          

                         },                                                  

                         {                                                   

                             "type": "null"                                  

                         }                                                   

                     ]                                                       

                 }                                                           

             },                                                              

             "additionalProperties": false                                   

         },                                                                  

         "ErrorStructure": {                                                 

             "type": "object",                                               

             "properties": {                                                 

                 "type": {                                                   

                     "type": "string"                                        

                 },                                                          

                 "title": {                                                  

                     "type": "string"                                        

                 },                                                          

                 "status": {                                                 

                     "type": "string"                                        

                 },                                                          

                 "detail": {                                                 

                     "type": "string"                                        

                 },                                                          

                 "instance": {                                               

                     "type": "string"                                        

                 },                                                          

                 "datakilde": {                                              

                     "type": [                                               

                         "string",                                           

                         "null"                                              

                     ]                                                       

                 }                                                           

             },                                                              

             "required": [                                                   

                 "type",                                                     

                 "title",                                                    

                 "status",                                                   

                 "detail",                                                   

                 "instance"                                                  

             ],                                                              

             "additionalProperties": false                                   

         }  

Eksempel på udfyldt fejlstruktur.

<fejlstruktur>

                                 <type>https://orchestrationcomponent.digst.dk/probs/Input-param-error</type>

                                 <title>Invalid input parameter from display client</title>

                                 <status>400</status>

                                 <detail>There was an error when validating the display client</detail>

                                 <instance>https://orchestrationcomponent.digst.dk/correlationID/78306376-

8f3c-4630-890a-4f3d490722f1</instance>

                                 <datakilde/>

</fejlstruktur>

 

 

Expand
titleHistorik
Change History

...