Repository: camel Updated Branches: refs/heads/master ac6be735b -> 6a75adf57
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/6a75adf5 Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/6a75adf5 Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/6a75adf5 Branch: refs/heads/master Commit: 6a75adf579bcd9771573e4c25245d081ce703521 Parents: a4b2b2e Author: Tomas Rohovsky <[email protected]> Authored: Mon Mar 9 19:39:33 2015 +0100 Committer: Willem Jiang <[email protected]> Committed: Tue Mar 10 09:56:32 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/6a75adf5/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/6a75adf5/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 891135e..0da7572 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>
