Closed KurtStam closed 7 years ago
See https://issues.apache.org/jira/browse/CAMEL-10561
Will add this to Apache Camel and then we can in the interim time copy that to fabric8 until we upgrade to Camel 2.19.0.
I made a little standalone app you can try also which has embedded swagger ui
Implemented this on the Apache Camel side, now need to port that to django so we can have it included for ipaas.
There is a new django release which has camel-catalog-rest included. So I need to hook this up into fabric8-forge-core to hook that up as a JAX-RS app.
The camel catalog REST api is now baked into fabric8-forge
However the swagger json doc is not included as this requires CXF 3.1.7 or newer. And we are stuck on 3.1.6 due fabric8 has some fabric8-cxf components that are using this version and they haven't been upgraded. Not sure if that is easy.
To find all Camel components, this API returns their names
camel-catalog/findComponentNames
Logged a ticket to upgrade CXF https://github.com/fabric8io/fabric8/issues/6622
See #767
This is needed for the ipaas UI.
It would call: https://github.com/apache/camel/blob/master/platforms/catalog/src/main/java/org/apache/camel/catalog/CamelCatalog.java#L233
and return a list of strings containing all labels.