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

Move some model objects from opennms-webapp to opennms-web-api

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Resolved (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 27.1.0
    • Component/s: None
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Sprint:
      Horizon 2021 - Feb 17 - Mar 3

      Description

      This is a subtask from NMS-12941, also the first step of NMS-12941. We want to separate this into a subtask so that we can test this and make sure this didn't break existing stuff before we add new things. 

      Move these model objects from opennms-webapp  to opennms-web-api so that we can access them from Rest API as well.
      Collection<LldpLinkNode> lldpLinks = enlinkdfactory.getLldpLinks(nodeId);
      Collection<BridgeLinkNode> bridgelinks = enlinkdfactory.getBridgeLinks(nodeId);
      Collection<CdpLinkNode> cdpLinks = enlinkdfactory.getCdpLinks(nodeId);
      Collection<OspfLinkNode> ospfLinks = enlinkdfactory.getOspfLinks(nodeId);
      Collection<IsisLinkNode> isisLinks = enlinkdfactory.getIsisLinks(nodeId);
      LldpElementNode lldpelem = enlinkdfactory.getLldpElement(nodeId);
      CdpElementNode cdpelem = enlinkdfactory.getCdpElement(nodeId);
      OspfElementNode ospfelem = enlinkdfactory.getOspfElement(nodeId);
      IsisElementNode isiselem = enlinkdfactory.getIsisElement(nodeId);

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              jane.hou Jane Hou
              Reporter:
              jane.hou Jane Hou
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Git Integration