diff options
Diffstat (limited to 'ccsdk-app-overlay/src/main/webapp/app/ccsdk/cloudify/execution-service.js')
-rw-r--r-- | ccsdk-app-overlay/src/main/webapp/app/ccsdk/cloudify/execution-service.js | 27 |
1 files changed, 3 insertions, 24 deletions
diff --git a/ccsdk-app-overlay/src/main/webapp/app/ccsdk/cloudify/execution-service.js b/ccsdk-app-overlay/src/main/webapp/app/ccsdk/cloudify/execution-service.js index 34414c4..e4a8879 100644 --- a/ccsdk-app-overlay/src/main/webapp/app/ccsdk/cloudify/execution-service.js +++ b/ccsdk-app-overlay/src/main/webapp/app/ccsdk/cloudify/execution-service.js @@ -1,24 +1,3 @@ -/******************************************************************************* - * =============LICENSE_START========================================================= - * - * ================================================================================= - * Copyright (c) 2017 AT&T Intellectual Property. 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. - * ============LICENSE_END========================================================= - * - * ECOMP is a trademark and service mark of AT&T Intellectual Property. - *******************************************************************************/ appDS2.factory('ExecutionService', function ($http, $q, $log) { return { /** @@ -88,8 +67,8 @@ appDS2.factory('ExecutionService', function ($http, $q, $log) { }); }, - cancelExecution: function(id, deploymentId, action) { - let url = 'executions/' + id + '?deployment_id=' + deploymentId + '&action=' + action; + cancelExecution: function(id, deploymentId, action, tenant) { + let url = 'executions/' + id + '?deployment_id=' + deploymentId + '&action=' + action + '&tenant=' + tenant; return $http({ method: 'DELETE', url: url, @@ -105,6 +84,6 @@ appDS2.factory('ExecutionService', function ($http, $q, $log) { $log.error('ExecutionService.cancelExecution failed: ' + JSON.stringify(error)); return $q.reject(error.statusText); }); - } + }, }; }); |