Release Automation

Expand all | Collapse all

Creating environments dynamically

Jump to Best Answer
  • 1.  Creating environments dynamically

    Posted 11-22-2019 07:33 AM
    Hi,

    is there a way to create environment dynamically?   Can see that there is Duplicate Environment - action under Release Operations Center. Any other means available?

    Version: 6.6


    ------------------------------
    Regards, Jan
    ------------------------------


  • 2.  RE: Creating environments dynamically

    Posted 11-22-2019 07:58 AM
    Seems the REST api /datamanagement/ra/design/v5/import is the neatest way to go.  First export some existing env to get a template for it..


  • 3.  RE: Creating environments dynamically
    Best Answer

    Posted 11-22-2019 02:10 PM
    Hi Jan,

    I would agree. The design/v5/export and import rest api uses the DSL functionality. This is likely the best supported method to go. Most of what you do in the ROC can be translated into some kind of ReST API call. That applies to creating new environments. However, those APIs are not publicly documented and therefore could change without maintaining backwards compatibility.

    Thanks for sharing what you found after asking the question. It is very much appreciated.

    Kind regards,
    Gregg