Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-11343

Edges should allow to contain vertices of different namespaces

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 25.0.0
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon - April 17th 2019, Horizon - April 24th 2019, Horizon - May 1st 2019, Horizon 2019 - 19, Horizon 2019 - May 15th 2019, Horizon 2019 - May 22nd 2019

      Description

      At the moment an edge requires both vertices to be of the same namespace.
      However only one of both vertices must be.

      In order to implement this properly the edge can no longer rely on two vertices being present as one side of the relation may not be available in the current graph (or graph container) or at all.

      Each edge should only reference the `VertexRef` objects and no longer use `Vertex`, but should still ensure that one side of the relationship is within the same namespace as the edge itself.

      Please keep in mind, that this also has an effect on the persistence layer, as at the moment "loose" references are not supported (due to foreign key constraints).

        Attachments

          Activity

            People

            • Assignee:
              patrick.schweizer Patrick Schweizer
              Reporter:
              mvr Markus von RĂ¼den
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: