Ashutosh Mestry created ATLAS-2813:
--------------------------------------

             Summary: Atlas Entity: Support New Attribute Called SoftReference
                 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
             Fix For: 0.8.3


*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)

Reply via email to