apiops icon indicating copy to clipboard operation
apiops copied to clipboard

Warn, don't fail, when an API is not found when publishing an API product

Open jeroenmaes opened this issue 1 year ago • 1 comments

Scenario:

  • ApiOps is used in a MultiRepo setup (~multiple independant teams)
  • API Products are managed & published in the central team repo
  • APIs are managed by the teams

When an API product is published to a higher environment, where the API itself does not exists yet, the deployment of the API Product fails the publish process.

PR Changes: Catch the "API Not Found" exception when publishing an API Product and log a warning instead of throwing an exception.

jeroenmaes avatar Apr 16 '24 09:04 jeroenmaes

@jeroenmaes please read the following Contributor License Agreement(CLA). If you agree with the CLA, please reply with the following information.

@microsoft-github-policy-service agree [company="{your company}"]

Options:

  • (default - no company specified) I have sole ownership of intellectual property rights to my Submissions and I am not making Submissions in the course of work for my employer.
@microsoft-github-policy-service agree
  • (when company given) I am making Submissions in the course of work for my employer (or my employer has intellectual property rights in my Submissions by contract or applicable law). I have permission from my employer to make Submissions and enter into this Agreement on behalf of my employer. By signing below, the defined term “You” includes me and my employer.
@microsoft-github-policy-service agree company="Microsoft"

Contributor License Agreement

@microsoft-github-policy-service agree company="Cegeka"

jeroenmaes avatar Apr 16 '24 10:04 jeroenmaes

Hi we just released v6 release candidate. Can you please try to apply your PR on the new code base?

waelkdouh avatar Jul 03 '24 20:07 waelkdouh

This has been addressed in v6. Please try again in v6 and if the issue still persists please open a new PR. Thanks for your contributions.

waelkdouh avatar Jul 05 '24 15:07 waelkdouh