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

[Question] Need to know yaml configuration for environemnt specific policy #602

Closed
DibyaRanjan1 opened this issue Jul 26, 2024 · 2 comments

Comments

@DibyaRanjan1
Copy link

Release version

all version

Question Details

Do you support environment-specific policy.xml in the configuration yaml file ? I want to override policy.xml per API level.

Expected behavior

Support to override environment-specific policy.xml file. what should be the syntax to override policy ?

`apimServiceName: JLL-GB-APIM-QA
apis:

  • name: my-api-name
    properties:
    serviceUrl: https://my-api.qa-backend-url
    namedValues:
    • name: my-namedvalue-name
      properties:
      displayName: my-namedvalue-name
      secret: false
      tags:
      • tags-api
      • config
        value: "{ \u0022url\u0022:\u0022https://my-api.qa-backend-url\u0022, \u0022user\u0022:\u0022Jll0330300DEVUser\u0022, \u0022vkey\u0022:\u00220330300-api-password\u0022, \u0022cachedur\u0022:\u0022600\u0022 }"
        `

Actual behavior

Support to override environment-specific policy.xml file. what should be the syntax to override policy ?What should the syntax be

Reproduction Steps

Apply policy settings in configuration.yaml file.

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

We don't support that. We recommend using namedvalues and then override the namedvalues across environments.

@waelkdouh waelkdouh closed this as not planned Won't fix, can't repro, duplicate, stale Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants