Azure / apiops

APIOps applies the concepts of GitOps and DevOps to API deployment. By using practices from these two methodologies, APIOps can enable everyone involved in the lifecycle of API design, development, and deployment with self-service and automated tools to ensure the quality of the specifications and APIs that they’re building.
https://azure.github.io/apiops
MIT License
329 stars 193 forks source link

[BUG]ProductApiInformation.json file is empty after extraction #636

Closed tsauret1 closed 3 months ago

tsauret1 commented 3 months ago

Release version

v6.0.1.1

Describe the bug

After extraction, the ProductApiInformation.json file is empty under the product in the products folder

Expected behavior

To have APIs associated with the product listed in the file

Actual behavior

The file is being generated with an empty object

Reproduction Steps

Run extraction using the latest version

github-actions[bot] commented 3 months ago
  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.
guythetechie commented 3 months ago

This is expected. If a product is associated with an API, you'll see a file at /artifacts/products/productName/apis/apiName/productApiInformation.json. Removing the file means removing the association. There is no information contained in the file.

See #245 for the full discussion regarding this solution.