Deployment process - File deletion scenario

Hello guys,

I have been playing around with the deployment tools from Ensemble (mostly based on this article https://docs.intersystems.com/latest/csp/docbook/DocBook.UI.Page.cls?KEY...) , but so far the one thing I still couldn't figure out is how to release the fact that I deleted files/components from my source production and that will get reflected in my target production.

Basically the target production has got A, B, C and D. Source has got A and B, because C and D aren't needed anymore. How do I generate a deployment XML with these information and once I release in the target production, Healthshare will get rid of C and D?

I couldn't find any info in the above documentation, so any tips would be more than welcome.

I have come across a few bugs in the deployment tool in the past and I hope this isn't another one or a lack of the functionality I need.

Thanks

  • 0
  • 0
  • 72
  • 0
  • 1

Answers

Hi Murillo

While no UI exists to create a deployment file to specify host items to remove it is possible to use the APIs to create such a deployment file  - see the last example in the top section of the class documentation for Ens.Deployment.Utils. This is the same removal mechanism used when creating the rollback mechanism.

HTH

James

link at https://irisdocs.intersystems.com/irislatest/csp/documatic/%25CSP.Documa...