Configuratie van OMC
OMC heeft toegang tot je klant en zaakregistratie nodig, en je Notify API sleutel. Met die informatie vormt OMC de brug tussen je interne registraties en de NotifyNL service. De details van de configuratie is opgenomen in de OMC documentatie.
To work properly OMC always requires these mandatory environment variables to be set:
NOTE: If some environment variable is missing but required by one of the countless scenarios, conditions, or workflows, the OMC application will return a readable and user-friendly API response with the name of the missing environment variable. This is the easiest way to figure out what else is required.
ASPNETCORE_ENVIRONMENT
Used by
[OMC]/events/versionendpoint and to determine whichappsettings[.xxx].jsonwill be used.
OMC_AUTH_JWT_SECRET
OMC_AUTH_JWT_ISSUER
OMC_AUTH_JWT_AUDIENCE
OMC_AUTH_JWT_EXPIRESINMIN
OMC_AUTH_JWT_USERID
OMC_AUTH_JWT_USERNAME
Required to get access to OMC and be able to use it. Moreover, Open Notificaties Web API service will use this method to make an authorized requests while sending notification events to OMC.
OMC_FEATURE_WORKFLOW_VERSION
Without this setting (the version needs to be supported) the OMC Web API will not even run and specific implementations of underlying services will not be resolved by Dependency Injection mechanism. By default you can always use
"1"if you don't know yet which other OMC Workflow version you should use.
ZGW_AUTH_JWT_SECRET
ZGW_AUTH_JWT_ISSUER
ZGW_AUTH_JWT_AUDIENCE
ZGW_AUTH_JWT_EXPIRESINMIN
ZGW_AUTH_JWT_USERID
ZGW_AUTH_JWT_USERNAME
JWT authorization is required by some versions of external API services used in certain OMC Workflow versions.
ZGW_AUTH_KEY_OPENKLANT => Required only in certain OMC Workflow versions
ZGW_AUTH_KEY_OBJECTEN
ZGW_AUTH_KEY_OBJECTTYPEN
API key authorization is required by some versions of external API services used in certain OMC Workflow versions.
ZGW_ENDPOINT_OPENZAAK
ZGW_ENDPOINT_OPENKLANT
ZGW_ENDPOINT_BESLUITEN
ZGW_ENDPOINT_OBJECTEN
ZGW_ENDPOINT_OBJECTTYPEN
ZGW_ENDPOINT_CONTACTMOMENTEN
Endpoints might have different paths (e.g.,
domain/something/v1/) depends on version of external API service used in certain OMC Workflow. For example domains for OpenKlant and ContactMomenten depends on version of Open Klant Web API service. Moreover, domains and paths depends on the place where your version of Web API service was deployed (domain) and the way how it is internally structured (paths).
NOTIFY_API_BASEURL
NOTIFY_API_KEY
Values required to initialize Notify HTTP client.
These environment variables are optional:
SENTRY_DSN
SENTRY_ENVIRONMENT
Logging and analytics in third-party service (Sentry.io).
Stapsgewijze introductie van OMC
Je kunt OMC introduceren per zaaktype. Hierdoor kan je eerst beginnen met een proces en ervaring opdoen met OMC en Notify. Je doet dit door gebruik te maken van de whitelist functie in OMC.
Last updated