Project

General

Profile

Actions

Bug #16870

closed

server_status to call CandlepinPing.ping just once

Added by Pavel Moravec over 7 years ago. Updated almost 6 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 #1

Updated by The Foreman Bot over 7 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6390 added
Actions #2

Updated by Pavel Moravec over 7 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 7 years ago

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

Updated by Justin Sherrill over 7 years ago

  • translation missing: en.field_release set to 188
Actions

Also available in: Atom PDF