Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2645_ContextAlgorithms/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/services/jobService.js

Last change on this file was 12525, checked in by dglaser, 9 years ago

#2388:

HeuristicLab.Services.WebApp.Statistics-3.3:

  • added groups page
  • improved jobs, clients and users pages

HeuristicLab.Services.WebApp-3.3:

  • merged from trunk
File size: 1.1 KB
Line 
1(function () {
2    var module = appStatisticsPlugin.getAngularModule();
3    var apiUrl = 'api/Statistics/Job/';
4    module.factory('app.statistics.jobService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { id: '@id', page: '@page', size: '@size', states: '@states', completed: '@completed' }, {
7                getJobDetails: { method: 'GET', params: { action: 'GetJobDetails' } },
8                getJobs: { method: 'GET', params: { action: 'GetJobs' } },
9                getAllJobs: { method: 'GET', params: { action: 'GetAllJobs'}, isArray: true },
10                getJobsByUserId: { method: 'GET', params: { action: 'GetJobsByUserId' } },
11                getAllJobsByUserId: { method: 'GET', params: { action: 'GetAllJobsByUserId'}, isArray: true },
12                getJobTasksStatesByJobId: { method: 'GET', params: { action: 'GetJobTasksStatesByJobId' }, isArray: true },
13                getAllActiveJobsFromAllUsers: { method: 'GET', params: { action: 'GetAllActiveJobsFromAllUsers' }, isArray: true }
14            });
15        }]
16    );
17})();
Note: See TracBrowser for help on using the repository browser.