Sha256: 1c22c3aad861e2d7edaf9e40f4ef73e77c895577332dc883b39685b2149a0b1a

Contents?: true

Size: 1.66 KB

Versions: 45

Compression:

Stored size: 1.66 KB

Contents

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

        return BastionResource('api/v2/hosts/bulk/:action', {}, {
            addHostCollections: {method: 'PUT', params: {action: 'add_host_collections'}},
            removeHostCollections: {method: 'PUT', params: {action: 'remove_host_collections'}},
            updateRepositorySets: {method: 'PUT', params: {action: 'content_overrides'}},
            addSubscriptions: {method: 'PUT', params: {action: 'add_subscriptions'}},
            removeSubscriptions: {method: 'PUT', params: {action: 'remove_subscriptions'}},
            installableErrata: {method: 'POST', params: {action: 'installable_errata'}},
            installContent: {method: 'PUT', params: {action: 'install_content'}},
            updateContent: {method: 'PUT', params: {action: 'update_content'}},
            removeContent: {method: 'PUT', params: {action: 'remove_content'}},
            autoAttach: {method: 'PUT', params: {action: 'auto_attach'}},
            destroyHosts: {method: 'PUT', params: {action: 'destroy'}},
            environmentContentView: {method: 'PUT', params: {action: 'environment_content_view'}},
            releaseVersion: {method: 'PUT', params: {action: 'release_version'}},
            availableIncrementalUpdates: {method: 'POST', isArray: true, params: {action: 'available_incremental_updates'}},
            moduleStreams: {method: 'POST', params: {action: 'module_streams'}}
        });

    }]
);

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
katello-3.15.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0.rc1.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0.rc1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.13.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.13.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.13.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js