This is an automated email from the ASF dual-hosted git repository.

gmurthy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/main by this push:
     new 1e936af3 NO-JIRA: update vhost docs to include quotes
1e936af3 is described below

commit 1e936af3aabf523b387411cb1fd76d32cf3caf63
Author: Paul Wright <pwri...@redhat.com>
AuthorDate: Tue Apr 5 14:56:12 2022 +0100

    NO-JIRA: update vhost docs to include quotes
---
 .../user-guide/creating-vhost-policies.adoc        | 31 ++++++++++++----------
 ...tting-resource-limits-outgoing-connections.adoc |  6 ++---
 2 files changed, 20 insertions(+), 17 deletions(-)

diff --git a/docs/books/modules/user-guide/creating-vhost-policies.adoc 
b/docs/books/modules/user-guide/creating-vhost-policies.adoc
index 44940f55..bbe75c62 100644
--- a/docs/books/modules/user-guide/creating-vhost-policies.adoc
+++ b/docs/books/modules/user-guide/creating-vhost-policies.adoc
@@ -40,8 +40,8 @@ The connection limits apply to all users that are connected 
to the vhost. These
 [options="nowrap",subs="+quotes"]
 ----
 vhost {
-    hostname: example.com
-    aliases: example.org, example.net
+    hostname: "example.com"
+    aliases: "example.org, example.net"
     maxConnections: 10000
     maxMessageSize: 500000
     maxConnectionsPerUser: 100
@@ -87,33 +87,36 @@ You define resource limits by user group. A user group 
specifies the messaging r
 
 This example shows three user groups: admin, developers, and $default:
 
-[options="nowrap",subs="+quotes"]
+[options="nowrap""]
 ----
 vhost {
     ...
     groups: {
         admin: {
-            users: admin1, admin2
-            remoteHosts: 127.0.0.1, ::1
-            sources: *
-            targets: *
+            users: "admin1, admin2"
+            remoteHosts: "127.0.0.1, ::1"
+            sources: "*"
+            targets: "*"
         }
         developers: {
-            users: dev1, dev2, dev3
-            remoteHosts: *
-            sources: myqueue1, myqueue2
-            targets: myqueue1, myqueue2
+            users: "dev1, dev2, dev3"
+            remoteHosts: "*"
+            sources: "myqueue1, myqueue2"
+            targets: "myqueue1, myqueue2"
         }
         $default: {
-            remoteHosts: *
+            remoteHosts: "*"
             allowDynamicSource: true,
             allowAdminStatusUpdate: true,
-            sources: myqueue1, myqueue2
-            targets: myqueue1, myqueue2
+            sources: "myqueue1, myqueue2"
+            targets: "myqueue1, myqueue2"
         }
     }
 }
 ----
+
+NOTE: Use quotes to define any string values.
+
 `users`::
 A list of authenticated users for this user group. Use commas to separate 
multiple users. A user may belong to only one vhost user group.
 
diff --git 
a/docs/books/modules/user-guide/setting-resource-limits-outgoing-connections.adoc
 
b/docs/books/modules/user-guide/setting-resource-limits-outgoing-connections.adoc
index 5a9d53bb..3ca95ab0 100644
--- 
a/docs/books/modules/user-guide/setting-resource-limits-outgoing-connections.adoc
+++ 
b/docs/books/modules/user-guide/setting-resource-limits-outgoing-connections.adoc
@@ -42,11 +42,11 @@ A connector vhost policy can only be applied to a connector 
with a `normal` or `
 [options="nowrap"]
 ----
 vhost {
-    hostname: my-connector-policy
+    hostname: "my-connector-policy"
     groups: {
         $connector: {
-            sources: *
-            targets: *
+            sources: "*"
+            targets: "*"
             maxSenders: 5
             maxReceivers: 10
             allowAnonymousSender: true


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

Reply via email to