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 #549

Merged
merged 1 commit into from
Dec 5, 2024

Conversation

essobedo
Copy link
Contributor

@essobedo essobedo commented Dec 4, 2024

fixes #548

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 force-pushed the essobedo/548/allow-cxfrs-in-blueprint branch from 38e47f6 to 9a7e734 Compare December 4, 2024 16:56
@essobedo essobedo marked this pull request as ready for review December 4, 2024 16:56
@essobedo essobedo force-pushed the essobedo/548/allow-cxfrs-in-blueprint branch 2 times, most recently from 4a9e99a to 7594e62 Compare December 5, 2024 11:05
@essobedo essobedo force-pushed the essobedo/548/allow-cxfrs-in-blueprint branch from 7594e62 to 03402c0 Compare December 5, 2024 14:21
Copy link
Collaborator

@f2par0 f2par0 left a comment

Choose a reason for hiding this comment

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

LGTM

@essobedo essobedo merged commit ce8e1a8 into main Dec 5, 2024
1 check passed
@essobedo essobedo deleted the essobedo/548/allow-cxfrs-in-blueprint branch December 5, 2024 16:22
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.

CxfRsBlueprintEndpointFactoryBean class not found issue
2 participants