+ {{unit "cdmf.unit.device.type.windows.new.operation-bar" device=device
+ backendApiUri=backendApiUri autoCompleteParams=autoCompleteParams}}
+
+ {{/if}}
+ {{/zone}}
- {{#if deviceView.isNotWindows}}
-
-
-
Device Details
-
-
-
-
- {{#equal deviceView.type "windows"}}
-
-
Not
- available yet
-
- {{/equal}}
- {{#if deviceView.deviceInfoAvailable}}
- {{#if deviceView.BatteryLevel}}
-
-
-
-
BATTERY
-
-
-
- {{deviceView.BatteryLevel.value}} %
-
-
-
-
-
- {{/if}}
-
-
-
-
-
+ {{#zone "device-details-tab-injected"}}
+
+
+ Policy Compliance
+
+
+
+
+ Device Location
+
+
+
+
+ Installed Applications
+
+
+ {{/zone}}
+
+ {{#zone "device-details-tab-contents"}}
+
+
+
Device Details
+
+
+
+
+ {{#if device.deviceInfoAvailable}}
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
+
+
-
- {{#if deviceView.ramUsage}}
-
-
-
-
RAM Usage
-
-
-
- {{deviceView.ramUsage.value}} %
-
-
-
-
-
- {{/if}}
- {{#if deviceView.internalMemory}}
-
-
-
-
Local Storage
-
-
-
-
- {{deviceView.internalMemory.usage}} %
-
- TOTAL OF {{deviceView.internalMemory.total}} GB
-
-
-
-
-
-
- {{/if}}
- {{#if deviceView.externalMemory}}
-
-
-
-
External Storage
-
-
-
- {{deviceView.externalMemory.usage}} %
-
- TOTAL OF {{deviceView.externalMemory.total}} GB
-
-
-
-
-
-
- {{/if}}
- {{else}}
-
-
-
- Battery, RAM and Storage related information are not
- available yet.
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{#if device.ramUsage}}
+
+
+
+
Available RAM
+
+
+
+ {{device.ramUsage
+ .value}} MB
- {{/if}}
+
+ {{/if}}
+ {{#if device.internalMemory}}
+
+
+
+
Available Local Storage
+
+
+
+
+ {{device.internalMemory
+ .value}} GB
+
+
+
+
+
+ {{/if}}
+ {{else}}
+
+
+
+ Battery, RAM and Storage related information are not
+ available yet.
+
{{/if}}
+
+
+
+
+ {{/zone}}
-
-
-
- Policy Compliance
+ {{#zone "device-view-tab-injected-conents"}}
+
+
+
-
-
+
+
+
-
- Loading Policy
- Compliance...
-
-
-
-
-
+
+ Loading Policy
+ Compliance...
+
+
+
+
+
+
+
+
+
+
Device Location
+
+
+ {{#if device.location}}
+
-
-
-
Device Location
-
-
- {{#if deviceView.location}}
-
-
- {{else}}
-
-
-
- Device location information is not available.
-
-
-
-
-
- {{/if}}
-
-
+ {{else}}
+
+
+
+ Device location information is not available.
+
-
-
-
- Installed Applications
+
+
+
+ {{/if}}
+
+
+
+
+
+
+
+ Installed Applications
-
-
-
+
+
+
-
- Loading Applications
- List...
-
-
-
-
-
- No applications found.
-
-
Please try refreshing in a while.
-
-
-
-
-
-
-
-
- Operations Log
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Loading Operations Log...
-
-
-
-
-
- There are no operations, performed yet on this device.
-
-
-
-
-
-
- Operation Code |
- Status |
- Request created at |
-
-
-
-
-
-
-
+
+ Loading Applications
+ List...
+
+
+
+
+
+ No applications found.
+
+
Please try refreshing in a while.
+
- {{/zone}}
+
+ {{/zone}}
+
+
{{else}}
@@ -500,19 +395,13 @@
{{#if isAuthorized}}
-
{{js "js/device-detail.js"}}
{{js "js/load-map.js"}}
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js
index e12577afd..d1de7c960 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/device-view.js
@@ -36,9 +36,6 @@ function onRequest(context) {
if (filteredDeviceData["type"]) {
viewModel["type"] = filteredDeviceData["type"];
viewModel.isNotWindows = true;
- if (viewModel["deviceType"] == "windows") {
- viewModel.isNotWindows = false;
- }
}
if (filteredDeviceData["deviceIdentifier"]) {
viewModel["deviceIdentifier"] = filteredDeviceData["deviceIdentifier"];
@@ -92,10 +89,10 @@ function onRequest(context) {
viewModel["internalMemory"] = {};
viewModel["internalMemory"]["total"] = Math.
- round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_TOTAL_MEMORY"] * 100) / 100;
+ round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_TOTAL_MEMORY"] * 100) / 100;
if (filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_TOTAL_MEMORY"] != 0) {
viewModel["internalMemory"]["usage"] = Math.
- round((filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_TOTAL_MEMORY"] -
+ round((filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_TOTAL_MEMORY"] -
filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_AVAILABLE_MEMORY"])
/ filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["INTERNAL_TOTAL_MEMORY"] * 10000) / 100;
} else {
@@ -104,10 +101,10 @@ function onRequest(context) {
viewModel["externalMemory"] = {};
viewModel["externalMemory"]["total"] = Math.
- round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_TOTAL_MEMORY"] * 100) / 100;
+ round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_TOTAL_MEMORY"] * 100) / 100;
if (filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_TOTAL_MEMORY"] != 0) {
viewModel["externalMemory"]["usage"] = Math.
- round((filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_TOTAL_MEMORY"] -
+ round((filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_TOTAL_MEMORY"] -
filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_AVAILABLE_MEMORY"])
/ filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["EXTERNAL_TOTAL_MEMORY"] * 10000) / 100;
} else {
@@ -119,10 +116,10 @@ function onRequest(context) {
viewModel["internalMemory"] = {};
viewModel["internalMemory"]["total"] = Math.
- round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["DeviceCapacity"] * 100) / 100;
+ round(filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["DeviceCapacity"] * 100) / 100;
if (filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["DeviceCapacity"] != 0) {
viewModel["internalMemory"]["usage"] = Math.
- round((filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["DeviceCapacity"] -
+ round((filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["DeviceCapacity"] -
filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["AvailableDeviceCapacity"])
/ filteredDeviceData["initialDeviceInfo"]["DEVICE_INFO"]["DeviceCapacity"] * 10000) / 100;
} else {
@@ -151,53 +148,23 @@ function onRequest(context) {
}
if (filteredDeviceData["latestDeviceInfo"]["updatedTime"]) {
viewModel["lastUpdatedTime"] = filteredDeviceData["latestDeviceInfo"]["updatedTime"].
- substr(0, filteredDeviceData["latestDeviceInfo"]["updatedTime"].indexOf("+"));
+ substr(0, filteredDeviceData["latestDeviceInfo"]["updatedTime"].indexOf("+"));
}
viewModel["BatteryLevel"] = {};
viewModel["BatteryLevel"]["value"] = filteredDeviceData["latestDeviceInfo"]["batteryLevel"];
- viewModel["cpuUsage"] = {};
- viewModel["cpuUsage"]["value"] = filteredDeviceData["latestDeviceInfo"]["cpuUsage"];
-
viewModel["ramUsage"] = {};
- if (filteredDeviceData["latestDeviceInfo"]["totalRAMMemory"] != 0) {
- viewModel["ramUsage"]["value"] = Math.
- round((filteredDeviceData["latestDeviceInfo"]["totalRAMMemory"] -
- filteredDeviceData["latestDeviceInfo"]["availableRAMMemory"])
- / filteredDeviceData["latestDeviceInfo"]["totalRAMMemory"] * 10000) / 100;
- } else {
- viewModel["ramUsage"]["value"] = 0;
- }
+ viewModel["ramUsage"]["value"] = (filteredDeviceData["latestDeviceInfo"]["availableRAMMemory"]);
viewModel["internalMemory"] = {};
- viewModel["internalMemory"]["total"] = Math.
- round(filteredDeviceData["latestDeviceInfo"]["internalTotalMemory"] * 100) / 100;
- if (filteredDeviceData["latestDeviceInfo"]["internalTotalMemory"] != 0) {
- viewModel["internalMemory"]["usage"] = Math.
- round((filteredDeviceData["latestDeviceInfo"]["internalTotalMemory"] -
- filteredDeviceData["latestDeviceInfo"]["internalAvailableMemory"])
- / filteredDeviceData["latestDeviceInfo"]["internalTotalMemory"] * 10000) / 100;
- } else {
- viewModel["internalMemory"]["usage"] = 0;
- }
+ viewModel["internalMemory"]["value"] = Math.round((filteredDeviceData["latestDeviceInfo"]["internalAvailableMemory"]) / 1024);
- viewModel["externalMemory"] = {};
- viewModel["externalMemory"]["total"] = Math.
- round(filteredDeviceData["latestDeviceInfo"]["externalTotalMemory"] * 100) / 100;
- if (filteredDeviceData["latestDeviceInfo"]["externalTotalMemory"] != 0) {
- viewModel["externalMemory"]["usage"] = Math.
- round((filteredDeviceData["latestDeviceInfo"]["externalTotalMemory"] -
- filteredDeviceData["latestDeviceInfo"]["externalAvailableMemory"])
- / filteredDeviceData["latestDeviceInfo"]["externalTotalMemory"] * 10000) / 100;
- } else {
- viewModel["externalMemory"]["usage"] = 0;
- }
}
if (!filteredDeviceData["initialDeviceInfo"] && !filteredDeviceData["latestDeviceInfo"]) {
viewModel["deviceInfoAvailable"] = false;
}
- deviceViewData["deviceView"] = viewModel;
+ deviceViewData["device"] = viewModel;
} else if (response["status"] == "unauthorized") {
deviceViewData["deviceFound"] = true;
deviceViewData["isAuthorized"] = false;
@@ -207,5 +174,11 @@ function onRequest(context) {
} else {
deviceViewData["deviceFound"] = false;
}
+
+ var autoCompleteParams = [
+ {"name" : "deviceId", "value" : deviceId}
+ ];
+
+ deviceViewData["autoCompleteParams"] = autoCompleteParams;
return deviceViewData;
}
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js
index a90864968..0063bc724 100755
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/js/device-detail.js
@@ -22,6 +22,7 @@ var InitiateViewOption = null;
var deviceId = $(".device-id");
var deviceIdentifier = deviceId.data("deviceid");
var deviceType = deviceId.data("type");
+ var ownership = deviceId.data("ownership");
var payload = [deviceIdentifier];
var operationTable;
var serviceUrl;
@@ -111,9 +112,6 @@ var InitiateViewOption = null;
$(document).ready(function() {
$(".device-detail-body").removeClass("hidden");
$("#loading-content").remove();
- console.log("##### something went wrong here!" + deviceType)
- loadOperationBar(deviceType);
- loadOperationsLog(false);
loadApplicationsList();
loadPolicyCompliance();
@@ -126,14 +124,10 @@ var InitiateViewOption = null;
$("#apps-spinner").removeClass("hidden");
loadApplicationsList();
});
-
- $("#refresh-operations").click(function () {
- $("#operations-spinner").removeClass("hidden");
- loadOperationsLog(true);
- });
});
function loadOperationsLog(update) {
+ var owner = $("#device-owner").data("owner");
var operationsLogTable = "#operations-log-table";
if (update) {
operationTable = $(operationsLogTable).DataTable();
@@ -148,8 +142,8 @@ var InitiateViewOption = null;
pageLength : 10,
order: [],
ajax: {
- url: "/emm/api/operation/paginate",
- data: {deviceId : deviceIdentifier, deviceType: deviceType},
+ url: "/devicemgt/api/operation/paginate",
+ data: {deviceId : deviceIdentifier, deviceType: deviceType, owner:owner},
dataSrc: function (json) {
$("#operations-spinner").addClass("hidden");
$("#operations-log-container").empty();
@@ -242,7 +236,7 @@ var InitiateViewOption = null;
} else {
$("#applications-list-container").
html("No applications found.
" +
- "
Please try refreshing the list in a while.
");
+ "
Please try refreshing the list in a while.
");
}
}
},
@@ -250,8 +244,8 @@ var InitiateViewOption = null;
function () {
$("#applications-list-container").
html("
Loading application list " +
- "was not successful. please try refreshing the list in a while.
");
- });
+ "was not successful. please try refreshing the list in a while.
");
+ });
});
}
@@ -304,7 +298,7 @@ var InitiateViewOption = null;
} else {
$("#policy-list-container").
html("
This device " +
- "has no policy applied.
");
+ "has no policy applied.
");
}
}
},
@@ -312,7 +306,7 @@ var InitiateViewOption = null;
function () {
$("#policy-list-container").
html("
Loading policy compliance related data " +
- "was not successful. please try refreshing data in a while.
");
+ "was not successful. please try refreshing data in a while.
");
}
);
}
@@ -322,7 +316,7 @@ var InitiateViewOption = null;
function () {
$("#policy-list-container").
html("
Loading policy compliance related data " +
- "was not successful. please try refreshing data in a while.
");
+ "was not successful. please try refreshing data in a while.
");
}
);
}
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/templates/operations-log.hbs b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/templates/operations-log.hbs
deleted file mode 100755
index cc5db5117..000000000
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.device-view/public/templates/operations-log.hbs
+++ /dev/null
@@ -1,24 +0,0 @@
-
-
-
- Operation Code |
- Status |
- Request created at |
-
-
-
- {{#each operations}}
-
- {{code}} |
-
- {{#equal status "COMPLETED"}} Completed{{/equal}}
- {{#equal status "PENDING"}} Pending{{/equal}}
- {{#equal status "ERROR"}} Error{{/equal}}
- {{#equal status "IN_PROGRESS"}} In Progress{{/equal}}
- |
- {{createdTimeStamp}} |
-
- {{/each}}
-
-
-
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.hbs b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.hbs
new file mode 100644
index 000000000..1ea183941
--- /dev/null
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.hbs
@@ -0,0 +1,146 @@
+{{!
+ Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+
+ WSO2 Inc. licenses this file to you under the Apache License,
+ Version 2.0 (the "License"); you may not use this file except
+ in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+}}
+{{#if control_operations}}
+
+{{else}}
+
+
+ Operations Loading Failed!
+
+{{/if}}
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+{{#zone "bottomJs"}}
+ {{js "js/operation-bar.js"}}
+{{/zone}}
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.js
new file mode 100644
index 000000000..cd5ead0ca
--- /dev/null
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.js
@@ -0,0 +1,65 @@
+/*
+ * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * WSO2 Inc. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+function onRequest(context) {
+ var log = new Log("operation.js");
+ var operationModule = require("/app/modules/business-controllers/operation.js")["operationModule"];
+ var device = context.unit.params.device;
+ var autoCompleteParams = context.unit.params.autoCompleteParams;
+ var encodedFeaturePayloads=context.unit.params.encodedFeaturePayloads;
+ var controlOperations = operationModule.getControlOperations(device.type);
+ var queryParams = [];
+ var formParams = [];
+ var pathParams = [];
+ for (var i = 0; i < controlOperations.length; i++) {
+ var currentParamList = controlOperations[i]["params"];
+ var uiParamList = controlOperations[i]["uiParams"];
+ for (var j = 0; j < currentParamList.length; j++) {
+ var currentParam = currentParamList[j];
+ currentParamList[j]["formParams"] = processParams(currentParam["formParams"], autoCompleteParams);
+ currentParamList[j]["queryParams"] = processParams(currentParam["queryParams"], autoCompleteParams);
+ currentParamList[j]["pathParams"] = processParams(currentParam["pathParams"], autoCompleteParams);
+ }
+ controlOperations[i]["uiParams"] = uiParamList;
+ if (encodedFeaturePayloads) {
+ controlOperations[i]["payload"] = getPayload(encodedFeaturePayloads, controlOperations[i]["operation"]);
+ }
+ }
+ return {"control_operations": controlOperations, "device": device};
+}
+
+function processParams(paramsList, autoCompleteParams) {
+ for (var i = 0; i < paramsList.length; i++) {
+ var paramName = paramsList[i];
+ var paramValue = "";
+ var paramType = "text";
+ for (var k = 0; k < autoCompleteParams.length; k++) {
+ if (paramName == autoCompleteParams[k].name) {
+ paramValue = autoCompleteParams[k].value;
+ paramType = "hidden";
+ }
+ }
+ paramsList[i] = {"name": paramName, "value": paramValue, "type": paramType};
+ }
+ return paramsList;
+}
+
+function getPayload(featuresPayload, featureCode){
+ var featuresJSONPayloads = JSON.parse(featuresPayload);
+ return featuresJSONPayloads[featureCode];
+}
\ No newline at end of file
diff --git a/components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.qr-modal/qr-modal.json b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.json
similarity index 100%
rename from components/mobile-plugins/android-plugin/org.wso2.carbon.device.mgt.mobile.android.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.android.qr-modal/qr-modal.json
rename to components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/operation-bar.json
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/public/js/operation-bar.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/public/js/operation-bar.js
new file mode 100644
index 000000000..aa3d69f68
--- /dev/null
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar/public/js/operation-bar.js
@@ -0,0 +1,227 @@
+/*
+ * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
+ *
+ * WSO2 Inc. licenses this file to you under the Apache License,
+ * Version 2.0 (the "License"); you may not use this file except
+ * in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied. See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+
+/*
+ * On operation click function.
+ * @param selection: Selected operation
+ */
+function operationSelect(selection) {
+ $(modalPopupContent).addClass("operation-data");
+ $(modalPopupContent).html($(" .operation[data-operation-code=" + selection + "]").html());
+ $(modalPopupContent).data("operation-code", selection);
+ showPopup();
+}
+
+function submitForm(formId) {
+ var form = $("#" + formId);
+ var uri = form.attr("action");
+ var deviceId = form.data("device-id");
+ var contentType = form.data("content-type");
+ var operationCode = form.data("operation-code");
+ var uriencodedQueryStr = "";
+ var uriencodedFormStr = "";
+ var payload = {};
+ form.find("input").each(function () {
+ var input = $(this);
+ if (input.data("param-type") == "path") {
+ uri = uri.replace("{" + input.attr("id") + "}", input.val());
+ } else if (input.data("param-type") == "query") {
+ var prefix = (uriencodedQueryStr == "") ? "?" : "&";
+ uriencodedQueryStr += prefix + input.attr("id") + "=" + input.val();
+ } else if (input.data("param-type") == "form") {
+ var prefix = (uriencodedFormStr == "") ? "" : "&";
+ uriencodedFormStr += prefix + input.attr("id") + "=" + input.val();
+ if(input.attr("type") == "text"){
+ payload[input.attr("id")] = input.val();
+ } else if(input.attr("type") == "checkbox"){
+ payload[input.attr("id")] = input.is(":checked");
+ }
+ }
+ });
+ uri += uriencodedQueryStr;
+ var httpMethod = form.attr("method").toUpperCase();
+ //var contentType = form.attr("enctype");
+
+ if (contentType == undefined || contentType == "") {
+ contentType = "application/x-www-form-urlencoded";
+ payload = uriencodedFormStr;
+ }
+
+ //setting responses callbacks
+ var defaultStatusClasses = "fw fw-stack-1x";
+ var content = $("#operation-response-template").find(".content");
+ var title = content.find("#title");
+ var statusIcon = content.find("#status-icon");
+ var description = content.find("#description");
+ description.html("");
+ var successCallBack = function (response) {
+ var res = response;
+ try {
+ res = JSON.parse(response).messageFromServer;
+ } catch (err) {
+ //do nothing
+ }
+ title.html("Operation Triggered!");
+ statusIcon.attr("class", defaultStatusClasses + " fw-check");
+ description.html(res);
+ console.log("success!");
+ $(modalPopupContent).html(content.html());
+ };
+ var errorCallBack = function (response) {
+ console.log(response);
+ title.html("An Error Occurred!");
+ statusIcon.attr("class", defaultStatusClasses + " fw-error");
+ var reason = (response.responseText == "null")?response.statusText:response.responseText;
+ try {
+ reason = JSON.parse(reason).message;
+ } catch (err) {
+ //do nothing
+ }
+ description.html(reason);
+ console.log("Error!");
+ $(modalPopupContent).html(content.html());
+ };
+ //executing http request
+ if (httpMethod == "GET") {
+ invokerUtil.get(uri, successCallBack, errorCallBack, contentType);
+ } else if (httpMethod == "POST") {
+ var deviceList = [deviceId];
+ payload = generatePayload(operationCode, payload, deviceList);
+ invokerUtil.post(uri, payload, successCallBack, errorCallBack, contentType);
+ } else if (httpMethod == "PUT") {
+ invokerUtil.put(uri, payload, successCallBack, errorCallBack, contentType);
+ } else if (httpMethod == "DELETE") {
+ invokerUtil.delete(uri, successCallBack, errorCallBack, contentType);
+ } else {
+ title.html("An Error Occurred!");
+ statusIcon.attr("class", defaultStatusClasses + " fw-error");
+ description.html("This operation requires http method: " + httpMethod + " which is not supported yet!");
+ $(modalPopupContent).html(content.html());
+ }
+}
+
+$(document).on('submit', 'form', function (e) {
+ cosole.log("darn!!");
+ e.preventDefault();
+ var postOperationRequest = $.ajax({
+ url: $(this).attr("action") + '&' + $(this).serialize(),
+ method: "post"
+ });
+
+ var btnSubmit = $('#btnSend', this);
+ btnSubmit.addClass('hidden');
+
+ var lblSending = $('#lblSending', this);
+ lblSending.removeClass('hidden');
+
+ var lblSent = $('#lblSent', this);
+ postOperationRequest.done(function (data) {
+ lblSending.addClass('hidden');
+ lblSent.removeClass('hidden');
+ setTimeout(function () {
+ hidePopup();
+ }, 3000);
+ });
+
+ postOperationRequest.fail(function (jqXHR, textStatus) {
+ lblSending.addClass('hidden');
+ lblSent.addClass('hidden');
+ });
+});
+
+// Constants to define operation types available
+var operationTypeConstants = {
+ "PROFILE": "profile",
+ "CONFIG": "config",
+ "COMMAND": "command"
+};
+
+
+var generatePayload = function (operationCode, operationData, deviceList) {
+ var payload;
+ var operationType;
+ switch (operationCode) {
+ case windowsOperationConstants["CAMERA_OPERATION_CODE"]:
+ operationType = operationTypeConstants["PROFILE"];
+ payload = {
+ "operation": {
+ "enabled": operationData["cameraEnabled"]
+ }
+ };
+ break;
+ case windowsOperationConstants["CHANGE_LOCK_CODE_OPERATION_CODE"]:
+ operationType = operationTypeConstants["PROFILE"];
+ payload = {
+ "operation": {
+ "lockCode": operationData["lockCode"]
+ }
+ };
+ break;
+ case windowsOperationConstants["ENCRYPT_STORAGE_OPERATION_CODE"]:
+ operationType = operationTypeConstants["PROFILE"];
+ payload = {
+ "operation": {
+ "encrypted": operationData["encryptStorageEnabled"]
+ }
+ };
+ break;
+ case windowsOperationConstants["NOTIFICATION_OPERATION_CODE"]:
+ operationType = operationTypeConstants["PROFILE"];
+ payload = {
+ "operation": {
+ "message": operationData["message"]
+ }
+ };
+ break;
+ case windowsOperationConstants["PASSCODE_POLICY_OPERATION_CODE"]:
+ operationType = operationTypeConstants["PROFILE"];
+ payload = {
+ "operation": {
+ "allowSimple": operationData["passcodePolicyAllowSimple"],
+ "requireAlphanumeric": operationData["passcodePolicyRequireAlphanumeric"],
+ "minLength": operationData["passcodePolicyMinLength"],
+ "minComplexChars": operationData["passcodePolicyMinComplexChars"],
+ "maxPINAgeInDays": operationData["passcodePolicyMaxPasscodeAgeInDays"],
+ "pinHistory": operationData["passcodePolicyPasscodeHistory"],
+ "maxFailedAttempts": operationData["passcodePolicyMaxFailedAttempts"]
+ }
+ };
+ break;
+ default:
+ // If the operation is neither of above, it is a command operation
+ operationType = operationTypeConstants["COMMAND"];
+ // Operation payload of a command operation is simply an array of device IDs
+ payload = deviceList;
+ }
+
+ if (operationType == operationTypeConstants["PROFILE"] && deviceList) {
+ payload["deviceIDs"] = deviceList;
+ }
+
+ return payload;
+};
+
+
+// Constants to define Windows Operation Constants
+var windowsOperationConstants = {
+ "PASSCODE_POLICY_OPERATION_CODE": "PASSCODE_POLICY",
+ "CAMERA_OPERATION_CODE": "CAMERA",
+ "ENCRYPT_STORAGE_OPERATION_CODE": "ENCRYPT_STORAGE",
+ "NOTIFICATION_OPERATION_CODE": "NOTIFICATION",
+ "CHANGE_LOCK_CODE_OPERATION_CODE": "CHANGE_LOCK_CODE"
+};
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.operation-mod/public/js/operation-mod.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.operation-mod/public/js/operation-mod.js
index 4e5d74f56..3d35bd67d 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.operation-mod/public/js/operation-mod.js
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.operation-mod/public/js/operation-mod.js
@@ -146,7 +146,7 @@ var windowsOperationModule = function () {
"WIPE_DATA": "wipe-data"
};
//return "/mdm-windows-agent/services/windows/operation/" + featureMap[operationCode];
- return "/api/device-mgt/windows/v1.0/services/windows/admin/devices/" + featureMap[operationCode];
+ return "/api/device-mgt/windows/v1.0/operation/admin/devices/" + featureMap[operationCode];
};
/**
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.hbs b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.hbs
deleted file mode 100644
index 544dc23d7..000000000
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.hbs
+++ /dev/null
@@ -1,64 +0,0 @@
-{{!
- Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
-
- WSO2 Inc. licenses this file to you under the Apache License,
- Version 2.0 (the "License"); you may not use this file except
- in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing,
- software distributed under the License is distributed on an
- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- KIND, either express or implied. See the License for the
- specific language governing permissions and limitations
- under the License.
-}}
-{{#zone "content"}}
-
-
-
-
-
-
- Please scan the following QR code using your new Android, iPhone or Windows mobile device.
-
-
-
-
-
- Not having a QR code scanner in your device?
-
- Try following link
-
- {{enrollmentURL}}
-
- on your device's Internet browser instead.
-
-
-
-
-
-{{/zone}}
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.js
deleted file mode 100644
index 5177e51f3..000000000
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.js
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * Copyright (c) 2016, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-function onRequest() {
- var mdmProps = require("/app/modules/conf-reader/main.js")["conf"];
- var viewModel = {};
- //TODO: Move enrollment URL into app-conf.json
- viewModel["enrollmentURL"] = mdmProps["generalConfig"]["host"] + mdmProps["windowsEnrollmentDir"];
- return viewModel;
-}
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.json b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.json
deleted file mode 100644
index 688e93980..000000000
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.qr-modal/qr-modal.json
+++ /dev/null
@@ -1,3 +0,0 @@
-{
- "version": "1.0.0"
-}
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/private/config.json b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/private/config.json
index 66364b5d1..5d6857828 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/private/config.json
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/private/config.json
@@ -3,6 +3,77 @@
"label": "Windows",
"category": "mobile",
"analyticsEnabled": "false",
- "groupingEnabled": "false"
+ "groupingEnabled": "false",
+ "features": {
+ "DEVICE_RING": {
+ "icon": "fw-dial-up"
+ },
+ "DEVICE_LOCK": {
+ "icon": "fw-lock"
+ },
+ "DEVICE_LOCATION": {
+ "icon": "fw-map-location"
+ },
+ "CLEAR_PASSWORD": {
+ "icon": "fw-clear"
+ },
+ "DEVICE_REBOOT": {
+ "icon": "fw-refresh"
+ },
+ "UPGRADE_FIRMWARE": {
+ "icon": "fw-hardware",
+ "formParams": [
+ {
+ "type": "checkbox",
+ "id": "immediate",
+ "optional": true,
+ "label": "Instant Upgrade",
+ "helper": "Once enabled, device firmware upgrade process will start instantly."
+ },
+ {
+ "type": "text",
+ "id": "schedule",
+ "optional": false,
+ "label": "Enter the date and time to schedule firmware upgrade."
+ },
+ {
+ "type": "text",
+ "id": "server",
+ "optional": true,
+ "label": "Enter firmware upgrade server URL (ie. http://abc.com or http://abc.com/ota)"
+ }
+ ]
+ },
+ "DEVICE_MUTE": {
+ "icon": "fw-mute"
+ },
+ "NOTIFICATION": {
+ "icon": "fw-message",
+ "formParams": [
+ {
+ "type": "text",
+ "id": "messageText",
+ "optional": false,
+ "label": "Title Here..."
+ },
+ {
+ "type": "text",
+ "id": "messageTitle",
+ "optional": false,
+ "label": "Message Here..."
+ }
+ ]
+ },
+ "LOCK_RESET": {
+ "icon": "fw-security"
+
+ },
+ "DISENROLL": {
+ "icon": "fw-block"
+ },
+ "WIPE_DATA": {
+ "icon": "fw-delete"
+ }
+ }
}
}
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs
index a35375318..3a40f0f8c 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.hbs
@@ -1,22 +1,26 @@
{{unit "cdmf.unit.lib.qrcode"}}
-{{unit "cdmf.unit.device.type.windows.qr-modal"}}
+{{unit "cdmf.unit.device.type.qr-modal" enrollmentURL=enrollmentURL deviceTypeName="Windows"}}
+{{unit "cdmf.unit.device.type.email.invite-modal" deviceTypeView="windows"}}
Windows Mobile
-
+
-
+
What it Does
Connect and manage your Windows device with WSO2 IoT Server.
+
Enroll Device
+
Invite by Email
+
Configure your workplace account
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.js b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.js
index ac41dedd7..0c1624d4b 100644
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.js
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view/type-view.js
@@ -19,6 +19,7 @@
function onRequest(context){
var viewModel = {};
var devicemgtProps = require("/app/modules/conf-reader/main.js")["conf"];
- viewModel.hostName = devicemgtProps["httpsURL"];
+ viewModel["hostName"] = devicemgtProps["httpsURL"];
+ viewModel["enrollmentURL"] = devicemgtProps["generalConfig"]["host"] + devicemgtProps["windowsEnrollmentDir"];
return viewModel;
}
\ No newline at end of file
diff --git a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/units/mdm.unit.ui.header.logo/logo.hbs b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/units/mdm.unit.ui.header.logo/logo.hbs
index 02f29a345..cabecd2d1 100755
--- a/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/units/mdm.unit.ui.header.logo/logo.hbs
+++ b/components/mobile-plugins/windows-plugin/org.wso2.carbon.device.mgt.mobile.windows.ui/src/main/resources/jaggeryapps/windows-web-agent/app/units/mdm.unit.ui.header.logo/logo.hbs
@@ -17,8 +17,8 @@
}}
{{#zone "brand"}}
-
- Enterprise Mobility Manager
+
+ WSO2 IoT
{{/zone}}
\ No newline at end of file
diff --git a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/devicetypes/windows.xml b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/devicetypes/windows.xml
index 6d2d772d1..1313b6867 100644
--- a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/devicetypes/windows.xml
+++ b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/devicetypes/windows.xml
@@ -62,55 +62,63 @@
-
- Device Lock
- Lock the device
-
-
-
- Device Lock
+ Disenroll
Lock the device
-
+
- Device Lock
+ Wipe Data
Lock the device
-
+
+ Ring
+ Lock the device
+
+
+
+
Device Lock
Lock the device
-
+
- Device Lock
+ Device Lock Reset
Lock the device
-
+
+
+ Device info
+ Request device information
+
Password Policy
Set passcode policy
-
-
Camera Enable/Disable
Enable/Disable camera
-
-
Encrypt Storage
Encrypt the device storage
-
-
+
+ true
+ 60000
+
+
+ DEVICE_INFO
+ 1
+
+
+
false
diff --git a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf
index 915cd258e..2888d1ef1 100644
--- a/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf
+++ b/features/mobile-plugins-feature/windows-plugin-feature/org.wso2.carbon.device.mgt.mobile.windows.feature/src/main/resources/p2.inf
@@ -22,6 +22,7 @@ org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../dep
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.type-view);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.leaflet);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.operation-bar);\
+org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.new.operation-bar);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.operation-mod);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../deployment/server/jaggeryapps/devicemgt/app/units/cdmf.unit.device.type.windows.date-range-picker);\
org.eclipse.equinox.p2.touchpoint.natives.remove(path:${installFolder}/../../../dbscripts/cdm/plugins/windows);\
diff --git a/pom.xml b/pom.xml
index 7a710c348..6f3670dc4 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1266,7 +1266,7 @@
4.7.2
- 5.6.17
+ 5.6.89
5.2.7
5.2.2
[5.2.2, 6.0.0)