Sha256: 1a152005d6d35e683dfe8709c18fed51d7cd10a7cc234953ed5830cbbb0245e4

Contents?: true

Size: 663 Bytes

Versions: 38

Compression:

Stored size: 663 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.capsule-content.factory:CapsuleContent
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for capsule content.
 */
angular.module('Bastion.capsule-content').factory('CapsuleContent',
    ['BastionResource', function (BastionResource) {

        return BastionResource('/katello/api/capsules/:id/content/:action', {id: '@id'}, {
          syncStatus: {method: 'GET', isArray: false, params: {action: 'sync'}},
          sync: {method: 'post', isArray: false, params: {action: 'sync'}},
          cancelSync: {method: 'delete', isArray: false, params: {action: 'sync'}}
        });

    }]
);

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
katello-3.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.2.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js
katello-3.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/capsule-content/capsule-content.factory.js