Hi Ajay, responses inline.

On 11/13/13, 1:53 PM, Ajay wrote:
> 1) TopologyWidgetTestApplication.java file contains a method
> "CreateTree" which is populating the nodes to the left side Nodes
> block container.I want to know where the data access is happening for
> this so i can filter few nodes which i dont want to display.
>
I would not take this approach because in the main branch of OpenNMS, we
have gotten rid of this tree view on the topology map. Instead, we are
using a search box with autocomplete so that users can quickly search
for nodes to add to the map. We have a new SearchProvider API that is
used to provide data for this. I would check that code out in master
before you do any more work with the old tree view.

> 2) Would like to show Maps added in the SVG page in the topology
> viewer page in tree hierarchy of Nodes block on left side, any idea on
> how i can do this
>
We don't plan to support any of the old SVG map data structures in the
new topology maps although it is maybe possible that somebody could
write a GraphProvider that used the old data.

> FInally i want to gain access to the current session object in the
> topology viewer page to know which user is logged in and his role.
>
The session information is available in the TopologyUI.init() method
when the Vaadin UI is initialized. You can use the VaadinRequest object
to get the session and I wrote a convenience class that wraps
VaadinRequest and implements the standard HttpServletRequest interface
called HttpServletRequestVaadinImpl.

Seth Leger
The OpenNMS Group

------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
Please read the OpenNMS Mailing List FAQ:
http://www.opennms.org/index.php/Mailing_List_FAQ

opennms-devel mailing list

To *unsubscribe* or change your subscription options, see the bottom of this 
page:
https://lists.sourceforge.net/lists/listinfo/opennms-devel

Reply via email to