Merge pull request #705 from rasika/master

Changing artifact uploader admin service resource path
revert-dabc3590
Ayyoob Hamza 8 years ago committed by GitHub
commit 8707c7254b

@ -99,7 +99,7 @@ var addConfiguration = function () {
var artifactUpload = function () { var artifactUpload = function () {
var contentType = "application/json"; var contentType = "application/json";
var backendEndBasePath = "/api/device-mgt/v1.0"; var backendEndBasePath = "/api/device-mgt/v1.0";
var urix = backendEndBasePath + "/admin/devicetype/deploy/android_sense"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/android_sense";
var defaultStatusClasses = "fw fw-stack-1x"; var defaultStatusClasses = "fw fw-stack-1x";
var content = $("#androidsense-statistic-response-template").find(".content"); var content = $("#androidsense-statistic-response-template").find(".content");
var title = content.find("#title"); var title = content.find("#title");

@ -107,7 +107,7 @@ var addConfiguration = function () {
var artifactUpload = function () { var artifactUpload = function () {
var contentType = "application/json"; var contentType = "application/json";
var backendEndBasePath = "/api/device-mgt/v1.0"; var backendEndBasePath = "/api/device-mgt/v1.0";
var urix = backendEndBasePath + "/admin/devicetype/deploy/arduino"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/arduino";
var defaultStatusClasses = "fw fw-stack-1x"; var defaultStatusClasses = "fw fw-stack-1x";
var content = $("#arduino-statistic-response-template").find(".content"); var content = $("#arduino-statistic-response-template").find(".content");
var title = content.find("#title"); var title = content.find("#title");

@ -117,7 +117,7 @@ var addConfiguration = function () {
var artifactUpload = function () { var artifactUpload = function () {
var contentType = "application/json"; var contentType = "application/json";
var backendEndBasePath = "/api/device-mgt/v1.0"; var backendEndBasePath = "/api/device-mgt/v1.0";
var urix = backendEndBasePath + "/admin/devicetype/deploy/raspberrypi"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/raspberrypi";
var defaultStatusClasses = "fw fw-stack-1x"; var defaultStatusClasses = "fw fw-stack-1x";
var content = $("#raspberrypi-statistic-response-template").find(".content"); var content = $("#raspberrypi-statistic-response-template").find(".content");
var title = content.find("#title"); var title = content.find("#title");

@ -107,7 +107,7 @@ var addConfiguration = function () {
var artifactUpload = function () { var artifactUpload = function () {
var contentType = "application/json"; var contentType = "application/json";
var backendEndBasePath = "/api/device-mgt/v1.0"; var backendEndBasePath = "/api/device-mgt/v1.0";
var urix = backendEndBasePath + "/admin/devicetype/deploy/virtual_firealarm"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/virtual_firealarm";
var defaultStatusClasses = "fw fw-stack-1x"; var defaultStatusClasses = "fw fw-stack-1x";
var content = $("#virtual-firealarm-statistic-response-template").find(".content"); var content = $("#virtual-firealarm-statistic-response-template").find(".content");
var title = content.find("#title"); var title = content.find("#title");

Loading…
Cancel
Save