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

Parameters in YAML DSL are not recognized #2441

Closed
nicolaferraro opened this issue Jun 24, 2021 · 0 comments · Fixed by #2442
Closed

Parameters in YAML DSL are not recognized #2441

nicolaferraro opened this issue Jun 24, 2021 · 0 comments · Fixed by #2442
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@nicolaferraro
Copy link
Member

nicolaferraro commented Jun 24, 2021

And this makes traits such as cron and knative to not work as expected, because the operator skips them.

So, e.g. this works:

- from:
    uri: "cron:tab?schedule=*+*+*+*+?"
# ...

But this doesn't:

- from:
    uri: "cron:tab"
    parameters:
      schedule: "* * * * ?"
# ...

Even if they are equivalent at runtime level, they are not at operator side.

@nicolaferraro nicolaferraro added the kind/bug Something isn't working label Jun 24, 2021
@nicolaferraro nicolaferraro added this to the 1.5.0 milestone Jun 24, 2021
@nicolaferraro nicolaferraro self-assigned this Jun 24, 2021
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Jun 24, 2021
nicolaferraro added a commit to nicolaferraro/camel-k that referenced this issue Jun 24, 2021
nicolaferraro added a commit to jboss-fuse/camel-k that referenced this issue Jun 24, 2021
Backport Fix apache#2441: parse parameters in YAML DSL
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant