Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Services.WebApp.Maintenance/3.3/WebApp/services/facttaskService.js @ 12878

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

#2429: Worked on the maintenance WebApp plugin:

  • Space Usage Page: Displays the number of rows and allocated disk space for every database table
  • Plugin Page: Shows unused plugins and provides functionality to delete all and specific plugins
  • FactTask Page: Allows to aggregate all Job Tasks to a single task for a given job or jobs within an selected time period
  • FactClientInfo Page: Allows to aggregate consecutive FactClientInfo entries with the same state and isallowedtocalculate flag
File size: 652 bytes
Line 
1(function () {
2    var module = appMaintenancePlugin.getAngularModule();
3    var apiUrl = 'api/Maintenance/FactTask/';
4    module.factory('app.maintenance.facttaskService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { start: '@start', end: '@end', id: '@id', page: '@page', size: '@size' }, {
7                getJobs: { method: 'GET', params: { action: 'GetJobs' } },
8                aggregateJob: { method: 'POST', params: { action: 'AggregateJob' } },
9                aggregateAllJobs: { method: 'POST', params: { action: 'AggregateAllJobs' } }
10            });
11        }]
12    );
13})();
Note: See TracBrowser for help on using the repository browser.