Project

General

Profile

Bug #23122

UpstreamPool placement is causing autoreloading to not happen in dev environment

Added by John Mitsch over 3 years ago. Updated about 3 years ago.

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

Description

UpstreamPool being in app/lib/katello/resources/candlepin/pool.rb is causing issues with autoreloading in dev env

open the rails console and run reload! then try to access Katello::Resources::Candlepin::UpstreamPool

or edit app/lib/katello/resources/candlepin.rb and notice the rails server doesn't reload the code changes


Related issues

Blocks Katello - Tracker #22595: Upstream Subscription Management from KatelloClosed

Associated revisions

Revision 7ff9760d (diff)
Added by John Mitsch over 3 years ago

Fixes #23122 - Move candlepin resources to their own file.

Upstream<CPCLASS> being in
/app/lib/katello/resources/candlepin/<CPCLASS>.rb
was affecting rails reloading in a dev environment.

Also is a good opportunity to break up candlepin.rb :)

History

#1 Updated by The Foreman Bot over 3 years ago

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

#2 Updated by Andrew Kofink over 3 years ago

  • Blocks Tracker #22595: Upstream Subscription Management from Katello added

#3 Updated by John Mitsch over 3 years ago

  • Legacy Backlogs Release (now unused) set to 338

#4 Updated by John Mitsch over 3 years ago

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

Also available in: Atom PDF