ObjectNode resultJson = Json.newObject();
String datasetIdString = request().getQueryString("datasetId");
if (datasetIdString != null) {
int datasetId = Integer.parseInt(datasetIdString);
try {
<BUG>List<Map<String, Object>> deployments = DatasetInfoDao.getDatasetDeploymentByDatasetId(datasetId);
</BUG>
resultJson.put("return_code", 200);
<BUG>resultJson.set("dataset_deployment_info", Json.toJson(deployments));
</BUG>
} catch (EmptyResultDataAccessException e) {

ObjectNode resultJson = Json.newObject();
String datasetIdString = request().getQueryString("datasetId");
if (datasetIdString != null) {
int datasetId = Integer.parseInt(datasetIdString);
try {
List<DatasetDeploymentRecord> records = DatasetInfoDao.getDatasetDeploymentByDatasetId(datasetId);
resultJson.put("return_code", 200);
resultJson.set("deploymentInfo", Json.toJson(records));
} catch (EmptyResultDataAccessException e) {
