apiops icon indicating copy to clipboard operation
apiops copied to clipboard

[BUG] Workspace Publisher YAML File overload variables ignored

Open PetrutB opened this issue 7 months ago • 1 comments

Release version

v6.0.0.2-alpha.1.0.3

Describe the bug

Hello team,

Can we get a sample publisher file for workspace configuration publishing?

I've been trying for the last couple of hours to overload namedValues or serviceUrls of the APIs inside the Workspaces, but to no success.

The regular sample YAML publisher file seems to not apply for Workspaces scenarios and the values inside of it are ignored by the publisher tool. What keys should we use within it to make the publisher tool aware of the values that need overloading?

Thank you!

Expected behavior

YAML Publisher configuration values are not ignored on APIM and the destination APIM is updated with the correct values

Actual behavior

The APIs and NamedValues get deployed in the Workspace with the values extracted from source APIM.

Reproduction Steps

Using the Workspace supported ApiOps Toolkit extract a Workspace.

Try to overload the exported variables with the sample provided Publisher Configuration YAML

PetrutB avatar May 16 '25 15:05 PetrutB

  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.

github-actions[bot] avatar May 16 '25 15:05 github-actions[bot]