fixing platform configuration appearing twice issue.

revert-70aa11f8
inoshperera 9 years ago
parent ee948abc9d
commit 037acbe5bb

@ -59,8 +59,8 @@ public class ConfigurationServiceImpl implements ConfigurationManagementService
List<ConfigurationEntry> configList = config.getConfiguration(); List<ConfigurationEntry> configList = config.getConfiguration();
if (configList == null) { if (configList == null) {
configList = new ArrayList<>(); configList = new ArrayList<>();
}
configList.add(configurationEntry); configList.add(configurationEntry);
}
config.setConfiguration(configList); config.setConfiguration(configList);
return Response.status(Response.Status.OK).entity(config).build(); return Response.status(Response.Status.OK).entity(config).build();
} catch (ConfigurationManagementException | PolicyManagementException e) { } catch (ConfigurationManagementException | PolicyManagementException e) {

@ -78,7 +78,7 @@ public class Condition {
required = true) required = true)
public String operator; public String operator;
@ApiModelProperty(name = "conditions", value = "There can be many search options as shown in the sample JSON " + @ApiModelProperty(name = "state", value = "There can be many search options as shown in the sample JSON " +
"definition. The field that connects the independent search " + "definition. The field that connects the independent search " +
"options, is known as state.\n" + "options, is known as state.\n" +
"The following values can be assigned to state.\n" + "The following values can be assigned to state.\n" +

Loading…
Cancel
Save