Uploaded image for project: 'OpenNMS Horizon'
  1. OpenNMS Horizon
  2. HZN-1505

Implement domain specific graph objects in New Graph service

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 25.0.0
    • Component/s: None
    • Labels:
      None
    • Sprint:
      Horizon - March 20th 2019, Horizon - March 27th 2019, Horizon - April 3rd 2019

      Description

      In the new graph world we operate on generic graph elements (GenericGraph and its associated classes GenericVertex, GenericEdge). This is sufficient for most use cases like persistence, caching etc.
      However in some cases we want to use domain specific implementations of the graph elements.

      idea:

      • we always operate on the generic elements but can use wrappers around them where needed.
      • the wrapper takes a generic element and enriches it with methods that operate on the generic element
      • each domain graph element can inherit from the wrappers and extend them by domain specific methods
      • This will replace the SimpleGraph, Simple Edge etc. implementations from the old graph world

      task:

      • define the wrapper elements and implement proxy methods for the generic element's methods
      • replace or rewrite the classes in org.opennms.netmgt.graph.simple with the wrappers
      • fix all code that uses org.opennms.netmgt.graph.simple.*

      Base branch ist features/graph-service

        Attachments

          Activity

            People

            • Assignee:
              patrick.schweizer Patrick Schweizer
              Reporter:
              patrick.schweizer Patrick Schweizer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: