Skip to content
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-2167] Set resolve-path operation to be a READ_ONLY and RUNTIME_ONLY operation #5155

Merged
merged 1 commit into from Sep 30, 2013

Conversation

jamezp
Copy link
Member

@jamezp jamezp commented Sep 26, 2013

Adds the READ_ONLY and RUNTIME_ONLY flags on the resolve-path operation. This is needed in domain mode for the describe operation to work correct. Also CLI tab complete.

@wildfly-ci
Copy link

Build 814 is now running using a merge of d8e2e6b

@@ -81,6 +81,8 @@
private static final SimpleOperationDefinition DEFAULT_OPERATION_DEFINITION = new SimpleOperationDefinitionBuilder(OPERATION_NAME, new ResolvePathResourceDescriptionResolver(OPERATION_NAME))
.addParameter(RELATIVE_TO_ONLY)
.setReplyType(ModelType.STRING)
.setReadOnly()
.setRuntimeOnly()
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's not really runtime-only. Is adding that necessary to get the metadata to appear in read-resource-description?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, thanks. I'll look into correcting that. I might even have a JIRA open to do so somewhere.

@wildfly-ci
Copy link

Build 814 outcome was SUCCESS using a merge of d8e2e6b
Summary: Tests passed: 4910, ignored: 89 Build time: 1:50:06

n1hility added a commit that referenced this pull request Sep 30, 2013
[WFLY-2167] Set resolve-path operation to be a READ_ONLY and RUNTIME_ONLY operation
@n1hility n1hility merged commit 1e8f510 into wildfly:master Sep 30, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants