You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Lorenz Quack (JIRA)" <ji...@apache.org> on 2016/04/21 13:12:25 UTC

[jira] [Created] (QPID-7214) [Java Broker, WMC] Do not use depth=2 in the REST request in Broker.js

Lorenz Quack created QPID-7214:
----------------------------------

             Summary: [Java Broker, WMC] Do not use depth=2 in the REST request in Broker.js
                 Key: QPID-7214
                 URL: https://issues.apache.org/jira/browse/QPID-7214
             Project: Qpid
          Issue Type: Improvement
          Components: Java Broker
            Reporter: Lorenz Quack
             Fix For: qpid-java-6.1


Currently in Broker.js we issue a REST request with {{depth=2}} because we are interested in the VirtualHosts which are children of VirtualHostNodes and not the Broker.
However, this causes a lot of unnecessary data to be transmitted as well. Namely all connections which are children of the Ports.

We should remove the {{depth=2}} and request the VirtualHosts separately.
We should use a query for this.
We should also make sure that this request happens in parallel.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org