diff options
author | Jack Chan <chenjiankun1@huawei.com> | 2018-03-16 09:01:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-16 09:01:07 +0000 |
commit | a6a54f115cb55a4cf91df24e9b894f89b232dae8 (patch) | |
tree | a18847a270f64710d5daefd73cfdb5622134c3e6 /gui/app/scripts/factory | |
parent | 8fe2c9fd13783fc5aa0f3b488274b5f892f2f260 (diff) | |
parent | 1d2acc900a695bee5c1d83d7631725e4d8b18df0 (diff) |
Merge "Supporting user config task parameters in GUI"
Diffstat (limited to 'gui/app/scripts/factory')
-rw-r--r-- | gui/app/scripts/factory/main.factory.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gui/app/scripts/factory/main.factory.js b/gui/app/scripts/factory/main.factory.js index 16e9c81fe..f75369336 100644 --- a/gui/app/scripts/factory/main.factory.js +++ b/gui/app/scripts/factory/main.factory.js @@ -221,6 +221,14 @@ angular.module('yardStickGui2App') } }) }, + + taskAddParams: function() { + return $resource(Base_URL + '/api/v2/yardstick/tasks/:taskId', { taskId: "@taskId" }, { + 'put': { + method: 'PUT' + } + }) + }, //delete operate deleteEnv: function() { return $resource(Base_URL + '/api/v2/yardstick/environments/:env_id', { env_id: '@env_id' }, { |