DISPATCH-990: add policy dir to support self test
Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/8712cabd Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/8712cabd Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/8712cabd Branch: refs/heads/master Commit: 8712cabdf8f37dddc7f8d1ffc4792fbd177f050d Parents: 415b456 Author: Chuck Rolke <[email protected]> Authored: Mon May 14 16:14:03 2018 -0400 Committer: Chuck Rolke <[email protected]> Committed: Mon May 14 16:14:03 2018 -0400 ---------------------------------------------------------------------- tests/policy-8/management-access.json | 46 ++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/8712cabd/tests/policy-8/management-access.json ---------------------------------------------------------------------- diff --git a/tests/policy-8/management-access.json b/tests/policy-8/management-access.json new file mode 100644 index 0000000..7d99c10 --- /dev/null +++ b/tests/policy-8/management-access.json @@ -0,0 +1,46 @@ +## +## Licensed to the Apache Software Foundation (ASF) under one +## or more contributor license agreements. See the NOTICE file +## distributed with this work for additional information +## regarding copyright ownership. The ASF licenses this file +## to you under the Apache License, Version 2.0 (the +## "License"); you may not use this file except in compliance +## with the License. You may obtain a copy of the License at +## +## http://www.apache.org/licenses/LICENSE-2.0 +## +## Unless required by applicable law or agreed to in writing, +## software distributed under the License is distributed on an +## "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +## KIND, either express or implied. See the License for the +## specific language governing permissions and limitations +## under the License +## + +[ + ["vhost", { + "hostname": "#.0.0", + "maxConnections": 50, + "maxConnectionsPerUser": 5, + "maxConnectionsPerHost": 20, + "allowUnknownUser": true, + "groups": { + "$default" : { + "users": "*", + "remoteHosts": "*", + "maxFrameSize": 222222, + "maxMessageSize": 222222, + "maxSessionWindow": 222222, + "maxSessions": 2, + "maxSenders": 22, + "maxReceivers": 22, + "allowDynamicSource": true, + "allowAnonymousSender": true, + "allowUserIdProxy": false, + "sources": "$management, _local/$displayname", + "targets": "$management, _local/$displayname" + } + } + } + ] +] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
