List<Property> model = response.get(RESULT).asPropertyList();
List<ConnectorService> services = new ArrayList<ConnectorService>();
for(Property prop : model)
{
ModelNode svc = prop.getValue();
ConnectorService entity = connectorServiceAdapter.fromDMR(svc);
entity.setName(prop.getName());
if(svc.hasDefined("param"))
{
List<PropertyRecord> param = parseProperties(svc.get("param").asPropertyList());
entity.setParameter(param);
}
else
{
entity.setParameter(Collections.EMPTY_LIST);
}
services.add(entity);
}