|
|
|
@ -38,9 +38,9 @@ var operationModule = function () {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
privateMethods.getOperationsFromFeatures = function (deviceType, operationType) {
|
|
|
|
|
var url = devicemgtProps["httpsURL"] + devicemgtProps["backendRestEndpoints"]["deviceMgt"] + "/features/" + deviceType;
|
|
|
|
|
var url = devicemgtProps["httpsURL"] + devicemgtProps["backendRestEndpoints"]["deviceMgt"] + "/device-types/" + deviceType + "/features";
|
|
|
|
|
var featuresList = serviceInvokers.XMLHttp.get(url, function (responsePayload) {
|
|
|
|
|
var features = responsePayload;
|
|
|
|
|
var features = JSON.parse(responsePayload.responseText);
|
|
|
|
|
var featureList = [];
|
|
|
|
|
var feature;
|
|
|
|
|
for (var i = 0; i < features.length; i++) {
|
|
|
|
|