Renamed isEnabled into Enabled for the consistency

4.x.x
Rasika Perera 7 years ago
parent 08f4f04101
commit 3a9261536e

@ -27,14 +27,14 @@ import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "GeoLocationConfiguration")
public class GeoLocationConfiguration {
private boolean isEnabled;
private boolean enabled;
public boolean getIsEnabled() {
return isEnabled;
public boolean getEnabled() {
return enabled;
}
@XmlElement(name = "isEnabled", required = true)
public void setIsEnabled(boolean isEnabled) {
this.isEnabled = isEnabled;
@XmlElement(name = "Enabled", required = true)
public void setEnabled(boolean enabled) {
this.enabled = enabled;
}
}

@ -89,13 +89,13 @@
<ExpiryTime>86400</ExpiryTime>
</CertificateCacheConfiguration>
<GeoLocationConfiguration>
<isEnabled>false</isEnabled>
<Enabled>false</Enabled>
</GeoLocationConfiguration>
<OperationAnalyticsConfiguration>
<PublishLocationResponse>false</PublishLocationResponse>
<PublishDeviceInfoResponse>false</PublishDeviceInfoResponse>
<PublishOperationResponse>
<isEnabled>false</isEnabled>
<Enabled>false</Enabled>
<Operations>
<!-- Publish specific operation responses -->
<!--

@ -73,7 +73,7 @@ deviceModule = function () {
}
var userName = carbonUser.username + "@" + carbonUser.domain;
var locationHistory = [];
var geoServicesEnabled = devicemgtProps.serverConfig.geoLocationConfiguration.isEnabled;
var geoServicesEnabled = devicemgtProps.serverConfig.geoLocationConfiguration.enabled;
if (geoServicesEnabled) {
try {
var fromDate = new Date();

@ -119,13 +119,13 @@
</ArchivalTask>
</ArchivalConfiguration>
<GeoLocationConfiguration>
<isEnabled>false</isEnabled>
<Enabled>false</Enabled>
</GeoLocationConfiguration>
<OperationAnalyticsConfiguration>
<PublishLocationResponse>false</PublishLocationResponse>
<PublishDeviceInfoResponse>false</PublishDeviceInfoResponse>
<PublishOperationResponse>
<isEnabled>false</isEnabled>
<Enabled>false</Enabled>
<Operations>
<!-- Publish specific operation responses -->
<!--

Loading…
Cancel
Save