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

Upsert doesn't work in case backend endpoint is changed #99

Open
flaviostutz opened this issue Mar 10, 2023 · 1 comment
Open

Upsert doesn't work in case backend endpoint is changed #99

flaviostutz opened this issue Mar 10, 2023 · 1 comment
Labels
help wanted Extra attention is needed type: bug Something isn't working

Comments

@flaviostutz
Copy link

flaviostutz commented Mar 10, 2023

After an API is created (via "sls deploy"), if we change apidefs.[].backend.http.baseUrl in configuration, WSO2 API configuration isn't changed (the previous version is kept) when doing "sls deploy" for upserting.

Steps to reproduce

  • Deploy an API via sls deploy
  • Check the endpoint url on WSO2 console
  • Change baseUrl in plugin configuration to something else
  • Deploy API again via sls deploy
  • Change endpoint url on WSO2 console (should be the same as in the first deploy)

The workaround that I use is to delete the API and re-create again with "sls deploy"

@ramgrandhi
Copy link
Owner

ramgrandhi commented May 9, 2023

@flaviostutz - can you test if it still persists with the latest version? It helps to prioritise this issue. Thanks for reporting!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed type: bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants