[
https://issues.apache.org/jira/browse/ATLAS-1037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Madhan Neethiraj resolved ATLAS-1037.
-------------------------------------
Resolution: Abandoned
This refers to code that doesn't exist any more in Atlas.
> Identify and refactor Repository project code to move the intiailization
> logic out of constructors.
> ---------------------------------------------------------------------------------------------------
>
> Key: ATLAS-1037
> URL: https://issues.apache.org/jira/browse/ATLAS-1037
> Project: Atlas
> Issue Type: Improvement
> Affects Versions: 0.7-incubating
> Reporter: Neeru Gupta
> Priority: Major
>
> Currently, singletons in repository project like DefaultMetadataService,
> GraphBackedSearchIndexer initialize bootstrap types and indices as part of
> object initialization (in constructors). This is not a good practice. It also
> interferes with object graph initialization. This code should be moved out of
> constructors. Initialization of store should happen after object graph has
> been loaded. One place to move this code is in
> GraphServletConfig.contextInitialized.startServices method.
> Test code will need to call this logic as well.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)