--- /dev/null
+'use strict';
+
+alloWebadminServices
+ .factory('Appliance', ['$resource', 'allo_server_url',
+ function ($resource, allo_server_url) {
+ return $resource(allo_server_url, {}, {
+ info: { method:'GET', isArray: false , params: { action: 'appliances_info', id: '@id' } },
+ all: { method:'GET', isArray: false , params: { action: 'appliances_list' } },
+ nb: { method:'GET', isArray: false , params: { action: 'appliances_nb' } },
+ get_changelog: { method:'GET', isArray: false , params: { action: 'appliances_historique', id: '@id' } },
+ delete: { method:'GET', isArray: false , params: { action: 'appliances_delete', id: '@id'} }
+ });
+ }]);
\ No newline at end of file