Enhance the Deployment API to allow passing parameter to clear CDN cache after deployments
It would be helpful to Enhance the Deployment API to allow passing a parameter to clear CDN cache after deployment completes.
Reference: https://docs.developers.optimizely.com/digital-experience-platform/docs/deploy-using-powershell
-
Jim Schilling
commented
As a DevOps engineer, I'd like to be able to perform a rolling restart of my sites after deployment via the APi. I'd also like to be able to clear the CDN cache via APi.
We often perform these tasks after a deployment, so to allow this to happen as part of our deployment Pipeline in Azure DevOps, rather than having to manually log in to the PaaS portal and click buttons every time, would be beneficial.
-
Scott Reed
commented
Common deployment pattern within the DXP when using Azure Devops or another CI/CD system.
* Deploy package
* Clear CDN in Pass Portal
Ideally having to manually login to do this step shouldn't be required.
Can we get the CDN clearing added to https://world.episerver.com/documentation/class-libraries/rest-apis/dxc-service/ and the Powershell so we can add that in to the pipeine.
Also world needs some tags for the DXP / Deployment API