[ 
https://issues.apache.org/jira/browse/ATLAS-3737?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Mestry updated ATLAS-3737:
-----------------------------------
    Attachment: ATLAS-3737-Refactoring-Support-multiple-instances-of.patch

> Refactoring: Improve AtlasGraph to Work with Externally Initialized Graph 
> Object
> --------------------------------------------------------------------------------
>
>                 Key: ATLAS-3737
>                 URL: https://issues.apache.org/jira/browse/ATLAS-3737
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: trunk
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>             Fix For: trunk
>
>         Attachments: 
> ATLAS-3737-Refactoring-Support-multiple-instances-of.patch
>
>
> *Background*
> Existing _AtlasGraph_ does not honor the instance with which it is 
> constructed. The _getGraph_ method always uses the default method. 
> This makes it impossible to use instances of graph database that have been 
> initialized with different configurations.
> *Solution*
>  * Refactor: _AtlasGraph.getGraph_ method to use the instance it is 
> constructed with.
>  * Refactor: _GraphHelper_ to be initialized with _AtlasGraph_ instance. This 
> is important since entity creation is one area where an alternate graph 
> instance helps.
>  * Refactor: _AtlasUtilsV2_. This is a utility class that uses 
> _AtlasGraphDatabase.getInstance_ for performing all its operations.
>  * Refactor: _AtlasEntityStoreV2_ and _AtlasRelationshipStoreV2_ should be 
> initialized with _AtlasGraph_ instances.
>  * Refactor: _EntityGraphRetriever_. Same as above.



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

Reply via email to