Project

General

Custom queries

Profile

Actions

Bug #16870

closed

server_status to call CandlepinPing.ping just once

Added by Pavel Moravec over 8 years ago. Updated almost 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Subscriptions
Target version:
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

Getting katello status fetches data from Candlepin redundantly many times. See https://github.com/Katello/katello/blob/master/app/controllers/katello/api/rhsm/candlepin_proxies_controller.rb#L238.

Let call the Katello::Resources::Candlepin::CandlepinPing.ping just once and store it in a variable referred later on.

Actions #2

Updated by Pavel Moravec over 8 years ago

(I am little bit unsure if this API isnt deprecated - calling:

curl --stderr /dev/null --insecure --request GET https://satellite.example.com:443/katello/api/status

the method from api/v2/ping_controller.rb is executed)

Actions #3

Updated by Pavel Moravec over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF