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

Get rid of using storage implementation explicitly in ConfigurationRoot annotation

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha2
    • None

    Description

      Today we are using generated schema classes in public API, but we don't want to provide an implementation in it.
      For example:

      @ConfigurationRoot(rootName = "rest", storage = InMemoryConfigurationStorage.class)
      public class RestConfigurationSchema {
      ...
      

      The mention of InMemoryConfigurationStorage should be changed to a specific constant:

      @ConfigurationRoot(rootName = "rest", storage = IgniteConsts.MEMORY_CONFIGURATION_STORAGE)
      public class RestConfigurationSchema {
      ...
      

      Attachments

        Issue Links

          Activity

            People

              sdanilov Semyon Danilov
              v.pyatkov Vladislav Pyatkov
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 1.5h
                  1.5h