Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nuage provider assumes Qpid constant is loaded or autoloadable
manageiq-providers-nuage can be eager loaded on all platforms. It's dependency, qpid_proton, is hidden because it can't be required on macos. Because this is an optional dependency, any platforms that can install it will need to eager require it since EventCatcher::MessagingHandler needs it at require/load time. The alternative is to make qpid_proton require work on mac and define these constants. For example: class ManageIQ::Providers::Nuage::NetworkManager::EventCatcher::MessagingHandler < Qpid::Proton::MessagingHandler ... end https://github.com/ManageIQ/manageiq-providers-nuage/blob/541494cded64b1ef281c71767d7d5f88cf4bb08d/app/models/manageiq/providers/nuage/network_manager/event_catcher/messaging_handler.rb#L1
- Loading branch information