Set<String> colos = getColosFromExpression(coloExpr, type, name);
Map<String, InstancesResult> results = new HashMap<String, InstancesResult>();
for (String colo:colos) {
try {
APIResult resultHolder = doExecute(colo);
if (resultHolder instanceof InstancesResult) {
results.put(colo, (InstancesResult) resultHolder);
} else {
throw new IvoryException(resultHolder.getMessage());
}
} catch (IvoryException e) {
results.put(colo, new InstancesResult(APIResult.Status.FAILED,
e.getClass().getName() + "::" + e.getMessage(),
new InstancesResult.Instance[0]));