Vladislav Pyatkov created IGNITE-15723:
------------------------------------------
Summary: Implement a component factory
Key: IGNITE-15723
URL: https://issues.apache.org/jira/browse/IGNITE-15723
Project: Ignite
Issue Type: Bug
Reporter: Vladislav Pyatkov
Today we have many component (managers) that configure during start node.
All of it created into the Ignite node constructor (IgniteImpl#IgniteImpl) and
cannot be configurable: for example, no way to replace (or reconfigure) a
Metarore for test.
There is a recommendation to create the component factory, that can to create
other managers itself. It should work as now by default, but in a test we will
be able to rewrite some method for test purpose.
In the ticket, need to create a default component factory and a method for
IgniteManager which allow passing it. This new method does not need in ordinal
cases, that means an internal interface for IgniteManager is required
(IgniteManagerImpl).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)