-
Notifications
You must be signed in to change notification settings - Fork 231
Description
Release version
v6.0.2
Describe the bug
I am using the code provided to deploy to my PROD environments named values, products, subscriptions, and APIs. While the named values, products and subscriptions work successfully, my API operations' inbound policies do not get updated, with the original code provided by Azure.
Expected behavior
The APIM API operations inbound policies get updated in PROD with what's in my DEV APIM.
Actual behavior
The APIM API operations inbound policies remain unchanged and not similar in PROD to what's in my DEV APIM.
Reproduction Steps
I have downloaded the files provided by Azure, have updated the configuration.prod.yaml file, as well as the parameters in the run-extractor.yaml file to meet my business needs. I then ran the run-extractor.yaml file through a DevOps pipeline, which succeeded by creating an "artifacts" folder in my repository, along with everything that's needed: an "apis" directory with all my APIs, their operations and policies (policy.xml) for each of them. Finally, I ran the run-publisher.yaml file through another DevOps pipeline which succeeded, but pushed everything but the inbound policies.
Also, I have tried to add the "apis" key to my configuration.prod.yaml file, with the following format:
apis:
my_api:
operations:
policy:
override: true