Sha256: 1ffb91f903a8b773e7e71ebafc6daf9db463da6157842fa33c154283742a1aae

Contents?: true

Size: 1.73 KB

Versions: 18

Compression:

Stored size: 1.73 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'}},
            traces: {method: 'POST', params: {action: 'traces'}}
        });

    }]
);

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
katello-3.17.0.rc2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.17.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.1.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.17.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.17.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc5.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc5 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc4 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js
katello-3.16.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/hosts/host-bulk-action.factory.js