Code Review
/
releng.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Merge "xci: Add/update variables to tool, user, and flavors"
[releng.git]
/
utils
/
test
/
reporting
/
pages
/
app
/
scripts
/
factory
/
table.factory.js
1
'use strict';
2
3
/**
4
* get data factory
5
*/
6
angular.module('opnfvApp')
7
.factory('TableFactory', function($resource, $rootScope) {
8
9
return {
10
getFilter: function() {
11
return $resource(BASE_URL + '/filters', {}, {
12
'get': {
13
method: 'GET',
14
15
}
16
});
17
},
18
getScenario: function() {
19
return $resource(BASE_URL + '/scenarios', {}, {
20
'post': {
21
method: 'POST',
22
}
23
})
24
}
25
};
26
});