Sha256: 260da8cc6540ed77e3b61ce1ffd7d547e35fdecf7be939a09d8e97d63dfa30fa
Contents?: true
Size: 1.05 KB
Versions: 9
Compression:
Stored size: 1.05 KB
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' }, availableProducts: {method: 'GET', params: {action: 'products', 'available_for': 'sync_plan'}}, addProducts: {method: 'PUT', params: {action: 'add_products'}}, removeProducts: {method: 'PUT', params: {action: 'remove_products'}}, products: {method: 'GET', params: {action: 'products'}} } ); }] );
Version data entries
9 entries across 9 versions & 1 rubygems