Sha256: 6e4f83a0e1e9b9ec806345a883af695cf9dca5d46556e4c7d37715f205f2f6ce

Contents?: true

Size: 632 Bytes

Versions: 8

Compression:

Stored size: 632 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.products.factory:ProductBulkAction
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for bulk actions on products.
 */
angular.module('Bastion.products').factory('ProductBulkAction',
    ['BastionResource', function (BastionResource) {

        return BastionResource('/katello/api/products/bulk/:action', {}, {
            removeProducts: {method: 'PUT', params: {action: 'destroy'}},
            syncProducts: {method: 'PUT', params: {action: 'sync'}},
            updateProductSyncPlan: {method: 'PUT', params: {action: 'sync_plan'}}
        });
    }]
);

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/products/product-bulk-action.factory.js