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] QA deployment success but APIM changes are not reflected in QA #503

Closed
JashwanthGuvvala opened this issue Mar 14, 2024 · 2 comments
Closed

Comments

@JashwanthGuvvala
Copy link

JashwanthGuvvala commented Mar 14, 2024

Release version

v5.1.3

Describe the bug

QA deployment success but APIM changes are not reflected in QA. I can see below warning message. it was working fine earlier.

QA config file:
apis:

  • name: TestAPIM
    properties:
    serviceUrl: http://test.com
  • name: v1
    properties:
    serviceUrl: http://test.com
    diagnostics:
    • name: applicationinsights
      properties:
      verbosity: Error
      loggerId:

I am using Replace Token Version 5.0.2 (Latest)

Task 'Replace Tokens' version 3 (replacetokens@3) is deprecated.Push changes to QA APIM • Push changes to QA APIM • Initialize job |  
  | The replacetokens@3 task has been deprecated. Use replacetokens@5 (node10) or replacetokens@6 (node16) task instead.Push changes to QA APIM • Push changes to QA APIM • Initialize job

Expected behavior

Once deployment successful, APIM changes should reflect in QA.

Actual behavior

Once deployment successful, APIM changes are not reflect in QA.

Reproduction Steps

Once deployment successful, APIM changes should reflect in QA.

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.

@JashwanthGuvvala JashwanthGuvvala closed this as not planned Won't fix, can't repro, duplicate, stale Mar 14, 2024
@karthikpeddi115
Copy link

Hi @JashwanthGuvvala
Hope you are doing good.
I am facing the same issue, is it resolved for you?
I tried to replacetoken from 3 to 5 and 6 as well, pipeline is getting successful but not able to override the values present in qa yaml file.

image

Need to replace above with using below qa.yaml file

apimServiceName: apiops-poc-sea-apim
namedValues:

name: test-backend-url
properties:
displayName: testbackendurl
secret: false
value: https://qa.ar.com/umbraco/api/content

name: test-cache-base-url
properties:
displayName: test-cache-base-url
secret: false
value: [https://dev-ec-std.azurewebsites.net:443/api]

name: test-cache-rewrite-url
properties:
displayName: test-cache-base-url
secret: false
value: /TestAPI1/triggers/When_a_HTTP_request_is_received/invoke?api-version=2022-05-01&sp=%2Ftriggers%2FWhen_a_HTTP_request_is_received%2Frun&sv=1.0&sig=6dwYsmnQ_wSZkk3gKDazajr1

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