qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c...@apache.org
Subject [2/2] qpid-dispatch git commit: add a map type to dummy mgmt object
Date Mon, 18 Jan 2016 16:52:01 GMT
add a map type to dummy mgmt object


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

Branch: refs/heads/crolke-DISPATCH-202-1
Commit: b0e4b77e1940fe30a53d7a1209a3396d28570eb3
Parents: fe69669
Author: Chuck Rolke <crolke@redhat.com>
Authored: Mon Jan 18 11:48:52 2016 -0500
Committer: Chuck Rolke <crolke@redhat.com>
Committed: Mon Jan 18 11:48:52 2016 -0500

----------------------------------------------------------------------
 python/qpid_dispatch/management/qdrouter.json | 3 ++-
 tests/system_tests_management.py              | 2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/b0e4b77e/python/qpid_dispatch/management/qdrouter.json
----------------------------------------------------------------------
diff --git a/python/qpid_dispatch/management/qdrouter.json b/python/qpid_dispatch/management/qdrouter.json
index 3c342ad..054e776 100644
--- a/python/qpid_dispatch/management/qdrouter.json
+++ b/python/qpid_dispatch/management/qdrouter.json
@@ -1012,7 +1012,8 @@
                 "arg1": {"type": "string", "create": true, "update": true},
                 "arg2": {"type": "string", "create": true, "update": true},
                 "num1": {"type": "integer", "create": true, "update": true},
-                "num2": {"type": "integer", "create": true, "update": true}
+                "num2": {"type": "integer", "create": true, "update": true},
+                "map": {"type": "map", "create": true, "update": true}
             }
         }
     }

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/b0e4b77e/tests/system_tests_management.py
----------------------------------------------------------------------
diff --git a/tests/system_tests_management.py b/tests/system_tests_management.py
index 1fb512f..14c0dfe 100644
--- a/tests/system_tests_management.py
+++ b/tests/system_tests_management.py
@@ -463,7 +463,7 @@ class ManagementTest(system_test.TestCase):
 
     def test_get_attributes(self):
         result = self.node.get_attributes(type=DUMMY)
-        self.assertEqual(set([u'arg1', u'arg2', u'num1', u'num2', u'name', u'identity', u'type']),
+        self.assertEqual(set([u'arg1', u'arg2', u'num1', u'num2', u'name', u'identity', u'type',
u'map']),
                          set(result[DUMMY]))
         result = self.node.get_attributes()
         for type in LISTENER, WAYPOINT, LINK: self.assertIn(type, result)


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


Mime
View raw message