qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From eal...@apache.org
Subject qpid-dispatch git commit: DISPATCH-392: Add router.config to the type for address, autoLink, and linkRoute
Date Thu, 16 Jun 2016 14:15:57 GMT
Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 0638cf52e -> 0a1ae2b93


DISPATCH-392: Add router.config to the type for address, autoLink, and linkRoute


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

Branch: refs/heads/master
Commit: 0a1ae2b935002e19bbc4e29487e37f439e0203d8
Parents: 0638cf5
Author: Ernest Allen <eallen@redhat.com>
Authored: Thu Jun 16 10:15:03 2016 -0400
Committer: Ernest Allen <eallen@redhat.com>
Committed: Thu Jun 16 10:15:03 2016 -0400

----------------------------------------------------------------------
 console/hawtio/src/main/webapp/plugin/js/qdrService.js | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/0a1ae2b9/console/hawtio/src/main/webapp/plugin/js/qdrService.js
----------------------------------------------------------------------
diff --git a/console/hawtio/src/main/webapp/plugin/js/qdrService.js b/console/hawtio/src/main/webapp/plugin/js/qdrService.js
index 5dcd3f4..55b2f71 100644
--- a/console/hawtio/src/main/webapp/plugin/js/qdrService.js
+++ b/console/hawtio/src/main/webapp/plugin/js/qdrService.js
@@ -680,8 +680,11 @@ var QDR = (function(QDR) {
             }
 		if (entity[0] === '.')
 			entity = entity.substr(1, entity.length-1)
-		//return self._send(body, fullAddr, operation, entity);
-		return self._send(body, fullAddr, operation, "org.apache.qpid.dispatch." + entity);
+		var prefix = "org.apache.qpid.dispatch."
+		var configs = ["address", "autoLink", "linkRoute"]
+		if (configs.indexOf(entity) > -1)
+			prefix += "router.config."
+		return self._send(body, fullAddr, operation, prefix + entity);
     },
 
     sendMgmtQuery: function (operation) {


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


Mime
View raw message