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]Extractor pipeline getting failed at Fetch Extractor step when trying to extract definition for single API after adding tokenization to change API name in different environment #713

Open
v-dast opened this issue Dec 16, 2024 · 2 comments

Comments

@v-dast
Copy link

v-dast commented Dec 16, 2024

Release version

APIOps toolkits for Azure APIM v6.0.1.1

Describe the bug

##[error]PowerShell exited with code '1'.
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=d02035b8-3f57-49b2-b89f-6c13ad30cdcd;]PowerShell exited with code '1'.
##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell exited with code '1'.
##[debug]task result: Failed
##[error]PowerShell wrote one or more lines to the standard error stream.
##[debug]Processed: ##vso[task.issue type=error;source=TaskInternal;correlationId=d02035b8-3f57-49b2-b89f-6c13ad30cdcd;]PowerShell wrote one or more lines to the standard error stream.
##[debug]Processed: ##vso[task.complete result=Failed;]PowerShell wrote one or more lines to the standard error stream.
##[error]InvalidOperation: /home/vsts/work/temp/e9b276f0-a9d8-4f16-946d-b3477352ff95.ps1:24
Line |
24 | … om/Azure/apiops/releases/download/v6.0.1.1/$releaseFileName
_;!!Afohz …
| ~~~~~~~~~~~~~~~~~~
| The variable '$releaseFileName__' cannot be retrieved because it has not
| been set.

##[debug]Processed: ##vso[task.issue type=error;source=CustomerScript;correlationId=d02035b8-3f57-49b2-b89f-6c13ad30cdcd;]InvalidOperation: /home/vsts/work/temp/e9b276f0-a9d8-4f16-946d-b3477352ff95.ps1:24
Line |
24 | … om/Azure/apiops/releases/download/v6.0.1.1/$releaseFileName
_;!!Afohz …
| ~~~~~~~~~~~~~~~~~~
| The variable '$releaseFileName__' cannot be retrieved because it has not
| been set.

Expected behavior

It should be extracted in a separate folder

Actual behavior

at Fetch Extractor step it is getting failed and not extracting the definition also need to know steps for publishing specific APIs or new APIs only, rather than all APIs in the Azure DevOps Repos.

Reproduction Steps

run-publisher.yaml.txt
run-publisher-with-env.yaml.txt
run-extractor.yaml.txt

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.

@v-dast
Copy link
Author

v-dast commented Dec 16, 2024

Need help with extracting a single API and Publishing that single API only to higher environment instead of all APIs in azure DevOps repos

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

1 participant