Fork me on GitHub

Business module: cdi way

Relevant files

Common

  • osgi.bnd: jaxrs, camel, eager start, validation, properties capabilities

Access REST UI management

  • With the use of Swagger (defining your API with annotations), you have access to a management UI allowing you to query your services.
  • Just navigate to your host:port/api-docs to see the ui
  • Then enter http://localhost:port/cxf/yourserver/api-docs on the ‘server url’ input field
  • You can finally query your model elements