Sha256: 929b4c905b2136f14f63592a9b2fbdf9bee64a98963e9b81ee104a0df1f77f61

Contents?: true

Size: 941 Bytes

Versions: 69

Compression:

Stored size: 941 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.content-views.factory:ContentViewVersion
 *
 * @requires BastionResource
 * @requires CurrentOrganization
 *
 * @description
 *   Provides a BastionResource for interacting with Content View Versions.
 */
angular.module('Bastion.content-views.versions').factory('ContentViewVersion',
    ['BastionResource', function (BastionResource) {

        return BastionResource('katello/api/v2/content_view_versions/:id/:action',
            {id: '@id'},
            {
                autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}},
                update: {method: 'PUT'},
                incrementalUpdate: {method: 'POST', params: {action: 'incremental_update'}},
                promote: {method: 'POST', params: {action: 'promote'}},
                republishRepositories: {method: 'PUT', params: {action: 'republish_repositories'}}
            }
        );

    }]
);

Version data entries

69 entries across 69 versions & 1 rubygems

Version Path
katello-3.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.13.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.13.0.rc2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.13.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.12.3 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.12.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.11.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.10.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.10.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.10.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.11.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js
katello-3.11.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/content-views/versions/content-view-version.factory.js