Automic Community

Expand all | Collapse all

Create/Duplicate CDA Application

  • 1.  Create/Duplicate CDA Application

    Posted 3 days ago
    Hi everyone,

    id like to create application programmaticly(not by clicking the awi interface) using duplicate endpoint in api, or by any other way. Does anybody have an experience with such an activity?

    I created template application, which is duplicatable, but in result i have to recreate package states, because i have to change the deployment profiles, which point to application-specific environments.

    Thank you for any advice!

  • 2.  RE: Create/Duplicate CDA Application

    Posted 2 days ago
    Hi ​Jakub,

    did you already have a look at CD Code?


    Engineering Program Manager

  • 3.  RE: Create/Duplicate CDA Application

    Posted 2 days ago
    Hi Michael,

    thank you! this seems to be exactly, what i was looking for.

    This new solution also creates new questions:
    • Will it be possible to set package states for programmatically created applications? (this is not possible using REST API in 12.2)
    • What about creating application-related Environments objects (we are using naming convension such as <appplication_name>_<env_name> eg. myapp_prod)
    • Is it backly compatible with CDA 12.2, or have we to upgrade necessary? 

    Thank you. :)

  • 4.  RE: Create/Duplicate CDA Application

    Posted 2 days ago
    Edited by Michael Dolinek 2 days ago

    Hi Jakub,

    1) As you can see in the documentation the following objects can be created/modified/deleted using CDC: Applications, (nested) Components, Profiles, Workflows, Deployment Packages, Artifacts, Artifact Sources, Deployment Targets, Login Objects, Folders and CDA users/groups incl. permissions and authorizations.
    This pages describes also how to handle Package states:
    2) You can name your environments as you suggested. The names must fulfill CDA's naming convention. In Groovy there should be no problem to define such strings for Environment names.
    3) In order to use all these features CDA v12.3.3 (or later) is required. 

    Engineering Program Manager