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]-Deletion of the default version API synapse file when a new version API is created #11015

Closed
saranki opened this issue Apr 15, 2021 · 1 comment

Comments

@saranki
Copy link

saranki commented Apr 15, 2021

Description:

In wso2am-3.2.0, when an API is created and published as the default version (Make this the default version = Yes) 2 synapse files were created in the /repository/deployment/server/synapse-configs/default/api/ folder as follow.

  • admin--gal_v111.xml
  • admin--gal.xml

image

Another version of the API was created and published. When the new version synapse was created as admin--gal_v222.xml, the default synapse file, admin--gal.xml was removed from the synapse folder.
image

When we make v111 API as Make this the default version = No and then again as Make this the default version = Yes the admin--gal.xml was created.
image

Steps to reproduce:

  1. Create an API with version 111
  2. Make it the default API and publish
  3. The synapse files for the default API will be created. One with v111 prefix and another one without any version in the synapse file
  4. Create a versioned API from the previously create API with version value 222 and publish it
  5. Now, the synapse file for v222 will be created and the synapse file for the same API that doesn't have the version will be deleted from the /repository/deployment/server/synapse-configs/default/api/ folder

Affected Product Version:

wso2am-3.2.0

@praminda
Copy link
Contributor

This is not applicable for 4.x.x. Please try with a 4xx version, this should get resolved.

AnuGayan pushed a commit to AnuGayan/product-apim that referenced this issue Sep 4, 2021
chamilaadhi pushed a commit to chamilaadhi/product-apim that referenced this issue Jan 13, 2023
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

2 participants