added few changes after review

revert-70aa11f8
ayyoob 8 years ago
parent 6c7f911cbc
commit c93410eb92

@ -99,13 +99,14 @@ public class HTTPDeviceTypeManagerService extends DeviceTypeManagerService imple
}
deviceTypeConfiguration.setName(deviceTypeName);
if (deviceTypeMetaDefinition.getLicense() != null) {
License license = new License();
license.setLanguage(deviceTypeMetaDefinition.getLicense().getLanguage());
license.setText(deviceTypeMetaDefinition.getLicense().getText());
license.setVersion(deviceTypeMetaDefinition.getLicense().getVersion());
deviceTypeConfiguration.setLicense(license);
}
//TODO: Add it to the license management service.
// if (deviceTypeMetaDefinition.getLicense() != null) {
// License license = new License();
// license.setLanguage(deviceTypeMetaDefinition.getLicense().getLanguage());
// license.setText(deviceTypeMetaDefinition.getLicense().getText());
// license.setVersion(deviceTypeMetaDefinition.getLicense().getVersion());
// deviceTypeConfiguration.setLicense(license);
// }
PolicyMonitoring policyMonitoring = new PolicyMonitoring();
policyMonitoring.setEnabled(deviceTypeMetaDefinition.isPolicyMonitoringEnabled());
deviceTypeConfiguration.setPolicyMonitoring(policyMonitoring);

@ -59,7 +59,7 @@
</h4>
<form id="form-{{operation}}" style="padding-bottom: 20px;"-->
<select id="operation-type" class="form-control" onChange="operationTypeChage(this)">
<select id="operation-type" class="form-control" onChange="operationTypeChage(this)" style="display:none">
<option value="CONFIG">Config</option>
<option value="COMMAND">Command</option>
</select>

@ -80,9 +80,6 @@
<bundleDef>
org.wso2.carbon.devicemgt:org.wso2.carbon.device.mgt.oauth.extensions:${carbon.device.mgt.version}
</bundleDef>
<bundleDef>
org.wso2.carbon.devicemgt:org.wso2.carbon.identity.authenticator.backend.oauth:${carbon.device.mgt.version}
</bundleDef>
</bundles>
<importFeatures>
<importFeatureDef>org.wso2.carbon.core.server:${carbon.kernel.version}

Loading…
Cancel
Save