Skip to content
Snippets Groups Projects
Commit 89f838fc authored by Andreas Huber's avatar Andreas Huber
Browse files

Resolve "Spezifikation eines Statusmodells für eine Destination [M]"

parent 6639d100
No related branches found
No related tags found
1 merge request!121Resolve "Spezifikation eines Statusmodells für eine Destination [M]"
......@@ -9,4 +9,8 @@ docker run --rm -v "$(pwd):/work" jeanberu/swagger-cli \
swagger-cli bundle -t yaml -o "/work/$YML_OUT" "/work/$YML_IN"
# Fix: files in docker are created as root:root
sudo chown "$USER:$USER" $YML_OUT
# Not needed on macOS
if [ "$(uname)" = "Linux" ]
then
sudo chown "$USER:$USER" $YML_OUT
fi
......@@ -124,8 +124,7 @@ patch:
schema:
$ref: '../../schemas/patch-destination.yaml'
examples:
Beispiel:
$ref: '../../examples/patch-destination.yaml'
$ref: '../../examples/patch-destination.yaml'
callbacks:
NewSubmissions:
$ref: '../../callbacks/new-submissions.yaml'
......
value:
destinationId: 7881dba9-4055-4854-8b6d-11ea5b7f3047
status: active
services:
- identifier: "urn:de:fim:leika:leistung:99010003001006"
submissionSchemas:
......
......@@ -4,6 +4,7 @@ value:
totalCount: 2
destinations:
- destinationId: de735e92-8ced-4298-a021-5f4aa124cc47
status: active
services:
- identifier: "urn:de:fim:leika:leistung:99010003001006"
submissionSchemas:
......@@ -31,6 +32,7 @@ value:
- 1.0.1
- 2.1.2
- destinationId: 2f59b8c6-3206-4734-aa21-a7b2a4d92f7a
status: created
services:
- identifier: "urn:de:fim:leika:leistung:99010003001006"
submissionSchemas:
......
value:
destinationId: 7881dba9-4055-4854-8b6d-11ea5b7f3047
status: created
services:
- identifier: "urn:de:fim:leika:leistung:99010003001006"
submissionSchemas:
......
value:
destinationId: 13ad2349-975c-4167-bcd8-da606b4e1d84
status: active
services:
- identifier: "urn:de:fim:leika:leistung:99107004018000"
submissionSchemas:
......
value:
contactInformation:
legalName: Max
address: Musterstr. 31, 10000 Berlin, Deutschland
phone: "+49170123456789"
email: max@mustermann.not
unit: Department XYZ
Beispiel Kontakt:
value:
contactInformation:
legalName: Max
address: Musterstr. 31, 10000 Berlin, Deutschland
phone: "+49170123456789"
email: max@mustermann.not
unit: Department XYZ
Beispiel Status:
value:
status: active
\ No newline at end of file
value:
status: active
contactInformation:
legalName: Max
address: Musterstr. 31, 10000 Berlin, Deutschland
......
......@@ -3,6 +3,7 @@ description: Repräsentation eines Zustellpunktes
type: object
required:
- destinationId
- status
- services
- encryptionKid
- metadataVersions
......@@ -13,6 +14,14 @@ properties:
format: uuid
maxLength: 36
description: Identifikator des Zustellpunktes im Format einer UUID
status:
type: string
enum:
- created
- active
- inactive
- decommissioned
description: Status des Zustellpunktes. Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
services:
title: Unterstützte Verwaltungsleistungen
description: Auflistung aller unterstützten Verwaltungsleistungen des Zustellpunktes.
......
......@@ -2,6 +2,14 @@ title: Partielle Aktualisierung eines Zustellpunktes
description: 'Struktur mit Attributen, die aktualisiert werden sollen. Eine Teilaktualisierung einzelner Datenfelder innherhalb der Attribute ist nicht möglich.'
type: object
properties:
status:
type: string
enum:
- created
- active
- inactive
- decommissioned
description: Status des Zustellpunktes. Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
contactInformation:
$ref: './contact-information.yaml'
services:
......
......@@ -2,11 +2,20 @@ title: Aktualisierung eines Zustellpunktes
description: 'Struktur mit Attributen, die aktualisiert werden sollen.'
type: object
required:
- status
- contactInformation
- services
- encryptionKid
- metadataVersions
properties:
status:
type: string
enum:
- created
- active
- inactive
- decommissioned
description: Status des Zustellpunktes. Eine Beschreibung der Status finden Sie in den Detailinformationen unter [Zustellpunktverwaltung](https://docs.fitko.de/fit-connect/docs/details/destination-management).
contactInformation:
$ref: './contact-information.yaml'
services:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment