Red Hat Fuse 7 Standalone on Apache Karaf Technical Preview :: RESTful services using the Apache Camel CXFRS component
This repository contains Red Hat Fuse 7 Standalone on Apache Karaf Technical Preview projects that implement swagger 2.0-compliant RESTful services using the Apache Camel CXFRS component.
- These projects are configured to use a repository manager. Thus, the parent POM points to my private Sonatype Nexus Repository OSS. My Sonatype Nexus Repository OSS is configured to proxy the following Red Hat maven repositories in addition to Maven Central:
- Make sure you configure the parent POM to either point to your own maven repository manager or directly to Maven Central as well as the two Red Hat maven repositories above.
- A couple of PID properties (
exposed.service.gateway.host
andexposed.service.gateway.port
) have to be adjusted according to your environment for a consistent swagger 2.0 spec generation:- either within the projects blueprint for local tests with
camel:run
maven goal. - either by creating the appropriate PID files to override default values at containr runtime (Red Hat Fuse 7 Apache Karaf)
according to the deployed module:
org.jeannyil.fuse.restful-ipservice.cfg
for restful-ipserviceorg.jeannyil.fuse.restful-service-metrics.cfg
for restful-service-metrics
- either within the projects blueprint for local tests with