Loading…
Loading…
Learn about the publish readiness gate for services, which checks operation mappings and backend connectivity. Understand how immutable mapping versions
Publishing a service makes it live on the platform. This action activates a specific, immutable version of its request/response mapping, generates the consumer-facing API contract, and begins serving traffic at the configured endpoint. For services in the Publish direction, the contract is an OpenAPI v3 specification. For services in the Consume direction, the platform provides a WSDL for serve-back.
To prevent deploying a misconfigured or broken service, the platform uses a publish readiness gate. This automated check assesses a service's configuration before it can go live, ensuring that all enabled operations are correctly mapped and that the backend is reachable.
This document explains the publish readiness criteria, the concept of immutable mapping versions, and how the platform handles changes to the source WSDL contract over time.
Before a service can be published, it must pass a readiness assessment. This gate prevents accidental publication of services with incomplete or invalid mappings. Readiness is determined by combining diagnostics from individual operation mappings with service-level prerequisites, such as backend connectivity.
flowchart TD
subgraph "Readiness Inputs"
direction LR
A[Per-Operation Mappings]
B[Backend Test Result]
C[WSDL Drift Status]
D[Consume Direction Inputs]
end
ReadinessInputs --> Gate{Service-Level Publish Gate}
Gate --> Ready("Ready to Publish")
Gate --> WithWarnings("Ready with Warnings")
Gate --> Blocked("Publish Blocked")The readiness of all enabled operations is aggregated into a single service-level status, which determines if the service can be published.
AUTO_READY state. The service can be published without any manual intervention.AUTO_READY_WITH_WARNINGS). The service can be published after an API publisher acknowledges the warnings.MANUAL_REQUIRED state, or a non-mapping prerequisite has failed. Publishing is blocked until all issues are resolved.The platform analyzes the generated mapping for each operation in the source contract and assigns a quality grade. This status indicates whether manual review is needed before publishing.
| State | Meaning |
|---|---|
AUTO_READY | The generated full-field mapping is complete. No manual action is needed before publishing this operation. |
AUTO_READY_WITH_WARNINGS | The operation can be published, but the platform has flagged an item for review. This may include edge-case XSD constructs, ambiguous mappings, or capability notes (e.g., for MTOM/XOP or WS-Addressing). You can publish with these warnings. |
MANUAL_REQUIRED | The operation requires attention before it can be published. This state occurs when the auto-mapper cannot resolve a construct unambiguously or a required input is missing. This must be resolved using field overrides or by deselecting the operation. |
NOTE
The platform's diagnostics UI provides detailed explanations for why an operation is flagged with a warning or requires manual intervention. It includes previews of the input/response contract trees and the generated mapping rules to help pinpoint the exact location for review.
In addition to mapping readiness, the following service-level checks can block publishing:
Mappings are immutable and versioned. Any change to a service's configuration—such as regenerating the mapping, applying a field override, or changing an option—creates a new, distinct revision. You never edit a live mapping in place.
This versioning system provides stability and control over the service's behavior.
Each version is stamped with metadata, including the mapping-engine version, contract version, contract parser version, and the source contract's checksum. This ensures full traceability between a live mapping and the contract from which it was generated.
You can regenerate the mapping for the entire service or for a single operation, for instance, after updating the source WSDL. Before a regenerated mapping can be activated, the platform produces a non-breaking check report. This report allows you to verify that the changes will not break existing API consumers before making the new version live.
After a service is published, the platform monitors the source WSDL for changes. This "WSDL drift" is detected using the same mechanism as the re-import change detection feature. Each version of a service has a drift status.
| Drift State | Description |
|---|---|
UP_TO_DATE | The active mapping corresponds to the latest version of the source WSDL. |
DRIFT_DETECTED | The source WSDL has changed, but the changes are non-breaking. |
BREAKING_DRIFT | The source WSDL has breaking changes compared to the version used for the active mapping. |
UNTRACKED | The source WSDL's drift status is not being tracked. |
When drift is detected for a live service, you can create a replacement draft. This process generates a new mapping version from the updated WSDL while preserving your existing REST paths and runtime policies for any operations that still exist. This allows you to upgrade the underlying contract without repeating the initial onboarding work. After reviewing the draft, you can activate it as the new live version, with the option to roll back at any time.
If a service cannot be published, it is typically because it is in the Manual-required state. Check for the following conditions:
MANUAL_REQUIRED Operations: At least one enabled operation has a mapping issue that the platform cannot resolve automatically. Use the diagnostics UI to identify the operation and the specific fields causing the issue. Resolve the issue by applying field overrides or by disabling the problematic operation.