Repository: qpid-dispatch
Updated Branches:
  refs/heads/master df76d8550 -> aaf5f2cb7


DISPATCH-1072 Fix label indicating the number of clients on console's topology 
page.


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/aaf5f2cb
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/aaf5f2cb
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/aaf5f2cb

Branch: refs/heads/master
Commit: aaf5f2cb79a43c9ab9eae110728b3d96c0e3d517
Parents: df76d85
Author: Ernest Allen <eal...@redhat.com>
Authored: Wed Jul 11 08:04:17 2018 -0400
Committer: Ernest Allen <eal...@redhat.com>
Committed: Wed Jul 11 08:04:17 2018 -0400

----------------------------------------------------------------------
 console/stand-alone/plugin/js/topology/qdrTopology.js | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/aaf5f2cb/console/stand-alone/plugin/js/topology/qdrTopology.js
----------------------------------------------------------------------
diff --git a/console/stand-alone/plugin/js/topology/qdrTopology.js 
b/console/stand-alone/plugin/js/topology/qdrTopology.js
index 2fa11d2..1ac1011 100644
--- a/console/stand-alone/plugin/js/topology/qdrTopology.js
+++ b/console/stand-alone/plugin/js/topology/qdrTopology.js
@@ -537,7 +537,13 @@ export class TopologyController {
       // circle (node) group
       // nodes are known by id
       circle = circle.data(nodes.nodes, function(d) {
-        return d.name;
+        if (!d.normals)
+          return d.name;
+        let connIds = [d.routerId];
+        d.normals.forEach( function (n) {
+          connIds.push(n.connectionId);
+        });
+        return connIds.join('.');
       });
 
       // update existing nodes visual states


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to