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 2018/08/13 23:27:00 UTC

[jira] [Commented] (ATLAS-2813) Atlas Entity: Support New Attribute 'SoftReference' for Referencing Without Edge

    [ https://issues.apache.org/jira/browse/ATLAS-2813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16579030#comment-16579030 ] 

ASF subversion and git services commented on ATLAS-2813:
--------------------------------------------------------

Commit c850bcad4a9adc3b3870e59ac1dc12d483aef89b in atlas's branch refs/heads/branch-0.8 from [~ashutoshm]
[ https://git-wip-us.apache.org/repos/asf?p=atlas.git;h=c850bca ]

ATLAS-2813: SoftRef implementation.


> Atlas Entity: Support New Attribute 'SoftReference' for Referencing Without Edge
> --------------------------------------------------------------------------------
>
>                 Key: ATLAS-2813
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2813
>             Project: Atlas
>          Issue Type: Improvement
>          Components:  atlas-core
>    Affects Versions: 0.8.3
>            Reporter: Ashutosh Mestry
>            Assignee: Ashutosh Mestry
>            Priority: Major
>             Fix For: 0.8.3
>
>         Attachments: ATLAS-2813-Soft-reference-implementation.patch
>
>
> *Background*
> Cases where types have attributes that reference other objects, existing implementation creates an edge between referencing object and referenced object.
> It may be worthwhile to have this behavior enforced via an attribute.
> Example within existing implementation, is the use of _replicatedToCluster_ attribute. This forces every entity having this attribute set to create an edge to the _AtlasCluster_ entity it is referring to.
> *Approach Guidance*
>  * Define new attribute say _softRefrence._ This will be applied to attribute definition.
>  * When defined, the object Id is stored within the referring object similar to primitive types.
>  * When not defined, the types will continue to use current behavior, where edge is created between referring entity and the referred entity and the edge id is stored within the parent entity. 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)