diff options
author | Jack Chan <chenjiankun1@huawei.com> | 2018-03-16 09:00:21 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-03-16 09:00:21 +0000 |
commit | 320ddb571c774a2cf17863225bb415bf6b2c65aa (patch) | |
tree | e69c25ea066668c95ce4de4c4b2a3c2a1274cda3 /gui/app/scripts/factory | |
parent | 32e60fb2c37573265111994d33c1a43ea64bf6f8 (diff) | |
parent | 4b8f53542a6871c863fbaba16dd5e0e35cf05ce5 (diff) |
Merge "Add SUT page in GUI"
Diffstat (limited to 'gui/app/scripts/factory')
-rw-r--r-- | gui/app/scripts/factory/main.factory.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/app/scripts/factory/main.factory.js b/gui/app/scripts/factory/main.factory.js index 7637a9ff3..16e9c81fe 100644 --- a/gui/app/scripts/factory/main.factory.js +++ b/gui/app/scripts/factory/main.factory.js @@ -58,6 +58,13 @@ angular.module('yardStickGui2App') } }) }, + SUTDetail: function() { + return $resource(Base_URL + '/api/v2/yardstick/environments/:envId/sut', { envId: "@envId" }, { + 'get': { + method: 'GET' + } + }) + }, ImageDetail: function() { return $resource(Base_URL + '/api/v2/yardstick/images/:image_id', { image_id: "@image_id" }, { 'get': { |