Skip to content

Instantly share code, notes, and snippets.

@kabir
Created August 14, 2013 10:54
Show Gist options
  • Select an option

  • Save kabir/6230013 to your computer and use it in GitHub Desktop.

Select an option

Save kabir/6230013 to your computer and use it in GitHub Desktop.
[standalone@localhost:9990 /] /subsystem=datasources/data-source=*:read-resource-description(recursive=true,access-control=trim-descriptions,operations=true)
{
"outcome" => "success",
"result" => [
{
"address" => [
("subsystem" => "datasources"),
("data-source" => "Test")
],
"outcome" => "success",
"result" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {"connection-properties" => {"model-description" => {"*" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {"value" => {
"read" => true,
"write" => true
}},
"operations" => {
"whoami" => {"execute" => true},
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"read-children-types" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"remove" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"read-resource" => {"execute" => true},
"read-attribute" => {"execute" => true},
"add" => {"execute" => true},
"write-attribute" => {"execute" => true}
}
},
"exceptions" => {}
}
}}}},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {
"share-prepared-statements" => {
"read" => true,
"write" => true
},
...
},
"operations" => {
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"test-connection-in-pool" => {"execute" => true},
"remove" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"enable" => {"execute" => true},
"read-resource" => {"execute" => true},
"add" => {"execute" => true},
"read-attribute" => {"execute" => true},
"whoami" => {"execute" => true},
"read-children-types" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"disable" => {"execute" => true},
"write-attribute" => {"execute" => true},
"flush-all-connection-in-pool" => {"execute" => true},
"flush-idle-connection-in-pool" => {"execute" => true}
}
},
"exceptions" => {}
}
}
},
{
"address" => [
("subsystem" => "datasources"),
("data-source" => "ExampleDS")
],
"outcome" => "success",
"result" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {"connection-properties" => {"model-description" => {"*" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {"value" => {
"read" => true,
"write" => true
}},
"operations" => {
"whoami" => {"execute" => true},
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"read-children-types" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"remove" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"read-resource" => {"execute" => true},
"read-attribute" => {"execute" => true},
"add" => {"execute" => true},
"write-attribute" => {"execute" => true}
}
},
"exceptions" => {}
}
}}}},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {
"share-prepared-statements" => {
"read" => true,
"write" => true
},
...
},
"operations" => {
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"test-connection-in-pool" => {"execute" => true},
"remove" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"enable" => {"execute" => true},
"read-resource" => {"execute" => true},
"add" => {"execute" => true},
"read-attribute" => {"execute" => true},
"whoami" => {"execute" => true},
"read-children-types" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"disable" => {"execute" => true},
"write-attribute" => {"execute" => true},
"flush-all-connection-in-pool" => {"execute" => true},
"flush-idle-connection-in-pool" => {"execute" => true}
}
},
"exceptions" => {}
}
}
},
{
"address" => [
("subsystem" => "datasources"),
("data-source" => "*")
],
"outcome" => "success",
"result" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {"connection-properties" => {"model-description" => {"*" => {
"description" => undefined,
"access-constraints" => {"application" => {"data-source" => {"type" => "datasources"}}},
"attributes" => undefined,
"operations" => undefined,
"children" => {},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {"value" => {
"read" => true,
"write" => true
}},
"operations" => {
"whoami" => {"execute" => true},
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"read-children-types" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"remove" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"read-resource" => {"execute" => true},
"read-attribute" => {"execute" => true},
"add" => {"execute" => true},
"write-attribute" => {"execute" => true}
}
},
"exceptions" => {}
}
}}}},
"access-control" => {
"default" => {
"read" => true,
"write" => true,
"attributes" => {
"share-prepared-statements" => {
"read" => true,
"write" => true
},
...
},
"operations" => {
"read-children-names" => {"execute" => true},
"read-operation-description" => {"execute" => true},
"test-connection-in-pool" => {"execute" => true},
"remove" => {"execute" => true},
"read-resource-description" => {"execute" => true},
"enable" => {"execute" => true},
"read-resource" => {"execute" => true},
"add" => {"execute" => true},
"read-attribute" => {"execute" => true},
"whoami" => {"execute" => true},
"read-children-types" => {"execute" => true},
"read-operation-names" => {"execute" => true},
"undefine-attribute" => {"execute" => true},
"read-children-resources" => {"execute" => true},
"disable" => {"execute" => true},
"write-attribute" => {"execute" => true},
"flush-all-connection-in-pool" => {"execute" => true},
"flush-idle-connection-in-pool" => {"execute" => true}
}
},
"exceptions" => {}
}
}
}
]
}
[standalone@localhost:9990 /]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment