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

[BC Idea]: Add Unpublish to the Automation API #27901

Open
1 task done
florian-d opened this issue Jan 8, 2025 · 0 comments · May be fixed by #27916
Open
1 task done

[BC Idea]: Add Unpublish to the Automation API #27901

florian-d opened this issue Jan 8, 2025 · 0 comments · May be fixed by #27916
Labels
approved The issue is approved bcidea Issue is created based on a BC Idea linked Issue is linked to a Azure Boards work item

Comments

@florian-d
Copy link

florian-d commented Jan 8, 2025

BC Idea Link

https://experience.dynamics.com/ideas/idea/?ideaid=c35221d7-717a-eb11-8fed-0003ff45e089

Description

Why
After several deployments (with AL-GO for example) all uninstalled versions remain in extension management list. From time to time this gets very cluttered. If Automation API would provide an unpublish action, pipelines could cleanup after deployment.

This proposal draws from the discussions in the navcontainerhelper and al-go repositories, where the need for such a feature has been highlighted.

Idea
add a new action unpublish to page 30002 "APIV2 - Aut. Extensions" link.

Flow:

  1. User sends a request POST https://.../api/microsoft/automation/v2.0/companies(...)/extensions(<packageId>)/Microsoft.NAV.unpublish
  2. new unpublish action gets called
  3. If package is installed, raise error
  4. call ExtensionManagement.UnpublishExtension(Rec."Package ID"); to unpublish app
  5. Return WebServiceActionResultCode::Deleted

I hope this idea finds you well.

I will provide the implementation for this BC Idea

  • I will provide the implementation for this BC Idea
    Internal work item: AB#391847
@florian-d florian-d added the bcidea Issue is created based on a BC Idea label Jan 8, 2025
@bcbuild-github-agent bcbuild-github-agent added the linked Issue is linked to a Azure Boards work item label Jan 9, 2025
@JesperSchulz JesperSchulz added the approved The issue is approved label Jan 9, 2025
@florian-d florian-d linked a pull request Jan 9, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved The issue is approved bcidea Issue is created based on a BC Idea linked Issue is linked to a Azure Boards work item
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants