You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Vladislav Pyatkov (Jira)" <ji...@apache.org> on 2021/04/05 08:59:00 UTC

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

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)