Skip to content

Inconsistent SUBSCRIPTIONS_DELETE Events for API Product Subscriptions When Deleting Applications #5157

Description

@nuwankng

Description

It appears that,

  • When an existing subscription is deleted directly from an API or an API Product, the Gateway correctly publishes the SUBSCRIPTIONS_DELETE event for both API and API Product subscriptions.

  • However, when an application containing both API and API Product subscriptions is deleted, the Gateway publishes the SUBSCRIPTIONS_DELETE event only for the API subscriptions. The corresponding event is not published for the API Product subscriptions.

Steps to Reproduce

  • Create an application and subscribe to both API and API products type types.
  • Check the behaviour when application is deleted by enabling the GW listeners DEBUG logs
logger.listeners.name = org.wso2.carbon.apimgt.gateway.listeners
logger.listeners.level = DEBUG

Version

APIM 4.3.0

Environment Details (with versions)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions