Sha256: 26cbabc236a04130215bce0ed36e53882ee0cbe063a0b4ccd0e27388dcbd4d5a
Contents?: true
Size: 878 Bytes
Versions: 9
Compression:
Stored size: 878 Bytes
Contents
/** * @ngdoc service * @name Bastion.errata.factory:Erratum * * @requires BastionResource * * @description * Provides a BastionResource for Errata */ angular.module('Bastion.errata').factory('Erratum', ['BastionResource', function (BastionResource) { return BastionResource('/katello/api/v2/errata/:id/', {id: '@id', 'sort_by': 'issued', 'sort_order': 'DESC'}, { autocomplete: {method: 'GET', isArray: true, params: {id: 'auto_complete_search'}}, applicableContentHosts: {method: 'GET', transformResponse: function (data) { var erratum = angular.fromJson(data), systems = erratum['systems_applicable']; return {results: systems, subtotal: systems.length, total: systems.length}; }} } ); }] );
Version data entries
9 entries across 9 versions & 1 rubygems