You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "Ashutosh Mestry (Jira)" <ji...@apache.org> on 2020/04/20 05:54:00 UTC

[jira] [Updated] (ATLAS-3737) Refactoring: Improve AtlasGraph to Work with Externally Initialized Graph Object

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

Ashutosh Mestry updated ATLAS-3737:
-----------------------------------
    Attachment:     (was: ATLAS-3737-bulk-loading-fixed-updated.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)