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