Skip to content

Ref #596: adapt library 'camel-test-blueprint-junit5' to camel-karaf#651

Merged
essobedo merged 7 commits intoapache:mainfrom
jhattab:596
Jan 19, 2026
Merged

Ref #596: adapt library 'camel-test-blueprint-junit5' to camel-karaf#651
essobedo merged 7 commits intoapache:mainfrom
jhattab:596

Conversation

@jhattab
Copy link
Copy Markdown
Contributor

@jhattab jhattab commented Oct 26, 2025

fixes #596

Here’s my first Pull Request on GitHub.
I’m open to any feedback that could help improve the code and the way we collaborate on these projects.

All the unit tests should normally be working.

I reintroduced the code and unit tests that were present in version 3.22.4 of camel-karaf, and then took inspiration from the changes made to the Spring tests in the Apache Camel project.

@jhattab jhattab force-pushed the 596 branch 2 times, most recently from a1238cc to 4dac01b Compare October 28, 2025 20:25
@essobedo essobedo changed the title Ref apache#596: adapt library 'camel-test-blueprint-junit5' to camel-karaf Ref #596: adapt library 'camel-test-blueprint-junit5' to camel-karaf Nov 13, 2025
Copy link
Copy Markdown
Contributor

@essobedo essobedo left a comment

Choose a reason for hiding this comment

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

Thx for the PR, please avoid huge PR like this one next time as it too long to review. Regarding the PR, could you please remove all tests that seem to test Camel instead of camel-blueprint?

Comment thread components/camel-blueprint-main/pom.xml Outdated
Comment thread tests/camel-blueprint-main/pom.xml
Comment thread components/camel-test/camel-test-blueprint-junit5/pom.xml Outdated
Comment thread tests/camel-test-blueprint-junit5/pom.xml
@jhattab
Copy link
Copy Markdown
Contributor Author

jhattab commented Dec 22, 2025

Thank you very much for the code review. I have reworked the PR by splitting it into two commits: one containing the code inherited from the Karaf Camel 3.22.0 version, and a second one with the adaptations for version 4.10.8-SNAPSHOT.

I hope this makes the changes easier to review.

Regarding the tests, I believe they are necessary to ensure that the Camel patterns are correctly ported and behave as expected in a Blueprint context, even if they may appear to test Camel itself.

@jhattab
Copy link
Copy Markdown
Contributor Author

jhattab commented Dec 23, 2025

camel-blueprint-main and camel-test-blueprint-junit5 are not bundles or components; perhaps we should consider moving these dependencies to another directory in the project, for example under tests?

@essobedo
Copy link
Copy Markdown
Contributor

essobedo commented Jan 6, 2026

camel-blueprint-main and camel-test-blueprint-junit5 are not bundles or components; perhaps we should consider moving these dependencies to another directory in the project, for example under tests?

I agree, if they are not compoments, please move them under tests indeed 👍

@essobedo
Copy link
Copy Markdown
Contributor

essobedo commented Jan 12, 2026

Why did you remove the content of several classes into camel-integration-test?

@jhattab
Copy link
Copy Markdown
Contributor Author

jhattab commented Jan 13, 2026

Why did you remove the content of several classes into camel-integration-test?

Sorry about that — it wasn’t intentional and I missed it. (Probably automatic refactoring.)

Comment thread tests/camel-blueprint-main/src/generated/resources/blueprint-main.json Outdated
Comment thread tests/camel-test-blueprint-junit5/src/test/resources/junit-platform.properties Outdated
Copy link
Copy Markdown
Contributor

@essobedo essobedo left a comment

Choose a reason for hiding this comment

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

LGTM, waiting for the build to pass

@essobedo essobedo merged commit e6846cb into apache:main Jan 19, 2026
1 check passed
@essobedo
Copy link
Copy Markdown
Contributor

Thank you for the contribution

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

camel-test-blueprint-junit5 lib missing for camel-karaf 4.9.0

2 participants