#795: request_factory and environment_factory options point to files in the bloodhound source directory ------------------------+----------------------- Reporter: rjollos | Owner: rjollos Type: defect | Status: accepted Priority: major | Milestone: Release 8 Component: installer | Version: Resolution: | Keywords: ------------------------+-----------------------
Comment (by rjollos): Replying to [comment:4 olemis]: > Replying to [comment:2 rjollos]: > > Replying to [ticket:795 rjollos]: > > > ... or instead refer to component classes. > > > [...] > > `BootstrapHandlerBase` would also need to be a `Component` class. > > This part I do not think it is on the right track because `BootstrapHandlerBase.open_environment()` is responsible for instantiating environments . Should you turn the class into a component then you'd need an environment beforehand for the component meant to instantiate an environment , thus leading to a chicken egg situation . That makes sense. Thanks for the feedback. So maybe I will try to workup a patch which doesn't change `BootstrapHandlerBase`, but changes `EnvironmentFactoryBase` and `RequestFactoryBase` to be `Component` classes. -- Ticket URL: <https://issues.apache.org/bloodhound/ticket/795#comment:5> Apache Bloodhound <https://issues.apache.org/bloodhound/> The Apache Bloodhound issue tracker