[BUG] Deleting objects in the git repository does not delete it from APIM

Open
#773 14 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Quiet
Tech stack
azure, csharp, git
Domain
api, cloud, devops

Research direction

Start by reproducing the issue in release 6.0.1.7: remove an API or subscription from the Git repository, run the publisher pipeline, and inspect APIM. Trace the publisher pipeline's deletion handling and compare its behavior for APIs and subscriptions. Done means deleted repository objects are also removed from APIM without leaving the environment inconsistent.

Written by the indexing model from the issue text.

Description

Release version

6.0.1.7

Describe the bug

When deleting objects like API's or Subscriptions in the Git Repository, we removed the definitons from git repository. The expected behavior is for apiops to remove the objects from apim after running the publisher pipeline, but it does not remove and objects stay in apim

Expected behavior

The expected behavior is for apiops to remove the objects from apim after running the publisher pipeline,

Actual behavior

The objects continue to be on apim and no deletion happens, leaving environment in inconsistent state

Reproduction Steps
  1. Delete an API/Subscription in Git repository
  2. Run publisher pipeline
  3. Validate if the deletion happened, i see objects continue to be on apim after that
Dominant language
C#
Stars
448
Forks
247
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Azure/apiops

All issues in Azure/apiops

Similar issues

More C# issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.