Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.WebApp.Status/3.3/WebApp/services/statusService.js @ 15651

Last change on this file since 15651 was 12428, checked in by ascheibe, 10 years ago

#2394 added web app and status page to trunk

File size: 520 bytes
RevLine 
[12428]1(function () {
2    var module = appStatusPlugin.getAngularModule();
3    var apiUrl = 'api/Status/Data/';
4    module.factory('app.status.data.service',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { start: '@start', end: '@end' }, {
7                getStatus: { method: 'GET', params: { action: 'GetStatus' } },
8                getStatusHistory: { method: 'GET', params: { action: 'GetStatusHistory' }, isArray: true }
9            });
10        }]
11    );
12})();
Note: See TracBrowser for help on using the repository browser.