Skip to content

[Bug]: API Delete Does Not Clear Routes in Policy Engine #3245

Description

@nimsara66

Please select the area the issue is related to

Gateway

Please select the aspect the issue is related to

Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI)

Description

When you delete an API from the Platform Gateway, it is correctly removed from the router, and the API no longer accepts requests. However, when you check the Policy Engine config_dump, the routes for the deleted API are still present.

Steps to Reproduce

  1. Start the platform gateway independently with config_dump enabled
  2. Create a sample API
  3. Observe the API is responding
  4. Delete the API
  5. Observe the API is not responding
  6. Goto http://localhost:9002/config_dump and observe the dangling routes of the deleted API

Severity Level of the Issue

Severity/Major (Important functionality is broken. Should be prioritized. Doesn't need immediate attention)

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

Labels

Area/GatewayAny issues related to API deployment in gateway, routing etc.Aspect/APIAPI definitions, contracts, OpenAPI, interfacesSeverity/MajorType/Buggw-1.2.0

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions