Skip to content

Conversation

@shawkins
Copy link
Contributor

closes: #34155

I would have liked to just use a new static variable on ConfigArgsConfigSource, but that doesn't seem to work because a different classload is used for building.

Copy link
Contributor

@vmuzikar vmuzikar left a comment

Choose a reason for hiding this comment

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

LGTM, thanks @shawkins


public static final String NAME = "show-config";
private static final List<String> ignoredPropertyKeys = List.of(
"kc.config.args", "kc.show.config", "kc.profile", "kc.quarkus-properties-enabled", "kc.home.dir");
Copy link
Contributor

Choose a reason for hiding this comment

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

Just out of curiosity. We're still setting the kc.config.args sys prop as before. Why we don't need to ignore it any longer? It might still be recognized as a config option, no?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

We must have at some point seen system properties as config properties. This and the check for build time properties seem to indicate that - however system properties are no longer picked up as config properties, so we don't need this.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, right. Let's get this merged.

@vmuzikar vmuzikar merged commit 358d234 into keycloak:main Oct 23, 2024
shawkins added a commit to shawkins/keycloak that referenced this pull request Oct 23, 2024
closes: keycloak#34155

Signed-off-by: Steve Hawkins <[email protected]>
(cherry picked from commit 358d234)
vmuzikar pushed a commit that referenced this pull request Oct 23, 2024
closes: #34155

Signed-off-by: Steve Hawkins <[email protected]>
(cherry picked from commit 358d234)
@edewit edewit mentioned this pull request Nov 19, 2024
@edewit edewit mentioned this pull request Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cli options starting or ending with ; or containing ;; mangle the cli handling

2 participants