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-19232 Update ElytronOidcSubsystemSchema to only add the Scope attribute to Preview:2.0 schema version or later #17816

Merged
merged 1 commit into from Apr 17, 2024

Conversation

PrarthonaPaul
Copy link
Contributor

@PrarthonaPaul PrarthonaPaul commented Apr 11, 2024

@wildfly-bot wildfly-bot bot requested a review from fjuma April 11, 2024 20:01
@bstansberry bstansberry added Blocker Needs to be merged before the next release from the branch it targets. 32.x WildFly 32 labels Apr 15, 2024
Stream.of(ProviderAttributeDefinitions.ATTRIBUTES).forEach(attribute -> secureDeploymentDefinitionBuilder.addAttribute(attribute, SIMPLE_ATTRIBUTE_PARSER, SIMPLE_ATTRIBUTE_MARSHALLER));
Stream.of(ProviderAttributeDefinitions.ATTRIBUTES).forEach(attribute -> secureServerDefinitionBuilder.addAttribute(attribute, SIMPLE_ATTRIBUTE_PARSER, SIMPLE_ATTRIBUTE_MARSHALLER));

if (this.since(VERSION_2_0_PREVIEW)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

The since check only compares version numbers. We should also add a this.enables(...) check, similar to what @Skyllarr did here:

https://github.com/wildfly/wildfly-core/pull/5919/files#diff-9e0841048dde4b289fc01a5c76980785b1322d5fa7003454599ec4194ab67e4bR195

More details about this can also be found here:

wildfly/wildfly-core#4311 (comment)

…tribute to Preview:2.0 schema version or later
Copy link
Contributor

@fjuma fjuma left a comment

Choose a reason for hiding this comment

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

Thanks @PrarthonaPaul!

@bstansberry bstansberry merged commit 6048145 into wildfly:main Apr 17, 2024
13 checks passed
@bstansberry
Copy link
Contributor

Thanks @PrarthonaPaul and @fjuma

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
32.x WildFly 32 Blocker Needs to be merged before the next release from the branch it targets.
Projects
None yet
3 participants