You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by dk...@apache.org on 2014/08/13 17:49:06 UTC

[3/3] git commit: Fix camel-linkedin-api to not reference stuff outside it's component so it can be pulled into eclipse

Fix camel-linkedin-api to not reference stuff outside it's component so it can be pulled into eclipse


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/e8e2a511
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/e8e2a511
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/e8e2a511

Branch: refs/heads/master
Commit: e8e2a511a18dde0d2102a9f87fe165c203890552
Parents: b144cff
Author: Daniel Kulp <dk...@apache.org>
Authored: Wed Aug 13 11:47:47 2014 -0400
Committer: Daniel Kulp <dk...@apache.org>
Committed: Wed Aug 13 11:47:47 2014 -0400

----------------------------------------------------------------------
 .../camel-linkedin/camel-linkedin-api/pom.xml   |  9 -----
 .../src/test/resources/log4j.properties         | 36 ++++++++++++++++++++
 .../src/test/resources/test-options.properties  | 28 +++++++++++++++
 3 files changed, 64 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/e8e2a511/components/camel-linkedin/camel-linkedin-api/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-api/pom.xml b/components/camel-linkedin/camel-linkedin-api/pom.xml
index 9ef96ad..381b40c 100644
--- a/components/camel-linkedin/camel-linkedin-api/pom.xml
+++ b/components/camel-linkedin/camel-linkedin-api/pom.xml
@@ -105,15 +105,6 @@
   </dependencies>
 
   <build>
-    <testResources>
-      <testResource>
-        <directory>${project.basedir}/src/test/resources</directory>
-      </testResource>
-      <testResource>
-        <directory>${project.basedir}/../camel-linkedin-component/src/test/resources</directory>
-      </testResource>
-    </testResources>
-
     <plugins>
 
       <!-- uncomment to validate XSD since wadl2java doesn't report line numbers in errors -->

http://git-wip-us.apache.org/repos/asf/camel/blob/e8e2a511/components/camel-linkedin/camel-linkedin-api/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-api/src/test/resources/log4j.properties b/components/camel-linkedin/camel-linkedin-api/src/test/resources/log4j.properties
new file mode 100644
index 0000000..fb1d365
--- /dev/null
+++ b/components/camel-linkedin/camel-linkedin-api/src/test/resources/log4j.properties
@@ -0,0 +1,36 @@
+#
+# 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.linkedin=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-linkedin-test.log

http://git-wip-us.apache.org/repos/asf/camel/blob/e8e2a511/components/camel-linkedin/camel-linkedin-api/src/test/resources/test-options.properties
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-api/src/test/resources/test-options.properties b/components/camel-linkedin/camel-linkedin-api/src/test/resources/test-options.properties
new file mode 100644
index 0000000..4bb03f0
--- /dev/null
+++ b/components/camel-linkedin/camel-linkedin-api/src/test/resources/test-options.properties
@@ -0,0 +1,28 @@
+#
+# 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.
+#
+# LinkedIn user name
+userName=
+# LinkedIn user password
+userPassword=
+# LinkedIn App clientId
+clientId=
+# LinkedIn App clientSecret
+clientSecret=
+# LinkedIn App required scopes
+scope=r_basicprofile,r_fullprofile,r_emailaddress,r_network,r_contactinfo,rw_nus,rw_company_admin,rw_groups,w_messages
+# LinkedIn App redirect URI
+redirectUri=