webclient). The QEP also supports a SHRINE specific, RESTful API that is used by several of our tools including the Batch Query Tool and the Heartbeat monitor. The QEP will authenticate all incoming requests according to the method specified in the QEP's configuration. In most cases, this involves checking with i2b2 PM cell to make sure that the credentials (i2b2 SessionKey) included with the request are valid. After authenticating the request, the QEP will forward that request on to the SHRINE Hub for broadcasting throughout the network. When the QEP receives the collected results back from the Hub, it will aggregate the results into a single response to the client (web or tool). HubThe Hub's job is to broadcast requests sent by QEPs to the Adapters in the network. The Hub also buffers the responses from the Adapters before returning the collection of results back to the QEP. Upon receiving a request from a trusted QEP, the Hub will duplicate and forward that request to all of its downstream nodes and await their responses. As the responses are received, the Hub |