Sha256: 2818d04aea1eba28da6db15e0f02a4dc43537d139e2d49cc22ed8c87db339cd9
Contents?: true
Size: 960 Bytes
Versions: 199
Compression:
Stored size: 960 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
199 entries across 199 versions & 1 rubygems