[jira] [Updated] (CAMEL-12957) camel-cxf - Swagger/OpenAPI feature should not involve the Camel route

2019-08-06 Thread Claus Ibsen (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-12957:

Fix Version/s: 3.0.0

> camel-cxf - Swagger/OpenAPI feature should not involve the Camel route
> --
>
> Key: CAMEL-12957
> URL: https://issues.apache.org/jira/browse/CAMEL-12957
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-cxfrs
>Affects Versions: 2.22.2
>Reporter: Jens Kleine-Herzbruch
>Assignee: Freeman Fang
>Priority: Minor
> Fix For: 3.0.0
>
> Attachments: camel-openapi-test-swagger2feature.tar, 
> camel-openapi-test.zip
>
>
> Currently, when adding Swagger2Feature or OpenApiFeature to a CXFRS endpoint, 
> the calls to the API descriptions go through the Camel route, ie. one has to 
> implement an additional Camel route in order to make those features work.
> Using runAsFilter=false a call to
> http://localhost:8080/services/myCamelService/openapi.json
> results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> results in call of the Camel route with an operation "getResource"
> Using runAsFilter=true the situation improves marginally:
> http://localhost:8080/services/myCamelService/openapi.json
> still results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> at least now shows the Swagger UI page frame but still fails to load the 
> actual service description since it again calls the Camel route with the 
> "getOpenApi" operation.
> Supposedly that means the filter correctly intercepts the getResource call 
> but not the getOpenApi call. It would be great if this worked out of the box. 
> A custom implementation would still be possible by not running as a filter.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)


[jira] [Updated] (CAMEL-12957) camel-cxf - Swagger/OpenAPI feature should not involve the Camel route

2019-06-24 Thread Freeman Fang (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Freeman Fang updated CAMEL-12957:
-
Attachment: camel-openapi-test-swagger2feature.tar

> camel-cxf - Swagger/OpenAPI feature should not involve the Camel route
> --
>
> Key: CAMEL-12957
> URL: https://issues.apache.org/jira/browse/CAMEL-12957
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-cxfrs
>Affects Versions: 2.22.2
>Reporter: Jens Kleine-Herzbruch
>Assignee: Freeman Fang
>Priority: Minor
> Attachments: camel-openapi-test-swagger2feature.tar, 
> camel-openapi-test.zip
>
>
> Currently, when adding Swagger2Feature or OpenApiFeature to a CXFRS endpoint, 
> the calls to the API descriptions go through the Camel route, ie. one has to 
> implement an additional Camel route in order to make those features work.
> Using runAsFilter=false a call to
> http://localhost:8080/services/myCamelService/openapi.json
> results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> results in call of the Camel route with an operation "getResource"
> Using runAsFilter=true the situation improves marginally:
> http://localhost:8080/services/myCamelService/openapi.json
> still results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> at least now shows the Swagger UI page frame but still fails to load the 
> actual service description since it again calls the Camel route with the 
> "getOpenApi" operation.
> Supposedly that means the filter correctly intercepts the getResource call 
> but not the getOpenApi call. It would be great if this worked out of the box. 
> A custom implementation would still be possible by not running as a filter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAMEL-12957) camel-cxf - Swagger/OpenAPI feature should not involve the Camel route

2019-06-24 Thread Jens Kleine-Herzbruch (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Jens Kleine-Herzbruch updated CAMEL-12957:
--
Attachment: camel-openapi-test.zip

> camel-cxf - Swagger/OpenAPI feature should not involve the Camel route
> --
>
> Key: CAMEL-12957
> URL: https://issues.apache.org/jira/browse/CAMEL-12957
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-cxfrs
>Affects Versions: 2.22.2
>Reporter: Jens Kleine-Herzbruch
>Priority: Minor
> Attachments: camel-openapi-test.zip
>
>
> Currently, when adding Swagger2Feature or OpenApiFeature to a CXFRS endpoint, 
> the calls to the API descriptions go through the Camel route, ie. one has to 
> implement an additional Camel route in order to make those features work.
> Using runAsFilter=false a call to
> http://localhost:8080/services/myCamelService/openapi.json
> results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> results in call of the Camel route with an operation "getResource"
> Using runAsFilter=true the situation improves marginally:
> http://localhost:8080/services/myCamelService/openapi.json
> still results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> at least now shows the Swagger UI page frame but still fails to load the 
> actual service description since it again calls the Camel route with the 
> "getOpenApi" operation.
> Supposedly that means the filter correctly intercepts the getResource call 
> but not the getOpenApi call. It would be great if this worked out of the box. 
> A custom implementation would still be possible by not running as a filter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Updated] (CAMEL-12957) camel-cxf - Swagger/OpenAPI feature should not involve the Camel route

2018-12-30 Thread Claus Ibsen (JIRA)


 [ 
https://issues.apache.org/jira/browse/CAMEL-12957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Claus Ibsen updated CAMEL-12957:

Summary: camel-cxf - Swagger/OpenAPI feature should not involve the Camel 
route  (was: Swagger/OpenAPI feature should not involve the Camel route)

> camel-cxf - Swagger/OpenAPI feature should not involve the Camel route
> --
>
> Key: CAMEL-12957
> URL: https://issues.apache.org/jira/browse/CAMEL-12957
> Project: Camel
>  Issue Type: Improvement
>  Components: camel-cxfrs
>Affects Versions: 2.22.2
>Reporter: Jens Kleine-Herzbruch
>Priority: Minor
>
> Currently, when adding Swagger2Feature or OpenApiFeature to a CXFRS endpoint, 
> the calls to the API descriptions go through the Camel route, ie. one has to 
> implement an additional Camel route in order to make those features work.
> Using runAsFilter=false a call to
> http://localhost:8080/services/myCamelService/openapi.json
> results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> results in call of the Camel route with an operation "getResource"
> Using runAsFilter=true the situation improves marginally:
> http://localhost:8080/services/myCamelService/openapi.json
> still results in a call of the Camel route with an operation "getOpenApi"
> http://localhost:8080/services/myCamelServive/api-docs?url=openapi.json
> at least now shows the Swagger UI page frame but still fails to load the 
> actual service description since it again calls the Camel route with the 
> "getOpenApi" operation.
> Supposedly that means the filter correctly intercepts the getResource call 
> but not the getOpenApi call. It would be great if this worked out of the box. 
> A custom implementation would still be possible by not running as a filter.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)