Operation addDeploymentStep = new Operation("add", "deployment", filename);
List<Object> addDeploymentContentProperty = new ArrayList<Object>(1);
Map<String, Object> contentValues = new HashMap<String, Object>();
contentValues.put("hash", new PROPERTY_VALUE("BYTES_VALUE", hash));
addDeploymentContentProperty.add(contentValues);
addDeploymentStep.addAdditionalProperty("content", addDeploymentContentProperty);
addDeploymentStep.addAdditionalProperty("name", filename);
addDeploymentStep.addAdditionalProperty("runtime-name", runtimeName);
Operation deployStep = new Operation("deploy", addDeploymentStep.getAddress());