[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14221900#comment-14221900 ] Claus Ibsen commented on CAMEL-8066: Yeah the web JAR can be a good idea then its part of the build and not a bunch of js files. And therefore a better practice and much less for us to maintain. Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Commented] (CAMEL-8066) Add swagger ui to the camel swagger rest example
[ https://issues.apache.org/jira/browse/CAMEL-8066?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14221902#comment-14221902 ] Charles Moulliard commented on CAMEL-8066: -- I will have a look monday to include the JAR generated from swagger-ui github repository. This could be achieved with 2 maven plugin and some ant tasks to unzip the content into the webapp directory Add swagger ui to the camel swagger rest example Key: CAMEL-8066 URL: https://issues.apache.org/jira/browse/CAMEL-8066 Project: Camel Issue Type: Improvement Components: examples Affects Versions: 2.14.0 Reporter: Charles Moulliard Assignee: Charles Moulliard Fix For: 2.15.0 The example camel-example-servlet-rest-tomcat uses the camel swagger component to register the swagger servlet able to discover and generates json files for the REST service. The goal of this improvement is to add the swagger-ui resources (html, css, js, ...) to allow the user to discover the operations of the REST services and play with them. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Resolved] (CAMEL-8072) Netty Http Server should close the channel once it return an error message
[ https://issues.apache.org/jira/browse/CAMEL-8072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Willem Jiang resolved CAMEL-8072. - Resolution: Fixed Fix Version/s: 2.13.4 Applied the patch into camel master, camel-2.14.x and camel-2.13.x branches. Netty Http Server should close the channel once it return an error message -- Key: CAMEL-8072 URL: https://issues.apache.org/jira/browse/CAMEL-8072 Project: Camel Issue Type: Improvement Components: camel-netty-http, camel-netty4-http Affects Versions: 2.13.3, 2.14.0 Reporter: Willem Jiang Assignee: Willem Jiang Fix For: 2.14.1, 2.15.0, 2.13.4 It's a common practice that http server close the connection once it send the error message to the client. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8075) Camel sftp should send a command to check if the connection is broken
Willem Jiang created CAMEL-8075: --- Summary: Camel sftp should send a command to check if the connection is broken Key: CAMEL-8075 URL: https://issues.apache.org/jira/browse/CAMEL-8075 Project: Camel Issue Type: Improvement Reporter: Willem Jiang Assignee: Willem Jiang Here is [a question|http://stackoverflow.com/questions/26810743/org-apache-camel-component-file-genericfileoperationfailedexception-cannot-lis/27032384#27032384] in the stackoverflow. I just checked the code of camel-ftp, it has the code to check the connection, but it's hard to know if the connection is still opened if we don't send some bytes to server socket. The solution could be force the ftp client send some ping or list message to check if the connection is still open. -- This message was sent by Atlassian JIRA (v6.3.4#6332)
[jira] [Created] (CAMEL-8076) We should avoid check the
Willem Jiang created CAMEL-8076: --- Summary: We should avoid check the Key: CAMEL-8076 URL: https://issues.apache.org/jira/browse/CAMEL-8076 Project: Camel Issue Type: Improvement Components: camel-quartz2 Reporter: Willem Jiang Assignee: Willem Jiang Here is [a stackoverflow question|http://stackoverflow.com/questions/27031971/quartz-clustering-in-camel-spring-dsl] which shows when the clustered quartz wants to recovery the job, camel throw the java.lang.IllegalArgumentException: {code} ava.lang.IllegalArgumentException: Trigger key cluster.quartz is already in used by Endpoint[quartz2://cluster/quartz?cron=0+0%2F2+++*+%3FdurableJob=truerecoverableJob=truestateful=true] at org.apache.camel.component.quartz2.QuartzEndpoint.ensureNoDupTriggerKey(QuartzEndpoint.java:272) {code} We should avoid the checking of ensureNoDupTriggerKey, if the recoverableJob is true. -- This message was sent by Atlassian JIRA (v6.3.4#6332)