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

feat(camel-k): add options to override some aspects of a route #5792

Merged
merged 1 commit into from
Feb 22, 2024

Conversation

lburgazzoli
Copy link
Contributor

No description provided.

@lburgazzoli
Copy link
Contributor Author

@davsclaus mind having a look ?

Copy link
Contributor

@davsclaus davsclaus left a comment

Choose a reason for hiding this comment

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

model hacker ;)

Copy link
Contributor

@jamesnetherton jamesnetherton left a comment

Choose a reason for hiding this comment

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

Aside from my comment about the sources location it LGTM.

"camel.k.routes.overrides[4].input.with", "direct:r5invalid",
"camel.k.routes.overrides[5].id", "r5",
"camel.k.routes.overrides[5].input.with", "direct:r5override",
"camel.k.sources[0].location", "file:src/test/resources/routes.yaml",
Copy link
Contributor

Choose a reason for hiding this comment

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

file:src/test/resources/routes.yaml wont work when the test is run in the Quarkus Platform since the test is run from the test-jar. Better to copy any required resources into target or a temporary location.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

let me fix that

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved to classpath reolver, would that work on Quarkus Platform @jamesnetherton ?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah it should be ok

@jamesnetherton
Copy link
Contributor

jamesnetherton commented Feb 22, 2024

I guess we'd want this backported to 3.8.x?

@lburgazzoli lburgazzoli marked this pull request as ready for review February 22, 2024 12:11
@lburgazzoli
Copy link
Contributor Author

I guess we'd want this backported to 3.8.x?

if that is not an issue, yes

@jamesnetherton jamesnetherton merged commit fd57971 into apache:main Feb 22, 2024
24 checks passed
@lburgazzoli lburgazzoli deleted the camel-k-route-rewire branch February 22, 2024 16:09
@lburgazzoli
Copy link
Contributor Author

@jamesnetherton should I backport ?

@lburgazzoli
Copy link
Contributor Author

@jamesnetherton should I backport ?

oh you did it already

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.

None yet

5 participants