Snitfladebeskrivelser for visningsklienter - produktion

Beskrivelse af snitflader som Orkestreringskomponenten udstiller og som anvendes af visningklienter der implementerer overbliksvisninger. PÃ¥ siden vises kun nyeste version af snitflader.

Redaktør: Kurt Hansen

 

1. Introduktion

Snitfladebeskrivelser er opdelt i et dokument per datamodel. Hvis der er flere versioner af en snitflade for en datamodel, vil der være et dokument per version.

 Snitfladebeskrivelser

Datamodel

Snitfladedokumentation

Datamodel

Snitfladedokumentation

Borgervendt Sag v3.0.0

 

Borgervendt Økonomisk ydelse v1.0.0

 

Borgervendt Ydelse v2.1.0

(Serviceydelser og hjælpemidler)

 

Borgervendt Aftaler og frister v1.0.1

 

Borgervendt Gæld og betalinger v1.0.0

 

Borgervendt Akkreditiv v1.1.0

(Beviser, attester og tilladelser)

 

Borgervendt Stamdata v1.0.0

 

 

 

 

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-

                                 <datakilde/>

</fejlstruktur>

 

 

 

 

Version Date Comment
Current Version (v. 28) Oct 14, 2024 14:38 Kurt Hansen
v. 27 Jul 17, 2024 07:31 Kurt Hansen
v. 26 Apr 30, 2024 15:23 Kurt Hansen
v. 25 Apr 30, 2024 15:21 Kurt Hansen
v. 24 Apr 30, 2024 15:20 Kurt Hansen
v. 23 Oct 31, 2023 12:26 Mads Østergaard
v. 22 Oct 31, 2023 12:19 Mads Østergaard
v. 21 Oct 31, 2023 12:09 Mads Østergaard
v. 20 Oct 31, 2023 12:06 Mads Østergaard
v. 19 Oct 31, 2023 12:06 Mads Østergaard
v. 18 Oct 31, 2023 12:03 Mads Østergaard
v. 17 Oct 30, 2023 16:01 Mads Østergaard
v. 16 Oct 24, 2023 14:15 Kurt Hansen
v. 15 Oct 12, 2023 11:05 Lars Albert
v. 14 May 17, 2023 06:27 Kurt Hansen
v. 13 May 09, 2023 18:57 Kurt Hansen
v. 12 Mar 31, 2023 13:14 Kurt Hansen
v. 11 Aug 19, 2022 13:19 Kurt Hansen
v. 10 Jun 08, 2022 13:45 Kurt Hansen
v. 9 Sept 07, 2021 05:05 Kurt Hansen
v. 8 Sept 01, 2021 13:02 Kurt Hansen
v. 7 Apr 20, 2021 10:41 Kurt Hansen
v. 6 Apr 20, 2021 10:31 Kurt Hansen
v. 5 Apr 20, 2021 10:13 Kurt Hansen
v. 4 Feb 18, 2021 13:56 Kurt Hansen
v. 3 Feb 18, 2021 13:49 Kurt Hansen
v. 2 Jun 15, 2020 08:07 Kurt Hansen
v. 1 Jun 15, 2020 07:15 Kurt Hansen

Â