[BUG] API's are not getting deleted

Open
#742 2 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

Research direction

Start with the publisher pipeline that runs after merging changes to the APIs folder, then trace how a deleted API folder is handled when publishing to Azure APIM. Reproduce the test-api deletion flow from the issue and compare the repository state with APIM after a successful run. Done means the deleted API is removed from APIM.

Written by the indexing model from the issue text.

Description

Release version

v6.0.1.4

Describe the bug

I am trying to delete API's from repository by

  1. Deleting entire API folder.
  2. Commit to branch
  3. Create PR
  4. Merge to main branch.
  5. On merge triggers publisher pipeline
  6. Publisher pipeline is executing with success but API's are not deleted from APIM in Azure
Expected behavior

API's deleted from repository should get deleted when published using publisher pipeline

Actual behavior

API's are not deleted from APIM in Azure

Reproduction Steps
  1. Delete entire API folder from repository. e.g. if the repo structure is like this -> apis/test-api then delete entire test-api folder
  2. Commit changes to a branch
  3. Create PR
  4. Merge to main branch.
  5. On merge trigger publisher pipeline
  6. Publisher pipeline is executes with success but test-api is not deleted from APIM in Azure
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.