Skip to content

Dependencies not added automatically when using dataformats #5662

Open
@lsergio

Description

@lsergio

What happened?

When I created an integration that included the following step:

steps:
- marshal:
    base64: {}

Camel-K didn't include the camel-base64 dependency automatically and it only worked after I included it explicitly in the dependencies section of the spec.

I see that for languages it does so, like in this example:

when:
- expression:
    jq:
      expression: '.store.book.price < 30'    

where the use of jq caused the required dependencies for it to work to be added automatically to the Integration classpath.

I'm assuming dataformats should work like expression languages, and that's the reason I'm opening a bug. If this is by design, please just close it.

Steps to reproduce

No response

Relevant log output

No response

Camel K version

2.2.0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions