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.
Release : 8.0.0
Component : CDD ADMINISTRATION
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.
Note:
The DSL Rest API adds a new endpoint. It does not update an existing.