Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 18242 was 12428, checked in by ascheibe, 9 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.