It currently discovers all Swagger, WADL and WSDL contracts used by any Apache CXF based REST or web services or any Camel REST DSL routes. Any JVM is supported; so your CXF and Camel can be running inside Karaf, Tomcat, Wildfly or a vanilla JVM or Spring Boot etc.
For the API Registry to be able to discover the API contracts and endpoints then JMX must be enabled in your JVM (which it tends to be by default), then JMX needs to be enabled in CXF and Camel.
For CXF you need to ensure that JMX is properly enabled and that the fabric-cxf library is included in your CXF application which adds the necessary JMX operations so that we can remotely discover the correct endpoints inside the JVM.
- In the Console click on the Library tab and then navigate into apps and then click on API Registry
- Click on the Run button on the top right to run the API Registry service
- Now run any Quickstart which uses CXF REST or web services or the Camel Rest SQL quickstart.
- Wait a minute or so for everything to be up and running
- You should see a new APIs tab in the Console click on it
- You should now see the API Console which lets you view, search and navigate to all the APIs defined in your environment for CXF or Camel REST DSL routes.