Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-15723

Implement a component factory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • None
    • Docs Required, Release Notes Required

    Description

      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 Metastore 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).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              v.pyatkov Vladislav Pyatkov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated: