Operations

Migrating from the legacy contract

If you were called by App Center, or polled it, the replacement is a capability or a webhook.

The platform used to support two shapes that no longer exist: App Center called per-application routes to push profiles and business records, and scheduled jobs replayed state on boot. Both are gone. Nothing pushes state into an application on startup, and nothing is scheduled to.

What replaces what

Receive a pushed user or business profile on a bespoke route
NowRegister a webhook for user.updated / business.updated and reconcile by pulling
Answer a bespoke App Center call about your own data
NowDeclare a capability with the matching contract, and let App Center fan it out
Rely on a boot-time sync to repair drift
NowRun your own reconcile on a schedule — retries are bounded and boot pushes are gone
Accept a shared session or a platform-wide JWT
NowVerify RS256 access tokens against the issuer's JWKS, per audience

Order of work

  1. 1

    Move identity first

    It is the only change that can lock people out. Verify tokens against the JWKS, then delete the old verification path in the same release.

  2. 2

    Replace the inbound push

    Register the webhook, verify signatures, then switch the old route to answer 410 and watch the delivery log for stragglers.

  3. 3

    Replace the outbound read

    Declare the capability, run the admin test until it reports ok, then remove the bespoke route.

  4. 4

    Delete the sync jobs

    Replace them with a reconcile that runs on your schedule and compares against the Application API.

Do not run both identity paths

Two verification paths means two ways to be wrong, and the weaker one becomes the real security boundary. Cut over in one release and keep the old code only long enough to confirm no traffic arrives.

Something here out of date or unclear?

The platform team answers integration questions directly.

support@versified.com.gh
32 pages in this documentation