mirror of
https://repository.entgra.net/community/device-mgt-core.git
synced 2025-10-06 02:01:45 +00:00
fixing platform configuration appearing twice issue.
This commit is contained in:
parent
ee948abc9d
commit
037acbe5bb
@ -59,8 +59,8 @@ public class ConfigurationServiceImpl implements ConfigurationManagementService
|
||||
List<ConfigurationEntry> configList = config.getConfiguration();
|
||||
if (configList == null) {
|
||||
configList = new ArrayList<>();
|
||||
configList.add(configurationEntry);
|
||||
}
|
||||
configList.add(configurationEntry);
|
||||
config.setConfiguration(configList);
|
||||
return Response.status(Response.Status.OK).entity(config).build();
|
||||
} catch (ConfigurationManagementException | PolicyManagementException e) {
|
||||
|
||||
@ -78,7 +78,7 @@ public class Condition {
|
||||
required = true)
|
||||
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 " +
|
||||
"options, is known as state.\n" +
|
||||
"The following values can be assigned to state.\n" +
|
||||
|
||||
Loading…
Reference in New Issue
Block a user