You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@atlas.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/06/02 20:37:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17124287#comment-17124287 ]
ASF subversion and git services commented on ATLAS-3737:
--------------------------------------------------------
Commit f096f93fdb23a9d1a3b4525307ba539f41a6e1c6 in atlas's branch refs/heads/branch-2.0 from Ashutosh Mestry
[ https://gitbox.apache.org/repos/asf?p=atlas.git;h=f096f93 ]
ATLAS-3737: Refactoring: Support multiple instances of AtlasGraph
(cherry picked from commit 2b38550b88ea201a3bd9169c44c0ede900ec1dd8)
> 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)