Sha256: 8cfde90ad65531e225871c6d20ace7f0ed976f4ee871599e225e6b254c8326c0

Contents?: true

Size: 1.67 KB

Versions: 65

Compression:

Stored size: 1.67 KB

Contents

/**
 * @ngdoc factory
 * @name  Bastion.activation-keys.factory:ActivationKey
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for activation keys.
 */
angular.module('Bastion.activation-keys').factory('ActivationKey',
    ['BastionResource', function (BastionResource) {

        return BastionResource('katello/api/v2/activation_keys/:id/:action/:action2', {id: '@id'}, {
            get: {method: 'GET', params: {fields: 'full'}},
            update: {method: 'PUT'},
            copy: {method: 'POST', params: {action: 'copy'}},
            releaseVersions: {method: 'GET', params: {action: 'releases'}},
            subscriptions: {method: 'GET', params: {action: 'subscriptions'}},
            contentHosts: {method: 'GET', params: {action: 'systems'}},
            removeSubscriptions: {method: 'PUT', isArray: false, params: {action: 'remove_subscriptions'}},
            addSubscriptions: {method: 'PUT', isArray: false, params: {action: 'add_subscriptions'}},
            hostCollections: {method: 'GET', params: {action: 'host_collections'}},
            availableHostCollections: {method: 'GET', params: {action: 'host_collections', action2: 'available'}},
            removeHostCollections: {method: 'PUT', isArray: false, params: {action: 'host_collections'}},
            addHostCollections: {method: 'POST', isArray: false, params: {action: 'host_collections'}},
            contentOverride: {method: 'PUT', isArray: false, params: {action: 'content_override'}},
            autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}},
            repositorySets: {method: 'GET', params: {action: 'product_content'}}
        });
    }]
);

Version data entries

65 entries across 65 versions & 1 rubygems

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