Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[apim-3.2.0] “Import an Application” Admin REST API doesn’t remove the previously imported subscriptions #2328

Closed
akila95fernando opened this issue Dec 16, 2023 · 0 comments

Comments

@akila95fernando
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants