Repository: camel
Updated Branches:
  refs/heads/master 89a8b35b8 -> 9a92064cf


http://git-wip-us.apache.org/repos/asf/camel/blob/9a92064c/components/camel-olingo2/camel-olingo2-component/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git 
a/components/camel-olingo2/camel-olingo2-component/src/test/resources/log4j.properties
 
b/components/camel-olingo2/camel-olingo2-component/src/test/resources/log4j.properties
new file mode 100644
index 0000000..1ced00f
--- /dev/null
+++ 
b/components/camel-olingo2/camel-olingo2-component/src/test/resources/log4j.properties
@@ -0,0 +1,39 @@
+#
+# 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.
+#
+
+#
+# The logging properties used for testing.
+#
+log4j.rootLogger=INFO, file
+
+# uncomment the following line to turn on component debug messages
+#log4j.logger.org.apache.camel.component.olingo2=DEBUG
+
+# uncomment the following line to turn on HTTP Client debug messages
+#log4j.logger.httpclient.wire=DEBUG
+
+# CONSOLE appender not used by default
+log4j.appender.out=org.apache.log4j.ConsoleAppender
+log4j.appender.out.layout=org.apache.log4j.PatternLayout
+#log4j.appender.out.layout.ConversionPattern=[%30.30t] %-30.30c{1} %-5p %m%n
+log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - 
%m%n
+
+# File appender
+log4j.appender.file=org.apache.log4j.FileAppender
+log4j.appender.file.layout=org.apache.log4j.PatternLayout
+log4j.appender.file.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - 
%m%n
+log4j.appender.file.file=target/camel-olingo2-test.log

http://git-wip-us.apache.org/repos/asf/camel/blob/9a92064c/components/camel-olingo2/camel-olingo2-component/src/test/resources/test-options.properties
----------------------------------------------------------------------
diff --git 
a/components/camel-olingo2/camel-olingo2-component/src/test/resources/test-options.properties
 
b/components/camel-olingo2/camel-olingo2-component/src/test/resources/test-options.properties
new file mode 100644
index 0000000..97e37bb
--- /dev/null
+++ 
b/components/camel-olingo2/camel-olingo2-component/src/test/resources/test-options.properties
@@ -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.
+#
+# Test values for Olingo configuration properties
+serviceUri=http://localhost:8080/MyFormula.svc
+contentType=application/json;charset=utf-8
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/camel/blob/9a92064c/components/camel-olingo2/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-olingo2/pom.xml b/components/camel-olingo2/pom.xml
new file mode 100644
index 0000000..9d591c9
--- /dev/null
+++ b/components/camel-olingo2/pom.xml
@@ -0,0 +1,65 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+  -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/maven-v4_0_0.xsd";>
+
+  <modelVersion>4.0.0</modelVersion>
+
+  <parent>
+    <artifactId>components</artifactId>
+    <groupId>org.apache.camel</groupId>
+    <version>2.14-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.camel.component.olingo2</groupId>
+  <artifactId>camel-olingo2-parent</artifactId>
+  <packaging>pom</packaging>
+
+  <name>Camel :: Olingo2 Component Parent</name>
+  <description>Parent project for Camel {Olingo2} Component</description>
+
+  <modules>
+    <module>camel-olingo2-api</module>
+    <module>camel-olingo2-component</module>
+  </modules>
+
+  <profiles>
+    <profile>
+      <id>olingo2-test</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-surefire-plugin</artifactId>
+            <configuration>
+              <childDelegation>false</childDelegation>
+              <useFile>true</useFile>
+              <forkMode>once</forkMode>
+              
<forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds>
+              <excludes>
+                <exclude>**/*XXXTest.java</exclude>
+              </excludes>
+              <includes>
+                <include>**/*Test.java</include>
+              </includes>
+            </configuration>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
+</project>

http://git-wip-us.apache.org/repos/asf/camel/blob/9a92064c/components/pom.xml
----------------------------------------------------------------------
diff --git a/components/pom.xml b/components/pom.xml
index bc980a4..962c7a6 100644
--- a/components/pom.xml
+++ b/components/pom.xml
@@ -146,6 +146,7 @@
     <module>camel-netty4</module>
     <module>camel-netty-http</module>
     <module>camel-ognl</module>
+    <module>camel-olingo</module>
     <module>camel-openshift</module>
     <module>camel-optaplanner</module>
     <module>camel-paxlogging</module>

Reply via email to