You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2015/02/26 21:34:40 UTC

svn commit: r1662560 - in /qpid/dispatch/trunk/python: qpid_dispatch/management/qdrouter.json qpid_dispatch/management/qdrouter.json.readme.txt qpid_dispatch_internal/management/schema.py

Author: aconway
Date: Thu Feb 26 20:34:40 2015
New Revision: 1662560

URL: http://svn.apache.org/r1662560
Log:
NO-JIRA: Introduce "path" type to qdrouter schema for strings that are paths.

Modified:
    qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json
    qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json.readme.txt
    qpid/dispatch/trunk/python/qpid_dispatch_internal/management/schema.py

Modified: qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json?rev=1662560&r1=1662559&r2=1662560&view=diff
==============================================================================
--- qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json (original)
+++ qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json Thu Feb 26 20:34:40 2015
@@ -57,24 +57,24 @@
             "description":"Attributes for setting TLS/SSL configuration for connections.",
             "attributes": {
                 "certDb": {
-                    "type": "string",
+                    "type": "path",
                     "description": "The path to the database that contains the public certificates of trusted certificate authorities (CA).",
                     "create": true
                 },
                 "certFile": {
-                    "type": "string",
+                    "type": "path",
                     "description": "The path to the file containing the PEM-formatted public certificate to be used on the local end of any connections using this profile.",
                     "create": true
 
                 },
                 "keyFile": {
-                    "type": "string",
+                    "type": "path",
                     "description": "The path to the file containing the PEM-formatted private key for the above certificate.",
                     "create": true
 
                 },
                 "passwordFile": {
-                    "type": "string",
+                    "type": "path",
                     "description": "If the above private key is password protected, this is the path to a file containing the password that unlocks the certificate key.",
                     "create": true
 
@@ -454,7 +454,7 @@
 
                 },
                 "debugDump": {
-                    "type": "string",
+                    "type": "path",
                     "description": "A file to dump debugging information that can't be logged normally.",
                     "create": true
 
@@ -557,7 +557,7 @@
                     "create": true
                 },
                 "trustedCerts": {
-                    "type": "string",
+                    "type": "path",
                     "description": "This optional setting can be used to reduce the set of available CAs for client authentication.  If used, this setting must provide a path to a PEM file that contains the trusted certificates.",
                     "create": true
                 },

Modified: qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json.readme.txt
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json.readme.txt?rev=1662560&r1=1662559&r2=1662560&view=diff
==============================================================================
--- qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json.readme.txt (original)
+++ qpid/dispatch/trunk/python/qpid_dispatch/management/qdrouter.json.readme.txt Thu Feb 26 20:34:40 2015
@@ -55,6 +55,7 @@ Attribute or property definition maps ha
 - "description": documentation string.
 - "type": one of the following:
   - "string": a Unicode string value.
+  - "path": A string c
   - "entityId": a string that holds the `identity` of a management entity.
   - "integer": an integer value.
   - "boolean": a true/false value.

Modified: qpid/dispatch/trunk/python/qpid_dispatch_internal/management/schema.py
URL: http://svn.apache.org/viewvc/qpid/dispatch/trunk/python/qpid_dispatch_internal/management/schema.py?rev=1662560&r1=1662559&r2=1662560&view=diff
==============================================================================
--- qpid/dispatch/trunk/python/qpid_dispatch_internal/management/schema.py (original)
+++ qpid/dispatch/trunk/python/qpid_dispatch_internal/management/schema.py Thu Feb 26 20:34:40 2015
@@ -151,6 +151,7 @@ class EnumType(Type):
 
 BUILTIN_TYPES = OrderedDict(
     (t.name, t) for t in [Type("string", str),
+                          Type("path", str),
                           Type("entityId", str),
                           Type("integer", int),
                           Type("list", list),



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