You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2017/04/07 11:46:19 UTC

[3/4] camel git commit: CAMEL-11107: Create a new camel-grpc component

http://git-wip-us.apache.org/repos/asf/camel/blob/45b17fc7/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..ab3c415
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,10 @@
+{
+  "properties": [
+    {
+      "defaultValue": true,
+      "name": "camel.component.grpc.enabled",
+      "description": "Enable grpc component",
+      "type": "java.lang.Boolean"
+    }
+  ]
+}
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/45b17fc7/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.factories
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.factories b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.factories
new file mode 100644
index 0000000..54ce7cb
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.factories
@@ -0,0 +1,19 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+org.springframework.boot.autoconfigure.EnableAutoConfiguration=\
+org.apache.camel.component.grpc.springboot.GrpcComponentAutoConfiguration

http://git-wip-us.apache.org/repos/asf/camel/blob/45b17fc7/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.provides
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.provides b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.provides
new file mode 100644
index 0000000..b6d67ee
--- /dev/null
+++ b/platforms/spring-boot/components-starter/camel-grpc-starter/src/main/resources/META-INF/spring.provides
@@ -0,0 +1,18 @@
+#
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+
+provides: camel-grpc
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/45b17fc7/platforms/spring-boot/components-starter/pom.xml
----------------------------------------------------------------------
diff --git a/platforms/spring-boot/components-starter/pom.xml b/platforms/spring-boot/components-starter/pom.xml
index ec74327..d757699 100644
--- a/platforms/spring-boot/components-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/pom.xml
@@ -145,6 +145,7 @@
     <module>camel-gora-starter</module>
     <module>camel-grape-starter</module>
     <module>camel-groovy-starter</module>
+    <module>camel-grpc-starter</module>
     <module>camel-gson-starter</module>
     <module>camel-guava-eventbus-starter</module>
     <module>camel-guice-starter</module>