String configValue) {
if (!isConfigKeyValid(configKey)) {
return Response.status(Response.Status.BAD_REQUEST)
.entity("config key not supported: " + configKey).build();
}
HApplicationConfiguration configuration =
applicationConfigurationDAO.findByKey(configKey);
boolean created = configuration == null;
persistApplicationConfig(configKey, configuration, configValue,
applicationConfigurationDAO);
if (created) {