You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
“Import an Application” Admin REST API doesn’t remove the previously imported subscriptions
Steps to Reproduce
Create 2 apis .
Create 1 application and subscribe to above 2 apis
Export the application using Rest API [1] from Envrionment ( Env 1 )
Import the exported application to a new environment ( Env 2 ) using REST API [2]
The application in new environment will have 2 subscriptions as expected
From Env 1 , remove one subscription .
Export the Application .
Import the exported application to environment 2 .
The environment 2 , will still have both subscriptions .
Expectation is to drop the removed subscription from Env 1 .
Description
“Import an Application” Admin REST API doesn’t remove the previously imported subscriptions
Steps to Reproduce
Create 2 apis .
Create 1 application and subscribe to above 2 apis
Export the application using Rest API [1] from Envrionment ( Env 1 )
Import the exported application to a new environment ( Env 2 ) using REST API [2]
The application in new environment will have 2 subscriptions as expected
From Env 1 , remove one subscription .
Export the Application .
Import the exported application to environment 2 .
The environment 2 , will still have both subscriptions .
Expectation is to drop the removed subscription from Env 1 .
[1] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/admin-apis/admin-v1/admin-v1/#tag/Application-(Individual)/paths/~1export~1applications/get
[2] https://apim.docs.wso2.com/en/3.2.0/develop/product-apis/admin-apis/admin-v1/admin-v1/#tag/Application-(Individual)/paths/~1import~1applications/post
Affected Component
APIM
Version
3.2.0
Environment Details (with versions)
No response
Relevant Log Output
No response
Related Issues
No response
Suggested Labels
No response
The text was updated successfully, but these errors were encountered: