Skip to content
This repository has been archived by the owner on Mar 15, 2022. It is now read-only.

[HAL-1287] - add capability to display warnings that come from WFCORE… #383

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

baranowb
Copy link
Contributor

@hpehl hpehl added the upstream label Feb 22, 2017
@Override
public boolean accepts(ModelNode response) {
// result->step-x->response-headers->warnings
if (response.hasDefined(RESULT)) {
Copy link
Member

Choose a reason for hiding this comment

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

Is the model node structure the same for both standalone and domain?

Copy link
Contributor Author

@baranowb baranowb Feb 23, 2017

Choose a reason for hiding this comment

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

iirc yeah, Im going to update this PR since there has been change in core WRT this.
Also, I assume that every op is a "stepped" operation. Not sure if this is correct?

Copy link
Member

Choose a reason for hiding this comment

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

I don't think so. Steps are usually only used for composite operations. I guess this is also true for this use case. I suggest to talk to Brian, to clarify the exact response structure.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

well, but I think console use only composite operation?

Copy link
Member

Choose a reason for hiding this comment

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

Right, but that might change - and there might be other operations which cause these response headers. So it would be more robust to be prepared for warnings which are not wrapped inside steps.

@hpehl hpehl added the on_hold label Feb 22, 2017
@hpehl
Copy link
Member

hpehl commented Feb 22, 2017

I've put this on hold, since we're beyond EAP 7.1 code freeze. Only bugfixes (JBEAP issues) are allowed for master. Merging this will be postponed until 7.1 has been released.

@baranowb
Copy link
Contributor Author

There is one tiny detail that is wrong with this PR, Im trying to solve it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants