Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [standalone@localhost:9999 /] /subsystem=deployment-scanner:read-resource-description
- {
- "outcome" => "success",
- "result" => {
- "description" => "The configuration of the deployment scanner subsystem",
- "head-comment-allowed" => true,
- "tail-comment-allowed" => true,
- "namespace" => "urn:jboss:domain:deployment-scanner:1.0",
- "attributes" => {},
- "operations" => undefined,
- "children" => {"scanner" => {"description" => "The scanners maintained by the subsystem."}}
- },
- "compensating-operation" => undefined
- }
- [standalone@localhost:9999 /] /subsystem=deployment-scanner:read-resource-description(operations=true,recursive=true)
- {
- "outcome" => "success",
- "result" => {
- "description" => "The configuration of the deployment scanner subsystem",
- "head-comment-allowed" => true,
- "tail-comment-allowed" => true,
- "namespace" => "urn:jboss:domain:deployment-scanner:1.0",
- "attributes" => {},
- "operations" => {
- "add" => {
- "operation-name" => "add",
- "description" => "Add the deployment scanner subsystem.",
- "request-properties" => {},
- "reply-properties" => {}
- },
- "read-attribute" => {
- "operation-name" => "read-attribute",
- "description" => "Gets the value of an attribute for the selected resource",
- "request-properties" => {"name" => {
- "type" => STRING,
- "description" => "The name of the attribute to get the value for under the selected resource",
- "nillable" => false
- }},
- "reply-properties" => {
- "type" => OBJECT,
- "value-type" => "The type will be that of the attribute found",
- "description" => "The value of the attribute"
- }
- },
- "read-children-names" => {
- "operation-name" => "read-children-names",
- "description" => "Gets the names of all children under the selected resource with the given type",
- "request-properties" => {"child-type" => {
- "type" => STRING,
- "description" => "The name of the node under which to get the children names",
- "nillable" => false
- }},
- "reply-properties" => {
- "type" => LIST,
- "description" => "The children names",
- "value-type" => STRING
- }
- },
- "read-children-resources" => {
- "operation-name" => "read-children-resources",
- "description" => "Reads information about all of a resource's children that are of a given type",
- "request-properties" => {
- "child-type" => {
- "type" => STRING,
- "description" => "The name of the resource under which to get the child resources",
- "nillable" => false
- },
- "recursive" => {
- "type" => BOOLEAN,
- "description" => "Whether to get the children recursively. If absent, false is the default",
- "nillable" => true
- },
- "proxies" => {
- "type" => BOOLEAN,
- "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
- "nillable" => true
- },
- "include-runtime" => {
- "type" => BOOLEAN,
- "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
- "nillable" => true
- }
- },
- "reply-properties" => {
- "type" => LIST,
- "description" => "The children resources",
- "value-type" => OBJECT
- }
- },
- "read-children-types" => {
- "operation-name" => "read-children-types",
- "description" => "Gets the type names of all the children under the selected resource",
- "reply-properties" => {
- "type" => LIST,
- "description" => "The children types",
- "value-type" => STRING
- }
- },
- "read-operation-description" => {
- "operation-name" => "read-operation-description",
- "description" => "Gets the details of an operation on the given resource",
- "request-properties" => {
- "name" => {
- "type" => STRING,
- "description" => "The description of the operation. Undefined if not found",
- "required" => false,
- "nillable" => false
- },
- "locale" => {
- "type" => STRING,
- "nillable" => true,
- "description" => "The locale to get the operation description in. If null, the default locale will be used"
- }
- },
- "reply-properties" => {
- "type" => OBJECT,
- "description" => "The description of the operation. Undefined if not found"
- }
- },
- "read-operation-names" => {
- "operation-name" => "read-operation-names",
- "description" => "Gets the names of all the operations for the given resource",
- "reply-properties" => {
- "type" => LIST,
- "value-type" => STRING,
- "description" => "The operation names"
- }
- },
- "read-resource" => {
- "operation-name" => "read-resource",
- "description" => "Reads a model resource's attribute values along with either basic or complete information about any child resources",
- "request-properties" => {
- "recursive" => {
- "type" => BOOLEAN,
- "description" => "Whether to include complete information about child resources, recursively. If absent, false is the default",
- "nillable" => true
- },
- "proxies" => {
- "type" => BOOLEAN,
- "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
- "nillable" => true
- },
- "include-runtime" => {
- "type" => BOOLEAN,
- "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
- "nillable" => true
- }
- },
- "reply-properties" => {
- "type" => OBJECT,
- "description" => "The resource's attribute values along with information about any child resources"
- }
- },
- "read-resource-description" => {
- "operation-name" => "read-resource-description",
- "description" => "Gets the description of a resource's attributes, types of children and, optionally, operations",
- "request-properties" => {
- "operations" => {
- "type" => BOOLEAN,
- "description" => "Whether to include descriptions of the resource's operations. Default is false",
- "required" => false,
- "nillable" => true
- },
- "inherited" => {
- "type" => BOOLEAN,
- "description" => "If 'operations' is true, whether to include descriptions of the resource's inherited operations. Default is true.",
- "nillable" => true
- },
- "recursive" => {
- "required" => false,
- "type" => BOOLEAN,
- "description" => "Whether to include recursively descriptions of child resources. Default is false.",
- "nillable" => true
- },
- "locale" => {
- "type" => STRING,
- "required" => false,
- "nillable" => true,
- "description" => "The locale to get the resource description in. If null, the default locale will be used"
- }
- },
- "reply-properties" => {
- "type" => OBJECT,
- "description" => "The description of the resource"
- }
- },
- "remove" => {
- "operation-name" => "remove",
- "description" => "Remove the deployment scanner subsystem.",
- "request-properties" => {},
- "reply-properties" => {}
- },
- "write-attribute" => {
- "operation-name" => "write-attribute",
- "description" => "Sets the value of an attribute for the selected resource",
- "request-properties" => {
- "name" => {
- "type" => STRING,
- "description" => "The name of the attribute to set the value for under the selected resource",
- "nillable" => false
- },
- "value" => {
- "type" => STRING,
- "description" => "The value of the attribute to set the value for under the selcted resource. May be null if the underlying model supports null values.",
- "nillable" => true,
- "required" => false
- }
- }
- }
- },
- "children" => {"scanner" => {
- "description" => "The scanners maintained by the subsystem.",
- "model-description" => {"*" => {
- "description" => "An individual deployment scanner that scans a particular location",
- "head-comment-allowed" => true,
- "tail-comment-allowed" => false,
- "attributes" => {
- "name" => {
- "type" => STRING,
- "description" => "The name of the scanner",
- "required" => true,
- "access-type" => "read-only",
- "storage" => "configuration"
- },
- "path" => {
- "type" => STRING,
- "description" => "The actual filesystem path to be scanned. Treated as an absolute path, unless the 'relative-to' attribute is specified, in which case the value is treated as relative to that path.",
- "required" => true,
- "min-length" => 1,
- "access-type" => "read-write",
- "storage" => "configuration"
- },
- "relative-to" => {
- "type" => STRING,
- "description" => "Reference to a filesystem path defined in the \"paths\" section of the server configuration.",
- "required" => false,
- "access-type" => "read-write",
- "storage" => "configuration"
- },
- "scan-enabled" => {
- "type" => BOOLEAN,
- "description" => "Flag indicating that all scanning (including initial scanning at startup) should be disabled.",
- "required" => false,
- "default" => true,
- "access-type" => "read-write",
- "storage" => "configuration"
- },
- "scan-interval" => {
- "type" => INT,
- "description" => "Periodic interval, in milliseconds, at which the repository should be scanned for changes. A value of less than 1 indicates the repository should only be scanned at initial startup.",
- "required" => false,
- "default" => 5000,
- "access-type" => "read-write",
- "storage" => "configuration"
- },
- "auto-deploy-zipped" => {
- "type" => BOOLEAN,
- "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file.",
- "required" => false,
- "default" => true,
- "access-type" => "read-write",
- "storage" => "configuration"
- },
- "auto-deploy-exploded" => {
- "type" => BOOLEAN,
- "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content.",
- "required" => false,
- "default" => false,
- "access-type" => "read-write",
- "storage" => "configuration"
- },
- "deployment-timeout" => {
- "type" => LONG,
- "description" => "Timeout, in seconds, a deployment is allows to execute before being canceled. The default is 60 seconds.",
- "required" => false,
- "default" => 60L,
- "access-type" => "read-write",
- "storage" => "configuration"
- }
- },
- "operations" => {
- "add" => {
- "operation-name" => "add",
- "description" => "Add a new deployment scanner",
- "request-properties" => {
- "path" => {
- "type" => STRING,
- "description" => "The actual filesystem path to be scanned. Treated as an absolute path, unless the 'relative-to' attribute is specified, in which case the value is treated as relative to that path.",
- "required" => true,
- "min-length" => 1
- },
- "relative-to" => {
- "type" => STRING,
- "description" => "Reference to a filesystem path defined in the \"paths\" section of the server configuration.",
- "required" => false
- },
- "scan-enabled" => {
- "type" => BOOLEAN,
- "description" => "Flag indicating that all scanning (including initial scanning at startup) should be disabled.",
- "required" => false,
- "default" => true
- },
- "scan-interval" => {
- "type" => INT,
- "description" => "Periodic interval, in milliseconds, at which the repository should be scanned for changes. A value of less than 1 indicates the repository should only be scanned at initial startup.",
- "required" => false,
- "default" => 5000
- },
- "auto-deploy-zipped" => {
- "type" => BOOLEAN,
- "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file.",
- "required" => false,
- "default" => true
- },
- "auto-deploy-exploded" => {
- "type" => BOOLEAN,
- "description" => "Controls whether zipped deployment content should be automatically deployed by the scanner without requiring the user to add a .dodeploy marker file. Setting this to 'true' is not recommended for anything but basic development scenarios, as there is no way to ensure that deployment will not occur in the middle of changes to the content.",
- "required" => false,
- "default" => false
- },
- "deployment-timeout" => {
- "type" => LONG,
- "description" => "Timeout, in seconds, a deployment is allows to execute before being canceled. The default is 60 seconds.",
- "required" => false,
- "default" => 60L
- }
- },
- "reply-properties" => {}
- },
- "read-attribute" => {
- "operation-name" => "read-attribute",
- "description" => "Gets the value of an attribute for the selected resource",
- "request-properties" => {"name" => {
- "type" => STRING,
- "description" => "The name of the attribute to get the value for under the selected resource",
- "nillable" => false
- }},
- "reply-properties" => {
- "type" => OBJECT,
- "value-type" => "The type will be that of the attribute found",
- "description" => "The value of the attribute"
- }
- },
- "read-children-names" => {
- "operation-name" => "read-children-names",
- "description" => "Gets the names of all children under the selected resource with the given type",
- "request-properties" => {"child-type" => {
- "type" => STRING,
- "description" => "The name of the node under which to get the children names",
- "nillable" => false
- }},
- "reply-properties" => {
- "type" => LIST,
- "description" => "The children names",
- "value-type" => STRING
- }
- },
- "read-children-resources" => {
- "operation-name" => "read-children-resources",
- "description" => "Reads information about all of a resource's children that are of a given type",
- "request-properties" => {
- "child-type" => {
- "type" => STRING,
- "description" => "The name of the resource under which to get the child resources",
- "nillable" => false
- },
- "recursive" => {
- "type" => BOOLEAN,
- "description" => "Whether to get the children recursively. If absent, false is the default",
- "nillable" => true
- },
- "proxies" => {
- "type" => BOOLEAN,
- "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
- "nillable" => true
- },
- "include-runtime" => {
- "type" => BOOLEAN,
- "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
- "nillable" => true
- }
- },
- "reply-properties" => {
- "type" => LIST,
- "description" => "The children resources",
- "value-type" => OBJECT
- }
- },
- "read-children-types" => {
- "operation-name" => "read-children-types",
- "description" => "Gets the type names of all the children under the selected resource",
- "reply-properties" => {
- "type" => LIST,
- "description" => "The children types",
- "value-type" => STRING
- }
- },
- "read-operation-description" => {
- "operation-name" => "read-operation-description",
- "description" => "Gets the details of an operation on the given resource",
- "request-properties" => {
- "name" => {
- "type" => STRING,
- "description" => "The description of the operation. Undefined if not found",
- "required" => false,
- "nillable" => false
- },
- "locale" => {
- "type" => STRING,
- "nillable" => true,
- "description" => "The locale to get the operation description in. If null, the default locale will be used"
- }
- },
- "reply-properties" => {
- "type" => OBJECT,
- "description" => "The description of the operation. Undefined if not found"
- }
- },
- "read-operation-names" => {
- "operation-name" => "read-operation-names",
- "description" => "Gets the names of all the operations for the given resource",
- "reply-properties" => {
- "type" => LIST,
- "value-type" => STRING,
- "description" => "The operation names"
- }
- },
- "read-resource" => {
- "operation-name" => "read-resource",
- "description" => "Reads a model resource's attribute values along with either basic or complete information about any child resources",
- "request-properties" => {
- "recursive" => {
- "type" => BOOLEAN,
- "description" => "Whether to include complete information about child resources, recursively. If absent, false is the default",
- "nillable" => true
- },
- "proxies" => {
- "type" => BOOLEAN,
- "description" => "Whether to include remote resources in a recursive query (i.e. host level resources in a query of the domain root; running server resources in a query of a host). If absent, true is the default",
- "nillable" => true
- },
- "include-runtime" => {
- "type" => BOOLEAN,
- "description" => "Whether to include runtime attributes (i.e. those whose value does not come from the persistent configuration) in the response. If absent, false is the default",
- "nillable" => true
- }
- },
- "reply-properties" => {
- "type" => OBJECT,
- "description" => "The resource's attribute values along with information about any child resources"
- }
- },
- "read-resource-description" => {
- "operation-name" => "read-resource-description",
- "description" => "Gets the description of a resource's attributes, types of children and, optionally, operations",
- "request-properties" => {
- "operations" => {
- "type" => BOOLEAN,
- "description" => "Whether to include descriptions of the resource's operations. Default is false",
- "required" => false,
- "nillable" => true
- },
- "inherited" => {
- "type" => BOOLEAN,
- "description" => "If 'operations' is true, whether to include descriptions of the resource's inherited operations. Default is true.",
- "nillable" => true
- },
- "recursive" => {
- "required" => false,
- "type" => BOOLEAN,
- "description" => "Whether to include recursively descriptions of child resources. Default is false.",
- "nillable" => true
- },
- "locale" => {
- "type" => STRING,
- "required" => false,
- "nillable" => true,
- "description" => "The locale to get the resource description in. If null, the default locale will be used"
- }
- },
- "reply-properties" => {
- "type" => OBJECT,
- "description" => "The description of the resource"
- }
- },
- "remove" => {
- "operation-name" => "remove",
- "description" => "Remove a deployment scanner",
- "request-properties" => {},
- "reply-properties" => {}
- },
- "write-attribute" => {
- "operation-name" => "write-attribute",
- "description" => "Sets the value of an attribute for the selected resource",
- "request-properties" => {
- "name" => {
- "type" => STRING,
- "description" => "The name of the attribute to set the value for under the selected resource",
- "nillable" => false
- },
- "value" => {
- "type" => STRING,
- "description" => "The value of the attribute to set the value for under the selcted resource. May be null if the underlying model supports null values.",
- "nillable" => true,
- "required" => false
- }
- }
- }
- },
- "children" => undefined
- }}
- }}
- },
- "compensating-operation" => undefined
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement