Sha256: 0d74da2ec5537af5ba0c0fe1db2c163d9fa9b9d9985f0af119e8ce6076510caf

Contents?: true

Size: 832 Bytes

Versions: 10

Compression:

Stored size: 832 Bytes

Contents

/**
 * @ngdoc service
 * @name  Bastion.docker-tags.factory:DockerTag
 *
 * @requires BastionResource
 *
 * @description
 *   Provides a BastionResource for Docker Tags
 */
angular.module('Bastion.docker-tags').factory('DockerTag',
    ['BastionResource', function (BastionResource) {

        return BastionResource('/katello/api/v2/docker_tags/:id/',
            {id: '@id'},
            {
                autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}},
                'autocompleteName': {method: 'GET', isArray: false, params: {id: 'auto_complete_name'},
                    transformResponse: function (data) {
                        data = angular.fromJson(data);
                        return {results: data};
                    }
                }
            }
        );

    }]
);

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
katello-3.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js
katello-3.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.factory.js