This is an automated email from the ASF dual-hosted git repository. acosentino pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push: new 0978b7e Camel-REST: Fixed CS 0978b7e is described below commit 0978b7e33e39708ead8693530a04f61fbfe00209 Author: Andrea Cosentino <anco...@gmail.com> AuthorDate: Thu Jan 23 14:54:45 2020 +0100 Camel-REST: Fixed CS --- .../src/main/java/org/apache/camel/component/rest/RestEndpoint.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestEndpoint.java b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestEndpoint.java index a425ace..cfab1b7 100644 --- a/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestEndpoint.java +++ b/components/camel-rest/src/main/java/org/apache/camel/component/rest/RestEndpoint.java @@ -50,13 +50,13 @@ import static org.apache.camel.support.RestProducerFactoryHelper.setupComponent; @UriEndpoint(firstVersion = "2.14.0", scheme = "rest", title = "REST", syntax = "rest:method:path:uriTemplate", label = "core,rest", lenientProperties = true) public class RestEndpoint extends DefaultEndpoint { - private static final Logger LOG = LoggerFactory.getLogger(RestEndpoint.class); - public static final String[] DEFAULT_REST_CONSUMER_COMPONENTS = new String[]{"coap", "netty-http", "jetty", "servlet", "spark-java", "undertow"}; public static final String[] DEFAULT_REST_PRODUCER_COMPONENTS = new String[]{"http", "netty-http", "undertow"}; public static final String DEFAULT_API_COMPONENT_NAME = "openapi"; public static final String RESOURCE_PATH = "META-INF/services/org/apache/camel/rest/"; + private static final Logger LOG = LoggerFactory.getLogger(RestEndpoint.class); + @UriPath(label = "common", enums = "get,post,put,delete,patch,head,trace,connect,options") @Metadata(required = true) private String method; @UriPath(label = "common") @Metadata(required = true)