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
spring-cloud-dataflow-shell fails to parse kebab-case arguments #5172
Comments
github-actions
bot
added
the
status/need-triage
Team needs to triage and take a first look
label
Jan 2, 2023
Version 2.9.6 works with both cases |
Compiling this bug to better format. In
In
errors in server:
then even
|
There's 2 or 3 bugs here.
|
jvalkeal
added
type/bug
Is a bug report
and removed
status/need-triage
Team needs to triage and take a first look
labels
Jan 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description:
kebab-case arguments are not parsed correctly by the shell.
e.g the argument
--metadata-uri
does not resolve to it's value, but it works with camelCase syntax--metadataUri
Negative case with --metadata-uri (kebab-case)
Command..
app register --name paymentorderloader --type task --uri docker:code-registry.xxx.com/jobs/payment-order-loader:40.0.0-SNAPSHOT --metadata-uri maven://ch.xxx.job:payment-order-loader:jar:metadata:40.0.0-SNAPSHOT --force true`
.. resolves to
Arguments: [paymentorderloader, task, docker:code-registry.xxx.com/jobs/payment-order-loader:40.0.0-SNAPSHOT, --metadata-uri, true]
Log file:
Positive case with --metadataUri (camelCase)
Command..
app register --name paymentorderloader --type task --uri docker:code-registry.xxx.com/jobs/payment-order-loader:40.0.0-SNAPSHOT --metadataUri maven://ch.xxx.job:payment-order-loader:jar:metadata:40.0.0-SNAPSHOT --force true`
.. resolves to
Arguments: [paymentorderloader, task, docker:code-registry.xxx.com/jobs/payment-order-loader:40.0.0-SNAPSHOT, maven://ch.xxx.job:payment-order-loader:jar:metadata:40.0.0-SNAPSHOT, true]
Log file:
Release versions:
spring-cloud-dataflow-shell:2.10.0
tested with docker: bitnami/spring-cloud-dataflow-shell:2.10.0
The text was updated successfully, but these errors were encountered: