I am not getting some values in the API response
/resources/json/delphix/sourceconfig?environment=UNIX_HOST_ENVIRONMENT-14 however they were shown when executed in CLI.
When provisioning mysql vdb, db expects unique portno. I wanted to run through all existing ports and pick next port(3312; assuming i have ports from 3308 to 3311) by calling REST API
Eg:
API Response: {"type":"ListResult","status":"OK","result":[{"type":"SourceConfig","reference":"MYSQL_SERVER_CONFIG-22","namespace":null,"name":"/var/tmp/delphix/provision/VNTLS_QA_MYSQL_SRC-FVK/datafile","linkingEnabled":true,"discovered":false,"environmentUser":"HOST_USER-28","repository":"MYSQL_INSTALL-4"},
.....}
CLI Response:{ "type": "ListResult",
"status": "OK",
"result": [
{
"type": "MySQLServerConfig",
"reference": "MYSQL_SERVER_CONFIG-22",
"namespace": null,
"name": "/var/tmp/delphix/provision/VNTLS_QA_MYSQL_SRC-FVK/datafile",
"linkingEnabled": true,
"discovered": false,
"environmentUser": "HOST_USER-28",
"repository": "MYSQL_INSTALL-4",
"dataDirectory": "/var/tmp/delphix/provision/VNTLS_QA_MYSQL_SRC-FVK/datafile",
"port": 3308, "user": "xxxxx", "credentials": {
"type": "PasswordCredential",
"password": "***********"
}
},
......}
From the above 2 results, portno, user, etc are missing in API.
We are using DE 5.0.2.3 version. Is this a bug in this version?