8000 fix: corrects cli arg stringification by shawkins · Pull Request #34156 · keycloak/keycloak · GitHub
[go: up one dir, main page]

Skip to content

fix: corrects cli arg stringification - #34156

Merged
vmuzikar merged 1 commit into
keycloak:mainfrom
shawkins:iss34155
Oct 23, 2024
Merged

vmuzikar merged 1 commit into
keycloak:mainfrom
shawkins:iss34155

Conversation

@shawkins
Copy link
Copy Markdown
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.

closes: keycloak#34155

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
@vmuzikar vmuzikar left a comment
Copy link
Copy Markdown
Contributor

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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 <shawkins@redhat.com>
(cherry picked from commit 358d234)
vmuzikar pushed a commit that referenced this pull request Oct 23, 2024
closes: #34155

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
(cherry picked from commit 358d234)
@shawkins shawkins mentioned this pull request Oct 29, 2024
2 tasks done
@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

0