Skip to content

Fix Integration Issues of Gateway Controller and WSO2 API Manager #5101

Description

@DinithHerath

Description

Description

Integration Issues: Gateway Controller ↔ WSO2 API Manager (carbon-apimgt)

Overview

The gateway-controller connects to WSO2 API Manager (carbon-apimgt) over two channels: a WebSocket for live push events and a REST layer for bulk state sync at startup.

The WebSocket contract — deployment events (api.deployed/undeployed/deleted) and API key events (apikey.created/updated/revoked) — aligns correctly between the two sides. However, the REST sync layer and several ancillary contracts diverge significantly.

The controller's REST sync layer was written against a fuller "Platform-API" contract that carbon-apimgt only partially implements, resulting in broken startup state across every resource type: APIs, subscriptions, subscription plans, and API keys. Some of these failures are silent — the gateway starts up, reports no errors, and simply serves stale or empty state.

This task is to analyze these gaps and stabilize the platform gateway integration with APIM 4.7.0

Affected Component

APIM

Version

API Manager 4.7.0, Gateway Controller 1.1.0

Steps to Reproduce

Setup wso2 api manager with gateway and check the initial sync

Version

4.7.0

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions