-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Labels
Description
Thema / Theme
Klantinteracties API
Omschrijving / Description
In the OZ setup, creating a relationship between a case and a document triggers a notification. This notification is then picked up by another component, which creates the mirrored (bidirectional) relationship.
In the current implementation for OP/OK, only a one-way link is established, there’s no information about which specific document the link refers to.
This behavior needs to be updated so that the relationship between OP/OK and documents is bidirectionally recorded, similar to the OZ approach.
Acceptance criteria:
- Creating a document relationship in OP/OK triggers a notification, just like in OZ.
- The corresponding mirrored relationship is automatically created by the receiving component.
- Correctly identify and link the document involved.
Requirements to make this possible:
- Open Notificaties should support cloud events (Open Notificaties should handle cloud events open-zaak/open-notificaties#333)
- notifications-api-common should make it possible for other applications to send cloud events to Open Notificaties (currently part of Changes required to make cloud events ready for production use open-zaak/open-zaak#2195
- ...
To be implemented
- Open Zaak should add
klantcontactto theobjectTypeenum for ObjectInformatieObject - Possibly refactor OnderwerpObject.onderwerpobjectidentificator? Currently it's not clear how to link with multiple Documenten APIs, perhaps we should use URNs instead?
- Open Klant should send a cloud event to Open Notificaties when an OnderwerpObject is created, updated or deleted (shape TBD)
- this should include the reference to the document and the reference to the klantcontact
- Open Zaak should be able to handle incoming cloud events for created OnderwerpObjecten to create/update/delete the ObjectInformatieObject relation
Toegevoegde waarde / Added value
No response
Aanvullende opmerkingen / Additional context
No response
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Triage