[jira] [Created] (IGNITE-14476) Get rid of using storage implementation explicitly in ConfigurationRoot annotation

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Created] (IGNITE-14476) Get rid of using storage implementation explicitly in ConfigurationRoot annotation

Anton Vinogradov (Jira)
Vladislav Pyatkov created IGNITE-14476:
------------------------------------------

             Summary: Get rid of using storage implementation explicitly in ConfigurationRoot annotation
                 Key: IGNITE-14476
                 URL: https://issues.apache.org/jira/browse/IGNITE-14476
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov
             Fix For: 3.0.0-alpha2


Today we are using generated schema classes in public API, but we don't want to provide an implementation in it.
For example:
{code:java}
@ConfigurationRoot(rootName = "rest", storage = InMemoryConfigurationStorage.class)
public class RestConfigurationSchema {
...
{code}
The mention of InMemoryConfigurationStorage should be changed to a specific constant:
{code:java}
@ConfigurationRoot(rootName = "rest", storage = IgniteConsts.MEMORY_CONFIGURATION_STORAGE)
public class RestConfigurationSchema {
...
{code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)