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

[BUG] Operation IDs are not identical in SOAP service deployment #538

Closed
davidliuhca opened this issue Apr 26, 2024 · 5 comments
Closed
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@davidliuhca
Copy link

Release version

v2.X

Describe the bug

Once deployed a SOAP service to another APIM instance (say Stage), the operation IDs are different from the original APIM(say Dev). This will cause errors when Publisher try to deploy the operation level policies.

The root cause is: the Extract creates operation folders under the API folder by using the operation IDs (for Soap service, operation id is GUID), and puts the policy files to these folders. When publishing, the operation IDs will be different as they are GUID. So publishing operation policy will fail because it's based on the operation ID.

Expected behavior

Publish the whole API along with the policies in each operation.

Actual behavior

Failed to publish operation policy because the operation ID doesn't exist.

Reproduction Steps

  1. In the APIM DV, pickup a SOAP service, add some policies to some operations.
  2. Extract and Publish
Copy link

  Thank you for opening this issue! Please be patient while we will look into it and get back to you as this is an open source project. In the meantime make sure you take a look at the [closed issues](https://github.com/Azure/apiops/issues?q=is%3Aissue+is%3Aclosed) in case your question has already been answered. Don't forget to provide any additional information if needed (e.g. scrubbed logs, detailed feature requests,etc.).
  Whenever it's feasible, please don't hesitate to send a Pull Request (PR) our way. We'd greatly appreciate it, and we'll gladly assess and incorporate your changes.

@waelkdouh
Copy link
Contributor

Please update to the latest release and let us know if the issue persists.

@davidliuhca
Copy link
Author

I downloaded the newest version and tried, unfortunately I got the same error

@waelkdouh waelkdouh added the bug Something isn't working label Apr 26, 2024
@waelkdouh
Copy link
Contributor

Did you search the issues (both open and closed)? I recall seeing something related to soap.

@guythetechie any thoughts?

@guythetechie
Copy link
Contributor

See #399. If you import a SOAP specification file, APIM generates new operation IDs. We don't control this behavior, and there's unfortunately no clean solution.

@guythetechie guythetechie closed this as not planned Won't fix, can't repro, duplicate, stale Apr 30, 2024
@guythetechie guythetechie added the duplicate This issue or pull request already exists label Apr 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants