Loading…
Loading…
Learn the standard procedure for upgrading the SOAP-2-REST platform, including the order of component deployment, rollback strategies, and schema
This guide describes the standard procedure for upgrading the SOAP-2-REST platform between releases. The platform is designed with specific principles to ensure that upgrades are safe, predictable, and observable. As version v1.0 is the first generally available release, this procedure applies to all future upgrades from that point forward.
The core principles of the upgrade process are:
admin-api service using Flyway. Migrations are immutable and forward-only. Manual schema intervention is not required.IMPORTANT
Always consult the release notes for the specific version you are upgrading to. Release-specific instructions, especially those concerning licensing, schema changes, or breaking changes, override the general procedure described in this document.
Follow these steps to perform a standard upgrade of the platform.
control plane, runtime, and worker components at the target version tag.admin-api (control plane) component first. On startup, it will apply any necessary database schema migrations. Wait for it to report a healthy state and confirm that the schema validation was successful.runtime and worker components. Confirm that each service starts and reaches a healthy state.WARNING
A stale traffic relay may silently fail to write new ingest data after a schema change. It is critical to keep this component in sync with the rest of the platform.
deploy-provenance line reflects the new version.The order in which components are deployed is critical for a successful upgrade. The admin-api service owns and manages the database schema, so it must be upgraded before other components that depend on that schema.
The required sequence is:
admin-apiruntimeworkerrelay/ingest (if used)This flow ensures that the database schema is at the correct version before the runtime, worker, and relay services start, preventing compatibility issues.
flowchart TD
A["1. Deploy Control Plane (admin-api)"] --> B{"Database Schema"};
A -- "Applies migrations on startup" --> B;
B -- "Is now at target version" --> C["2. Deploy Runtime"];
B -- "Is now at target version" --> D["3. Deploy Worker"];
B -- "Is now at target version" --> E["4. Deploy Traffic Relay (if used)"];
C --> F["Ready to serve traffic"];
D --> G["Ready to process data"];
E --> H["Ready to ingest data"];If an upgrade encounters a problem, you can roll back using one of the following methods.
To roll back the application code, redeploy the previous image tags for the admin-api, runtime, and worker components. Because service mapping versions and generated contracts are preserved independently of platform upgrades, this action restores the previous behavior.
WARNING
Database schema migrations are forward-only. A direct schema rollback is not supported.
If a schema-level rollback is necessary, you must restore the database from the backup you created before the upgrade. The release notes for a given version will explicitly state if a schema change cannot be tolerated by a previous version of the application and will provide specific guidance.
Independent of a platform upgrade, an API publisher can roll back a single service's mapping to a previously published version at any time from the UI. This does not require a platform rollback.
The platform is designed to support zero-downtime upgrades in high-availability (HA) environments.
runtime component autoscales and maintains a warm minimum, allowing for rolling updates without dropping traffic.admin-api applies database migrations before it begins serving traffic, ensuring the new schema is ready before dependent services are cycled.admin-api first to prepare the schema before the runtime pods are replaced.