Uploaded image for project: 'Atlas'
  1. Atlas
  2. ATLAS-2813

Atlas Entity: Support New Attribute 'SoftReference' for Referencing Without Edge

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.3
    • 0.8.3, 1.2.0, 2.0.0
    • atlas-core
    • None

    Description

      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. 

      Attachments

        Activity

          People

            amestry Ashutosh Mestry
            amestry Ashutosh Mestry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: