ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

Adding environments to endpoints

book

Article ID: 213852

calendar_today

Updated On:

Products

Continuous Delivery Director Continuous Delivery Director SAAS

Issue/Introduction

Is there a way to automate adding the environments to endpoints? This is manual task and if there's 100 environments then making sure every environment is listed on an endpoint is quite tedious task. 

Environment

Release : 8.0.0

Component : CDD ADMINISTRATION

Resolution

It is our recommendation to add environments to the endpoint only when you want to limit the endpoint used for the specific environment - mainly to the production environments. If you do need to add many environments to an environment, you can create a DSL file for an endpoint.

 

The following DSL and screenshot offers an example of creating a new endpoint named "Nolio Envs2" using the CDD Rest API: http://cddserver:8080/cdd/administration/0000/v1/dsl-manifests  

{
  "objects": [
    {
      "environments": ["Env2"],
      "description": "Nolio RA Test Environment",
      "name": "Nolio Envs2",
      "kind": "Endpoint",
      "plugin": "Nolio Release Automation/5.5.9",
      "type": "Nolio Release Automation",
      "parameters": {
        "url": "http://nolio.app.com:8080/",
        "username": "tapp3env1"
      }
    }
  ]
}

 

The "Parameters are missing" message is due to it missing the user's password. 

 

Additional Information

Note: 

The DSL Rest API adds a new endpoint. It does not update an existing. 

Attachments