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
[DRAFT] standalone default configs expressed with layers #15609
Conversation
@rhusar @pferraro Yes, we need layers for these.
@jasondlee @ehsavoie Let's discuss. I hope we don't need such a layer, as we already have two layers related to MP OT. (Can we get rid of one now?) I've forgotten the reasoning around how we use the microprofile-opentracing-jaeger feature group. I've noticed that standalone-microprofile.xml does not include the jaeger resource, while the other standalone.xml variants all do. It seems like one or the other of those is wrong.
@ehsavoie I figure some messaging layers must need remote naming. Perhaps we're not detecting that in tests? If we can just have higher level layers (in ejb and messaging and ???) that require remote naming declare use of the remote naming feature-spec that would be nice. Remote naming is kind of an implementation detail. In theory someone could want remote naming without remote ejb or remote messaging but that doesn't seem like a use case we should go out of our way to support. Such people could write their own layer easily enough and not even need to depend on a feature group we provide. |
Agreed – I have created https://issues.redhat.com/browse/WFLY-16452 and https://issues.redhat.com/browse/WFLY-16453 for these. |
ab0b327
to
a7e90b7
Compare
@bstansberry , I have added the standalone.xml and standalone-ha.xml default configs to the preview FP and removed un-used feature-groups. I added new tests to the layers module to cover the 2 default configs. @rhusar the tests for ha config have a workaround for https://issues.redhat.com/browse/WFLY-16452 and https://issues.redhat.com/browse/WFLY-16453 |
@darranl @bstansberry , a diff exists with standalone and standalone-ha files prior to this change, jberet has now a security-domain name="ApplicationDomain" resource that the batch-jberet layer brings. |
@bstansberry @jasondlee I think that both layers (microprofile-opentracingand open-tracing) are basically the same so we should have an alias. |
I don't think they're quite identical:
and
The first depends on the second, which is also a dependency here: microprofile/galleon-common/src/main/resources/layers/standalone/observability/layer-spec.xml It does seem, though, that we should be able to collapse those into one (which will probably be removed in WF 28 (?) once we move to MP 6) |
@jasondlee I don't really see the value of microprofile-opentracing. It seems to me that it should be aliased |
You're probably right. I think I was reading that wrong yesterday. Rather than an alias, I wouldn't mind just removing it altogether and changing any references to it. Not sure if that would break anything/anyone, but it does seem like noise. |
I've opened a ticket for the microprofile-opentracing layer: https://issues.redhat.com/browse/WFLY-16468 |
a7e90b7
to
c2c0c94
Compare
… for WFLY-16452/WFLY-16453
…nd for WFLY-13798
…round for WFLY-16452/WFLY-16453 and WFLY-13798
c2c0c94
to
4992d9c
Compare
@bstansberry , I have updated this PR:
|
@jfdenise should this still be considered draft? |
@darranl , I am still blocked by missing layers, this can't be merged until we have those layers. I could change it to not being a draft but it has to be hold. |
@jfdenise if you don't mind could you please convert to a real draft - I am running through the non-draft PRs at the moment and this one popped up. |
Closing it, the correct PR is #15966 |
This would allow to provision trimmed default configs.
Main use case being Bootable JAR for wildfly-ee-galleon-pack bare metal (standalone.xml) and cloud (standalone-ha.xml).
ISSUES
These issues are blocking the merge of this PR:
We have some subsystem included with no layers defined: