Ace 7 years ago
parent 62451cab93
commit 9fc1894631

@ -29,7 +29,7 @@
</div> </div>
<div class="wr-input-control wr-btn-grp"> <div class="wr-input-control wr-btn-grp">
<button id="save-general-btn" class="wr-btn" onclick="artifactUpload();"> <button id="save-general-btn" class="wr-btn" onclick="arduinoArtifactUpload();">
Deploy Analytics Artifacts Deploy Analytics Artifacts
</button> </button>
</div> </div>

@ -104,7 +104,7 @@ var addConfiguration = function () {
); );
}; };
var artifactUpload = function () { var arduinoArtifactUpload = 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/publish-artifact/deploy/arduino"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/arduino";

@ -28,7 +28,7 @@
<i class="icon fw fw-error"></i><span></span> <i class="icon fw fw-error"></i><span></span>
</div> </div>
<div class="wr-input-control wr-btn-grp"> <div class="wr-input-control wr-btn-grp">
<button id="save-general-btn" class="wr-btn" onclick="artifactUpload();"> <button id="save-general-btn" class="wr-btn" onclick="raspberryArtifactUpload();">
Deploy Analytics Artifacts Deploy Analytics Artifacts
</button> </button>

@ -114,7 +114,7 @@ var addConfiguration = function () {
); );
}; };
var artifactUpload = function () { var raspberryArtifactUpload = 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/publish-artifact/deploy/raspberrypi"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/raspberrypi";

@ -29,7 +29,7 @@
<i class="icon fw fw-error"></i><span></span> <i class="icon fw fw-error"></i><span></span>
</div> </div>
<div class="wr-input-control wr-btn-grp"> <div class="wr-input-control wr-btn-grp">
<button id="save-general-btn" class="wr-btn" onclick="artifactUpload();"> <button id="save-general-btn" class="wr-btn" onclick="virtualfirealarmArtifactUpload();">
Deploy Analytics Artifacts Deploy Analytics Artifacts
</button> </button>

@ -104,7 +104,7 @@ var addConfiguration = function () {
); );
}; };
var artifactUpload = function () { var virtualfirealarmArtifactUpload = 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/publish-artifact/deploy/virtual_firealarm"; var urix = backendEndBasePath + "/admin/publish-artifact/deploy/virtual_firealarm";

Loading…
Cancel
Save