apim-apps icon indicating copy to clipboard operation
apim-apps copied to clipboard

Fix #3657: Set default Subscription Plan during Async API creation

Open DakshithaS opened this issue 9 months ago • 1 comments

Issue Reference

Fixes wso2/api-manager#3657

Description

When creating an Async API by providing a URL or uploading a file, the subscription plan was set to null. This caused issues where no default subscription policy was applied in the deployment.

Fix

  • Set the default subscription policy to ['AsyncUnlimited'], ensuring that every Async API has a default subscription policy unless explicitly changed by the user.
  • This implementation follows the same approach as the REST API, where a default subscription policy is assigned unless a different value is explicitly set.

Changes

  • Applied the default policy value at the reducer level to ensure that the policy is set during the API creation process.

DakshithaS avatar Mar 18 '25 00:03 DakshithaS