There is no link to "Resource Graphs" on any page of the WebUI when storeByForeignSource is enabled
Description
There are several JSP pages that build a "Resource Graphs" link on the rendered page only if ResourceService.findNodeChildResources(nodeId) returns a non empty list.
The problem is that this method is designed to look for OnmsResources based on node's ID which is not going to work with storeByForeignSource.
The method in question is being used by the following JSPs:
bridgenode.jsp
interface.jsp
linkednode.jsp
node.jsp
routeipnode.jsp
snmpinterface.jsp
None of them are going to display a graph link.
The idea is to add a new method to pass an OnmsNode object instead of the nodeId in order to apply the proper logic inside ResourceService, in order to return all possible resources no matter if storeByForeignSource is enabled or not.
Acceptance / Success Criteria
None
Lucidchart Diagrams
Activity
Alejandro Galue November 8, 2013 at 8:51 AM
Fixed on revision 0b4c2d9c83585ffcfe24d8492b0ffc254a72d3a7 for 1.12
There are several JSP pages that build a "Resource Graphs" link on the rendered page only if ResourceService.findNodeChildResources(nodeId) returns a non empty list.
The problem is that this method is designed to look for OnmsResources based on node's ID which is not going to work with storeByForeignSource.
The method in question is being used by the following JSPs:
bridgenode.jsp
interface.jsp
linkednode.jsp
node.jsp
routeipnode.jsp
snmpinterface.jsp
None of them are going to display a graph link.
The idea is to add a new method to pass an OnmsNode object instead of the nodeId in order to apply the proper logic inside ResourceService, in order to return all possible resources no matter if storeByForeignSource is enabled or not.