return report;
}
String newName = report.getUserSpecifiedResourceName();
Address address = new Address(this.getAddress());
address.add(flavor,newName);
Operation add = new Operation("add",address);
for (Property prop: config.getProperties()) {
if (prop.getName().equals(FLAVOR)) {
continue;
}
PropertySimple ps = (PropertySimple) prop;
add.addAdditionalProperty(prop.getName(),ps.getStringValue()); // TODO format conversion?
}
Result result = getASConnection().execute(add);
if (result.isSuccess()) {
report.setResourceKey(address.getPath());