New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WFLY-2527 Don't require a generic (foo=*) ManagementResourceRegistration to execute wildcard ops #5572
Conversation
Build 1860 is now running using a merge of 481ba950b15e3c6253a050945809d9b9cb3b9ecf |
Build 1860 outcome was FAILURE using a merge of 481ba950b15e3c6253a050945809d9b9cb3b9ecf Build problems:Failed tests detected
Failed tests
|
retest this please |
Build 1874 is now running using a merge of 2885c7887f9107702512d86bdf6a545a8990255c |
Build 1874 outcome was FAILURE using a merge of 2885c7887f9107702512d86bdf6a545a8990255c Build problems:Failed tests detected
Failed tests
|
retest this please |
Build 1882 is now running using a merge of 2885c7887f9107702512d86bdf6a545a8990255c |
Build 1882 outcome was SUCCESS using a merge of 2885c7887f9107702512d86bdf6a545a8990255c |
…stration during wildcard queries
…ontext for each resolved address
…card registration
…lid wildcard addresses
Build 1890 is now running using a merge of af17a5d |
Build 1890 outcome was FAILURE using a merge of af17a5d Build problems:Failed tests detected
Failed tests
|
Build 1894 is now running using a merge of af17a5d |
Build 1894 outcome was SUCCESS using a merge of af17a5d |
WFLY-2527 Don't require a generic (foo=*) ManagementResourceRegistration to execute wildcard ops
The read-resource-description op supports wildcard results (with the result being a list with one element per match) but this fails if the target resource type does not have a generic MRR registered. This patch fixes that.
The last commit also makes read-operation-description more lenient when the user specifies a wildcard address but there is no wildcard registration. The OSH now checks if all registered non-wildcard MRRs have the op and with the same description and flags; if so that description/flags are used to prepare the response.
The more lenient read-operation-description behavior is necessary to make the read-resource-description fix useful in the CLI. Without it the CLI's background validation of the user's read-resource-description input will fail. The validation uses read-operation-description.