Automic Continuous Delivery Automation

 View Only

  • 1.  DB-Cleanup.exe utility for ARA

    Posted Aug 29, 2017 05:41 AM
    We are currently using ARA version 5.0.  Can I use utility from latest version of ARA ?  I have version 7.0.1.
    Version of the DB-Cleanup Utility and ARA should comply. This utility is delivered with the installation image of ARA, in the ARA > Utilities> DB Cleanup directory. Please download the image from our download center if needed.

    I understand that purpose of utility to delete workflow executions , but can it  be used for deleting archived  packages as well  - if not  how can I  delete obsolete packages in ARA using some utility or API ?
    You will need to use the Package Manager CLI (Command Line Interface) with the 'remove' parameter for this purpose.

    Example:
    apm remove <Package_name>

    Best regards,
    Antoine


  • 2.  DB-Cleanup.exe utility for ARA

    Posted Sep 01, 2017 08:57 AM
    Regarding cleanup of packages - could you please confirm that APM can be used for ARA packages as well ?
    The packages I was taking about is packages in Release Automation that used for deployment - not the AE packages.
    The Cleanup utility can not be used for these packages, they have to be deleted manually from the packages view.

    Another possibility is to use the REST API to automate the deletion:
    https://docs.automic.com/documentation/webhelp/english/ARA/12.0/DOCU/12.0/ARA%20Guides/Default.htm#ARA/REST_API/RESTAPIURL.htm%3FTocPath%3DIntegration%2520Guide%7CREST%2520APIs%7CARA%2520REST%2520API%7C_____2

    Best regards,
    Antoine


  • 3.  DB-Cleanup.exe utility for ARA

    Posted Sep 19, 2017 03:33 PM
    And based on following note on the documentation of REST DELETE call you will probably will not be able to Delete any ARA Packages that where utilized in prior worklfow deployment executions.

    ...Note: Delete is only allowed in case the package is not referenced by any entity...


    qumc0basro2k.pnghttps://us.v-cdn.net/5019921/uploads/editor/sd/qumc0basro2k.png" width="989">



  • 4.  DB-Cleanup.exe utility for ARA

    Posted Sep 20, 2017 01:45 AM
    I think you are mixing up two topics here. There are two entities called Package, which mean very different things:

    Packages in ARA cannot be deleted as long as they are referenced by a deployment. If you delete all executions with the DBCleanup Utility, you should also be able to remove a package.

    Packages and Action Packs which are installed via the PlugIn Manager or Package Manager can be deleted via the Plugin Manager or Package Manager again.