Sha256: d12e5863927bbec0cb3ea7827641f5004ee275e4c662b6002eed68bdc5eaa58f
Contents?: true
Size: 961 Bytes
Versions: 18
Compression:
Stored size: 961 Bytes
Contents
/** * @ngdoc factory * @name Bastion.sync-plans.factory:SyncPlan * * @requires BastionResource * @requires CurrentOrganization * * @description * Provides a BastionResource for product or list of repositories. */ angular.module('Bastion.sync-plans').factory('SyncPlan', ['BastionResource', 'CurrentOrganization', function (BastionResource, CurrentOrganization) { return BastionResource('/katello/api/v2/organizations/:organizationId/sync_plans/:id/:action', {id: '@id', organizationId: CurrentOrganization}, { autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}, update: { method: 'PUT' }, sync: { method: 'PUT', params: {action: 'sync'}}, addProducts: {method: 'PUT', params: {action: 'add_products'}}, removeProducts: {method: 'PUT', params: {action: 'remove_products'}} } ); }] );
Version data entries
18 entries across 18 versions & 1 rubygems