Skip to content

Commit

Permalink
Build latest artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
mtho11 committed Feb 11, 2016
1 parent 85ba457 commit 584c559
Showing 1 changed file with 38 additions and 7 deletions.
45 changes: 38 additions & 7 deletions dist/hawkular-ui-service.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,13 @@ var hawkularRest;
factory.Trigger = $resource(prefix + '/hawkular/alerts/triggers/:triggerId', {
triggerId: '@triggerId'
}, {
full: {
method: 'GET',
url: prefix + '/hawkular/alerts/triggers/trigger/:triggerId',
params: {
triggerId: '@triggerId'
}
},
query: {
method: 'GET',
isArray: true,
Expand All @@ -145,28 +152,48 @@ var hawkularRest;
},
put: {
method: 'PUT'
},
putGroup: {
method: 'PUT',
url: prefix + '/hawkular/alerts/triggers/groups/:groupId',
params: {
groupId: '@groupId'
}
}
});
factory.Dampening = $resource(prefix + '/hawkular/alerts/triggers/:triggerId/dampenings/:dampeningId', {
triggerId: '@triggerId',
dampeningId: '@dampeningId'
}, {
query: {
method: 'GET',
isArray: true,
url: prefix + '/hawkular/alerts/triggers/:triggerId/dampenings/'
},
save: {
method: 'POST',
url: prefix + '/hawkular/alerts/triggers/:triggerId/dampenings/'
},
put: {
method: 'PUT'
},
query: {
method: 'GET',
isArray: true,
url: prefix + '/hawkular/alerts/triggers/:triggerId/dampenings/'
putGroup: {
method: 'PUT',
url: prefix + '/hawkular/alerts/triggers/groups/:groupId/dampenings/:dampeningId',
params: {
groupId: '@groupId',
triggerMode: '@dampeningId'
}
}
});
factory.Conditions = $resource(prefix + '/hawkular/alerts/triggers/:triggerId/conditions/', {
triggerId: '@triggerId'
}, {
query: {
method: 'GET',
isArray: true,
url: prefix + '/hawkular/alerts/triggers/:triggerId/conditions/'
},
save: {
method: 'PUT',
isArray: true,
Expand All @@ -176,10 +203,14 @@ var hawkularRest;
triggerMode: '@triggerMode'
}
},
query: {
method: 'GET',
saveGroup: {
method: 'PUT',
isArray: true,
url: prefix + '/hawkular/alerts/triggers/:triggerId/conditions/'
url: prefix + '/hawkular/alerts/triggers/groups/:groupId/conditions/:triggerMode',
params: {
groupId: '@groupId',
triggerMode: '@triggerMode'
}
}
});
factory.ActionPlugin = $resource(prefix + '/hawkular/alerts/plugins/:actionPlugin', {
Expand Down

0 comments on commit 584c559

Please sign in to comment.