Skip to content
For the complete documentation index, see llms.txt. This page is also available as Markdown.

Deployment

Helm values and Docker build args that turn the notification connector on for Registry and AWE.

Registry staff API, the Registry Celery worker, and AWE each get the same connector environment. The connector reads NOTIFICATION_* directly. There is no service-specific prefix.

The staff UI gets a different set. It loads the client. It does not send. The default notification provider install is in Novu.

Shared values

Registry chart: values.yaml and questions.yaml.

AWE chart: values.yaml and questions.yaml.

Helm value
Env on the API or worker
Default

global.notificationEnabled

NOTIFICATION_ENABLED

true

global.notificationProvider

NOTIFICATION_PROVIDER

novu

global.notificationProviderUrl

NOTIFICATION_PROVIDER_URL

http://commons-novu-api:3000

global.notificationWorkflows

NOTIFICATION_WORKFLOWS

The event map for that product. See below

global.staffPortalBaseUrl

NOTIFICATION_STAFF_PORTAL_BASE_URL

empty

global.notificationApiKeySecret

Secret name for NOTIFICATION_PROVIDER_API_KEY

commons-novu

global.notificationApiKeySecretKey

Secret key

api-key

The API key reference is optional. A pod can start when the Novu secret is not there yet. Sends then fail until the key exists, and that failure is logged.

NOTIFICATION_STAFF_PORTAL_BASE_URL is the public staff UI origin, for example https://staff.example.org, with no path and no trailing slash required (the app strips one trailing slash). Locale /en is fixed in the notification provider workflow. Use the registry staff UI host, not the AWE admin host. Export and AWE links are empty of a host until this value is set.

notificationEnabled: false skips every send, even when a workflow is listed. Removing one key from notificationWorkflows skips only that event.

Registry puts the same NOTIFICATION_* block on the staff API and on the Celery worker. Export and ingest sends run on the worker. AWE puts the block on the AWE API.

Registry workflow map

AWE workflow map

The AWE Helm question describes novu as the provider value. The connector still loads whatever name is registered. See Switch provider. Changing provider means a new Python provider and a new notificationProvider value. The event map can stay. The client provider value changes with it. See Switch provider on the client.

Staff UI values

These are on the registry staff UI deployment. They are not connector settings. The staff UI server reads them and passes them into @openg2p/notification. See Client.

Helm value
Pod env
Use

global.notificationProvider

NOTIFICATION_PROVIDER

Client adapter name. novu when that is the provider

global.notificationApplicationIdentifier

NOTIFICATION_APPLICATION_IDENTIFIER

Provider application identifier. Empty until you copy it from the provider environment

global.notificationBackendUrl

NOTIFICATION_BACKEND_URL

Public API URL, https:// plus the provider API hostname

global.notificationWebsocketUrl

NOTIFICATION_WEBSOCKET_URL

Public WebSocket URL, https:// plus the provider WebSocket hostname

global.notificationHmacSecretKey

NOTIFICATION_SECRET_KEY

Server-only HMAC secret. On Novu this is key novu-secret-key

Do not point the browser at the in-cluster API (http://commons-novu-api:3000 on the default install). Email and SMS credentials are not in this table. They are set on the notification provider. See Email and SMS.

Docker

Staff API and Celery images install the connector from git. Both Dockerfiles take:

Build arg
Default

NOTIFICATION_REPO

openg2p/notifications

NOTIFICATION_REF

develop

The pip URL is git+https://github.com/${NOTIFICATION_REPO}@${NOTIFICATION_REF}#subdirectory=connector.

The AWE image builds a wheel of the same URL in the builder stage and installs openg2p-notification in the runtime stage. Args are the same NOTIFICATION_REPO and NOTIFICATION_REF. Source: AWE Dockerfile.

A registry variant image (FROM the platform staff API or Celery image) keeps the connector that was installed in the base. Rebuild the platform image when the connector ref changes, then rebuild the variant.

Last updated

Was this helpful?