-
Feature Request
-
Resolution: Done
-
Major
-
None
-
None
i.e. retrieve all 'enabled' datasources that use the 'h2' driver:
ModelNode address = new ModelNode(); address.add("profile", "*") .add("subsystem", "datasources") .add("data-source", "*"); ModelNode filter = new ModelNode(); filter.add("driver-name", "h2") .add("enabled", true); ModelNode op = new ModelNode(); op.get(OP).set(QUERY); op.get(ADDRESS).set(address); op.get(WHERE).set(filter);
Another example using the CLI:
[standalone@localhost:9990 /] /path=*:query(select=[path], where={name="jboss.home.dir"}) { "outcome" => "success", "result" => [{ "address" => [("path" => "jboss.home.dir")], "outcome" => "success", "result" => {"path" => "/Users/hbraun/dev/prj/wildfly-core/core-build/target/wildfly-core-1.0.0.Alpha14-SNAPSHOT"} }] }
- blocks
-
HAL-602 Move domain data retrievals to query/select operation
- Closed
- causes
-
WFCORE-628 Support for 'query' operation on legacy slaves
- Resolved
- is blocked by
-
WFCORE-510 Fix filtering in domain mode
- Resolved
-
WFCORE-612 Fix composite response structures
- Resolved
-
WFCORE-282 Wildcard operations that span multiple processes
- Resolved
There are no Sub-Tasks for this issue.