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

Ref #548: Allow to create a cxfrs endpoint in blueprint #552

Merged

Conversation

essobedo
Copy link
Contributor

@essobedo essobedo commented Dec 5, 2024

fixes #548 (v 4.8)

Motivation

For now, it is not possible to create a cxfrs endpoint using blueprint as we end up with a ClassNotFoundException

Modifications:

  • Add an integration test that reproduces the issue
  • Add a class for removal corresponding to what camel-cxf-rest expects until it is fixed in Camel
  • Move all blueprint-related classes of CXF into camel-cxf-blueprint to prevent split packages
  • Add all blueprint-related schemas of CXF to camel-cxf-blueprint
  • Add the maven property camel.karaf.test.additional.imports to add import packages to the test bundle
  • Add the maven property camel.karaf.test.fragment.host to set the fragment host of the test bundle

Result

By explicitly adding the import package org.apache.camel.component.cxf.jaxrs.blueprint to the bundle to test, it is now possible to create a cxfrs endpoint using blueprint.

@essobedo essobedo merged commit bf47b8a into camel-karaf-4.8.x Dec 5, 2024
1 check passed
@essobedo essobedo deleted the essobedo/548/allow-cxfrs-in-blueprint-4.8 branch December 5, 2024 18:10
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.

1 participant