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 2019/05/08 11:50:39 UTC

[camel] branch master updated (08b1b2d -> bae19cc)

This is an automated email from the ASF dual-hosted git repository.

acosentino pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git.


    from 08b1b2d  Camel-Soroush: Removed useless class
     new e83c15c  Camel-Soroush: Regen soroush component starter
     new 5febf32  Regen
     new bae19cc  Camel-Soroush: Added Spring Boot Integration test

The 3 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 components/readme.adoc                                                | 4 ++--
 docs/components/modules/ROOT/nav.adoc                                 | 2 +-
 .../spring-boot/components-starter/camel-soroush-starter/pom.xml      | 4 ++--
 .../itest/springboot/{CamelCouchdbTest.java => CamelSoroushTest.java} | 4 ++--
 4 files changed, 7 insertions(+), 7 deletions(-)
 copy tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/{CamelCouchdbTest.java => CamelSoroushTest.java} (92%)


[camel] 02/03: Regen

Posted by ac...@apache.org.
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

commit 5febf3201657e17824958a863f09cb6591963ed9
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 8 13:49:10 2019 +0200

    Regen
---
 components/readme.adoc                | 4 ++--
 docs/components/modules/ROOT/nav.adoc | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/components/readme.adoc b/components/readme.adoc
index d8060f2..518296a 100644
--- a/components/readme.adoc
+++ b/components/readme.adoc
@@ -760,8 +760,8 @@ Number of Components: 295 in 232 JAR artifacts (0 deprecated)
 | link:camel-solr/src/main/docs/solr-component.adoc[Solr] (camel-solr) +
 `solr:url` | 2.9 | The solr component allows you to interface with an Apache Lucene Solr server.
 
-| link:camel-soroush/src/main/docs/soroush-component.adoc[Soroush] (camel-soroush) +
-`soroush:<endpoint>[/authorizationToken][?options]` | 3.0 | The Soroush component provides access to the Soroush Bot API.
+| link:camel-soroush/src/main/docs/soroush-component.adoc[SoroushBot] (camel-soroush) +
+`soroush:<endpoint>[/authorizationToken][?options]` | 3.0 | this class represents Soroush Endpoint, it is also a bean containing the configuration of the Endpoint
 
 | link:camel-spark-rest/src/main/docs/spark-rest-component.adoc[Spark Rest] (camel-spark-rest) +
 `spark-rest:verb:path` | 2.14 | The spark-rest component is used for hosting REST services which has been defined using Camel rest-dsl.
diff --git a/docs/components/modules/ROOT/nav.adoc b/docs/components/modules/ROOT/nav.adoc
index 80d5cd3..ca2465c 100644
--- a/docs/components/modules/ROOT/nav.adoc
+++ b/docs/components/modules/ROOT/nav.adoc
@@ -291,7 +291,7 @@
 * xref:snmp-component.adoc[SNMP Component]
 * xref:soapjaxb-dataformat.adoc[SOAP DataFormat]
 * xref:solr-component.adoc[Solr Component]
-* xref:soroush-component.adoc[Soroush Component]
+* xref:soroush-component.adoc[SoroushBot Component]
 * xref:spark-rest-component.adoc[Spark Rest Component]
 * xref:spark-component.adoc[Apache Spark Component]
 * xref:splunk-component.adoc[Splunk Component]


[camel] 03/03: Camel-Soroush: Added Spring Boot Integration test

Posted by ac...@apache.org.
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

commit bae19ccea933430d16dc3f7e8725e25d5a771652
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 8 13:49:31 2019 +0200

    Camel-Soroush: Added Spring Boot Integration test
---
 .../camel/itest/springboot/CamelSoroushTest.java   | 48 ++++++++++++++++++++++
 1 file changed, 48 insertions(+)

diff --git a/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoroushTest.java b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoroushTest.java
new file mode 100644
index 0000000..f64bfba
--- /dev/null
+++ b/tests/camel-itest-spring-boot/src/test/java/org/apache/camel/itest/springboot/CamelSoroushTest.java
@@ -0,0 +1,48 @@
+/*
+ * 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.
+ */
+package org.apache.camel.itest.springboot;
+
+import org.apache.camel.itest.springboot.util.ArquillianPackager;
+import org.jboss.arquillian.container.test.api.Deployment;
+import org.jboss.arquillian.junit.Arquillian;
+import org.jboss.shrinkwrap.api.Archive;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+
+
+@RunWith(Arquillian.class)
+public class CamelSoroushTest extends AbstractSpringBootTestSupport {
+
+    @Deployment
+    public static Archive<?> createSpringBootPackage() throws Exception {
+        return ArquillianPackager.springBootPackage(createTestConfig());
+    }
+
+    public static ITestConfig createTestConfig() {
+        return new ITestConfigBuilder()
+                .module(inferModuleName(CamelSoroushTest.class))
+                .build();
+    }
+
+    @Test
+    public void componentTests() throws Exception {
+        this.runComponentTest(config);
+        this.runModuleUnitTestsIfEnabled(config);
+    }
+
+
+}


[camel] 01/03: Camel-Soroush: Regen soroush component starter

Posted by ac...@apache.org.
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

commit e83c15cfd0eaa2c8ef787358f511fe9911d3a130
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Wed May 8 12:45:43 2019 +0200

    Camel-Soroush: Regen soroush component starter
---
 .../spring-boot/components-starter/camel-soroush-starter/pom.xml      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/platforms/spring-boot/components-starter/camel-soroush-starter/pom.xml b/platforms/spring-boot/components-starter/camel-soroush-starter/pom.xml
index 5bc2cd4..03553e3 100644
--- a/platforms/spring-boot/components-starter/camel-soroush-starter/pom.xml
+++ b/platforms/spring-boot/components-starter/camel-soroush-starter/pom.xml
@@ -26,8 +26,8 @@
   </parent>
   <artifactId>camel-soroush-starter</artifactId>
   <packaging>jar</packaging>
-  <name>Spring-Boot Starter :: Camel :: SoroushBot</name>
-  <description>Spring-Boot Starter for Camel Components</description>
+  <name>Spring-Boot Starter :: Camel :: Soroush</name>
+  <description>Spring-Boot Starter for Camel Soroush Support</description>
   <dependencies>
     <dependency>
       <groupId>org.springframework.boot</groupId>