Free cookie consent management tool by TermsFeed Policy Generator

source: branches/2922-DataCompletenessChartPerf/HeuristicLab.Services.WebApp.Maintenance/3.3/WebApp/services/pluginService.js @ 18242

Last change on this file since 18242 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: 642 bytes
Line 
1(function () {
2    var module = appMaintenancePlugin.getAngularModule();
3    var apiUrl = 'api/Maintenance/Plugin/';
4    module.factory('app.maintenance.pluginService',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { id: '@id', page: '@page', size: '@size' }, {
7                getUnusedPlugins: { method: 'GET', params: { action: 'GetUnusedPlugins' } },
8                deletePlugin: { method: 'POST', params: { action: 'DeletePlugin' } },
9                deleteUnusedPlugins: { method: 'POST', params: { action: 'DeleteUnusedPlugins' } }
10            });
11        }]
12    );
13})();
Note: See TracBrowser for help on using the repository browser.