You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2015/06/28 20:47:06 UTC

[jira] [Commented] (CAMEL-8175) camel-swagger - Add support for multiple CamelContexts

    [ https://issues.apache.org/jira/browse/CAMEL-8175?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604831#comment-14604831 ] 

Claus Ibsen commented on CAMEL-8175:
------------------------------------

To make the servlet mapping easier, its 

/api-docs/foo
/api-docs/bar

And if you just do /api-docs you get a json response with the possible camel contexts in the JVM

> camel-swagger - Add support for multiple CamelContexts
> ------------------------------------------------------
>
>                 Key: CAMEL-8175
>                 URL: https://issues.apache.org/jira/browse/CAMEL-8175
>             Project: Camel
>          Issue Type: Improvement
>          Components: camel-swagger
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>             Fix For: 2.16.0
>
>
> Related to CAMEL-8161
> Instead of having to co-locate camel-swagger in the same deployment as your Camel, then we should add support for supporting multiple camel contexts, so the api-docs can support that.
> Then people can inspect the rest services per camel, using its id, etc
> /foo/api-docs
> /bar/api-docs
> Where foo and bar is the camelId



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)