Configuring cloud events
Open Zaak has experimental support for sending cloud events (see Cloud events for more information). These cloud events can be sent to Open Notificaties, which can route the events to subscribed webhooks. In order to make sure these events are sent, some configuration is required in both Open Zaak and Open Notificaties
Open Zaak
Make sure the following environment variables are configured (see Environment configuration reference)
ENABLE_CLOUD_EVENTS: set this toTrue.NOTIFICATIONS_SOURCE: set this to the value that should be used in thesourcefield for cloud events (e.g.urn:nld:oin:01823288444:zakensysteem).SITE_DOMAIN: set this to the primary domain Open Zaak is hosted on (e.g.open-zaak.gemeente.nl).
Make sure the connection with Open Notificaties is configured via
setup_configuration. See Open Zaak configuration (CLI) for more information.
Alternatively, if setup_configuration is not used for programmatic configuration,
the connection with Open Notificaties can be configured manually via the admin interface.
For more information on how to do this, see Open Zaak configuration (admin).
Open Notificaties
For the required configuration in Open Notificaties, see Configuring cloud events for Mijn Overheid