International-Data-Spaces-Association / InformationModel

The Information Model of the International Data Spaces implements the IDS reference architecture as an extensible, machine readable and technology independent data model.
Apache License 2.0
63 stars 35 forks source link

HTTP response for asynchronous Messages using Multipart #421

Closed stefkoslowski closed 3 years ago

stefkoslowski commented 3 years ago

In the Scenario Contract Negotiation as described in Step 2 of the IDS Handshake an asynchronous message is sent. Since HTTP is synchronous by definition this leaves us with the question as to what response should be send back in this specific case. Shall we just respond with a 200 status code or send another Infomodel message such as a NotifcationResponseMessage?

HaydarAk commented 3 years ago

From an Information Model perspective, there are 2 response types in normal cases:

We also have the ids:MessageProcessedNotificationMessage, which can be seen similar to a https://github.com/International-Data-Spaces-Association/InformationModel/blob/40f029a1ffc0846dfbe720e6268c07d5db68a898/taxonomies/Message.ttl#L330-L333

HaydarAk commented 3 years ago

I hope my explanation helped you. If not, feel free to reopen the issue for further questions and so on :)