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

Rewrite TopologyMapComponent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Critical
    • Resolution: Unresolved
    • Affects Version/s: 23.0.2
    • Fix Version/s: None
    • Component/s: Web UI - Topology
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None

      Description

      This issue may not be complete, but is a placeholder to address the issues with the client side topology code

      The TopologyMapComponent (or VTopologyMapComponent) is a Vaadin custom client Widget/Component.

      The problem with that component is, that due to the mix of technologies: Custom Component implemented in Vaadin on top of GWT deployed via OSGI it is not possible to debug the client side generated java script code.

      The old mechnamisms for GWT debugging do not work anymore. The new "super debug mode" enables Java debugging via Chrome. However that somehow does not work with OSGi or some other problem. I was not able to get it to work.

      In addition I think using Vaadin in the Topology Map scenario does not make any sense.

      Therefore, we should rewrite the whole client side component either using a "Vaadin JavascriptComponent" (https://vaadin.com/docs/-/part/framework/gwt/gwt-javascript.html) or rewrite it in plain HTML/Javascript without Vaadin. This means all logic residing in TopologyUI must also be re-written.
      Before addressing this issue, it is crucial to have a proof of concept developed, showing that the "new" client application is not only a replacement, but should at least cover the following issues:

      • Increased performance (the current performance issues in the topology map are not necessarily produced by vaadin. SVG is getting very slow when there are a lot of SVG elements.)
      • Debuggable
      • Customizable (in terms of new context menu entries, new menu entries, etc.)
      • Have a defined feature set (e.g. the current topology ui features, or less)

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            mvr Markus von RĂ¼den
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated: