Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RemoveBackwardsCompatibility/HeuristicLab.Services.WebApp.Status/3.3/WebApp/services/statusService.js @ 15287

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

#2394 added web app and status page to trunk

File size: 520 bytes
Line 
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.