Free cookie consent management tool by TermsFeed Policy Generator

source: branches/HiveStatistics/sources/HeuristicLab.Services.WebApp.Statistics/3.3/WebApp/services/jobService.js @ 12516

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

#2388:

HeuristicLab.Services.Hive.DataAccess-3.3:

  • updated daos
  • changed statistics database schema
  • updated HiveStatisticsGenerator

HeuristicLab.Services.WebApp.Statistics-3.3:

  • added jobs, client and user page
File size: 984 bytes
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            });
14        }]
15    );
16})();
Note: See TracBrowser for help on using the repository browser.