aboutsummaryrefslogtreecommitdiffstats
path: root/gui/app/scripts/factory/main.factory.js
diff options
context:
space:
mode:
authorJack Chan <chenjiankun1@huawei.com>2018-03-16 09:01:07 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-03-16 09:01:07 +0000
commita6a54f115cb55a4cf91df24e9b894f89b232dae8 (patch)
treea18847a270f64710d5daefd73cfdb5622134c3e6 /gui/app/scripts/factory/main.factory.js
parent8fe2c9fd13783fc5aa0f3b488274b5f892f2f260 (diff)
parent1d2acc900a695bee5c1d83d7631725e4d8b18df0 (diff)
Merge "Supporting user config task parameters in GUI"
Diffstat (limited to 'gui/app/scripts/factory/main.factory.js')
-rw-r--r--gui/app/scripts/factory/main.factory.js8
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' }, {