You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ni...@apache.org on 2015/03/10 02:58:25 UTC
[4/4] camel git commit: CAMEL-8465 Add groups/getPosts endpoint to
camel-linkedin
CAMEL-8465 Add groups/getPosts endpoint to camel-linkedin
Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/93cd9da5
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/93cd9da5
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/93cd9da5
Branch: refs/heads/camel-2.14.x
Commit: 93cd9da54b56442cf90c3e2b8ea879aaa1fe0327
Parents: aad7ddb
Author: Tomas Rohovsky <tr...@redhat.com>
Authored: Mon Mar 9 19:39:33 2015 +0100
Committer: Willem Jiang <wi...@gmail.com>
Committed: Tue Mar 10 09:57:54 2015 +0800
----------------------------------------------------------------------
.../src/main/resources/linkedin-api-wadl.xml | 19 +++++++++++++++++--
.../camel-linkedin-component/pom.xml | 7 +++++++
2 files changed, 24 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/camel/blob/93cd9da5/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-wadl.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-wadl.xml b/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-wadl.xml
index cd7d837..cb0c390 100644
--- a/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-wadl.xml
+++ b/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-wadl.xml
@@ -433,6 +433,7 @@
<wadl:method name="GET" id="getGroup">
<wadl:request>
<wadl:param href="#group-id"/>
+ <wadl:param href="#fields-selector"/>
</wadl:request>
<wadl:response>
<wadl:representation href="#group"/>
@@ -441,8 +442,22 @@
</wadl:resource>
<wadl:resource path="{group-id}">
-
- <wadl:resource path="posts{fields}" type="tns:get-posts"/>
+ <wadl:resource path="posts{fields}">
+ <wadl:method name="GET" id="getPosts">
+ <wadl:request>
+ <wadl:param href="#group-id"/>
+ <wadl:param href="#start"/>
+ <wadl:param href="#count"/>
+ <wadl:param href="#order"/>
+ <wadl:param href="#category"/>
+ <wadl:param href="#modified-since"/>
+ <wadl:param href="#fields-selector"/>
+ </wadl:request>
+ <wadl:response>
+ <wadl:representation href="#posts"/>
+ </wadl:response>
+ </wadl:method>
+ </wadl:resource>
<wadl:resource path="posts">
<wadl:method name="POST" id="addPost">
http://git-wip-us.apache.org/repos/asf/camel/blob/93cd9da5/components/camel-linkedin/camel-linkedin-component/pom.xml
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-component/pom.xml b/components/camel-linkedin/camel-linkedin-component/pom.xml
index 0f3b301..df83bae 100644
--- a/components/camel-linkedin/camel-linkedin-component/pom.xml
+++ b/components/camel-linkedin/camel-linkedin-component/pom.xml
@@ -146,6 +146,13 @@
<apiName>groups</apiName>
<proxyClass>org.apache.camel.component.linkedin.api.GroupsResource</proxyClass>
<fromJavadoc />
+ <nullableOptions>
+ <nullableOption>category</nullableOption>
+ <nullableOption>count</nullableOption>
+ <nullableOption>modified_since</nullableOption>
+ <nullableOption>order</nullableOption>
+ <nullableOption>start</nullableOption>
+ </nullableOptions>
</api>
<api>
<apiName>jobs</apiName>