endpointConfig.setProperty(key, model.get(Constants.PROPERTY).get(key).asString());
}
}
if (model.hasDefined(Constants.FEATURE)) {
for (String key : model.get(Constants.FEATURE).keys()) {
endpointConfig.setFeature(new Feature(key), true);
}
}
config.addEndpointConfig(endpointConfig);
}
}