Free cookie consent management tool by TermsFeed Policy Generator

source: branches/RefactorPluginInfrastructure-2522/HeuristicLab.Services.WebApp/3.3/WebApp/plugins/plugins/pluginsService.js @ 13401

Last change on this file since 13401 was 12428, checked in by ascheibe, 9 years ago

#2394 added web app and status page to trunk

File size: 496 bytes
Line 
1(function () {
2    var apiUrl = 'api/App/Plugin/';
3    var module = appPluginsPlugin.getAngularModule();
4    module.factory('app.plugins.service',
5        ['$resource', function ($resource) {
6            return $resource(apiUrl + ':action', { name: "@name" }, {
7                getPlugins: { method: 'GET', params: { action: 'GetPlugins' }, isArray: true },
8                reloadPlugin: { method: 'POST', params: { action: 'ReloadPlugin' } }
9            });
10        }]
11    );
12})();
Note: See TracBrowser for help on using the repository browser.