Application Update Event

Published to the sdk-management.updates Pub/Sub topic with eventType=application-update whenever an application changes state.

Trigger Operations

Operation Description

create

A new application is created.

update

An existing application’s properties are modified.

clone

An application is cloned from an existing one.

activate

An application is activated and becomes live.

deactivate

An application is deactivated and taken offline.

archive

An application is archived and can no longer be used.

Message Schema

{
  "operation": "create",
  "applicationId": 42,
  "applicationCode": "ABCDE-12345",
  "tenantId": 123456,
  "eventTime": "2025-01-15T10:30:00.000Z"
}

Fields

Field Type Description

operation

string

The operation that triggered the event. One of: create, update, clone, activate, deactivate, archive.

applicationId

number

The unique identifier of the application.

applicationCode

string

The human-readable code of the application.

tenantId

number

The identifier of the tenant that owns the application.

eventTime

string (ISO 8601)

The timestamp when the operation occurred (derived from the application’s updatedAt field).

Source

The event is constructed by the publishApplicationUpdateEventCommand, which maps an Application entity and the triggering operation to the event payload. It is then published via the ApplicationUpdateEventPublisher interface, backed by PubSubUpdateEventPublisher in production.