W dniu 1 kwietnia 2012 10:30 użytkownik Amit Pal <[email protected]>napisał:

> Hello,
>

Hello,

Sorry, but I totally forgot about your email!


>         I understand the fact sub classes  i.e. HostHandler,
> EventHandler and NetworkHandler of BaseHandler. I have some doubt
> regarding on these sub classes ; point me where i am wrong :)
>
> 1)    We use these sub classes to get data and send out Host, events
> and network information
>

Yes, to be precise: these classes are responsible for generating responses
to client's (e.g. NI) requests. For each type of request (GET, PUT, POST
etc) class is calling a corresponding method, for example the 'read' method
is generating responses to GET requests.


> 2)     In each sub classes there is read() method.


As I wrote above, 'read' method is defined in every handler that accepts
GET requests.


> The definition of
> these method should be for getting data from NI. If i am not wrong,
> these sub classes is not yet full supportable to get information from
> Ni ?
>

NA is already integrated with NI, which means that every request NI sends
to NA is being accepted and processed correctly. But in fact NI uses only
one method from NA's API: EventHandler.create, which creates Event object.
All other methods are part of NA's public API -- they are serving
information about hosts, networks and events. Public API works correctly
too, but it has to be extended to serve more detailed data.


> 3)     I am not able to find out the link. I mean how NI is connected
> with this REST API
>

NI just sends requests to NA instance and NA just receives these requests.
You may want to read this [1] article to understand the basics of web
services.


> I want to test NA with NI. So that i can add it into my proposal :)
>

Great! Call me if you have any other questions.


[1] https://www.ibm.com/developerworks/webservices/library/ws-restful/

-- 
Piotrek
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Umit-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/umit-devel

Reply via email to