camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject camel git commit: CAMEL-8470 Several small fixes for camel-linkedin
Date Thu, 19 Mar 2015 06:59:43 GMT
Repository: camel
Updated Branches:
  refs/heads/master 70485e975 -> c6b570e9a


CAMEL-8470 Several small fixes for camel-linkedin


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

Branch: refs/heads/master
Commit: c6b570e9a1063bcd771021596f1dfbf5e8ec2b66
Parents: 70485e9
Author: Tomas Rohovsky <trohovsk@redhat.com>
Authored: Tue Mar 10 16:38:01 2015 +0100
Committer: Willem Jiang <willem.jiang@gmail.com>
Committed: Thu Mar 19 14:59:11 2015 +0800

----------------------------------------------------------------------
 .../src/main/resources/linkedin-api-schema.xsd                 | 6 +++---
 .../src/main/resources/linkedin-api-wadl.xml                   | 4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/c6b570e9/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-schema.xsd
----------------------------------------------------------------------
diff --git a/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-schema.xsd
b/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-schema.xsd
index a5796f9..aa85449 100644
--- a/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-schema.xsd
+++ b/components/camel-linkedin/camel-linkedin-api/src/main/resources/linkedin-api-schema.xsd
@@ -193,12 +193,12 @@
         <xs:element ref="description"/>
         <xs:element ref="relation-to-viewer"/>
         <xs:element ref="counts-by-category"/>
-        <xs:element ref="is-open-to-non-members"/>
+        <xs:element minOccurs="0" ref="is-open-to-non-members"/>
         <xs:element name="category" type="GroupCategory"/>
         <xs:element ref="site-group-url"/>
         <xs:element ref="contact-email"/>
         <xs:element ref="locale"/>
-        <xs:element ref="allow-member-invites"/>
+        <xs:element minOccurs="0" ref="allow-member-invites"/>
         <xs:element ref="small-logo-url"/>
         <xs:element ref="large-logo-url"/>
         <xs:element ref="posts"/>
@@ -2056,7 +2056,7 @@
       <xs:sequence>
         <xs:element ref="id"/>
         <xs:element ref="timestamp"/>
-        <xs:element ref="comment"/>
+        <xs:element ref="comment" type="xs:string"/>
         <xs:element ref="content"/>
         <xs:element ref="visibility"/>
         <xs:element ref="source"/>

http://git-wip-us.apache.org/repos/asf/camel/blob/c6b570e9/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 c08df21..a1c092c 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
@@ -286,7 +286,6 @@
                   <wadl:param href="#start"/>
                   <wadl:param href="#count"/>
                   <wadl:param href="#order"/>
-                  <wadl:param href="#post-role"/>
                   <wadl:param href="#category"/>
                   <wadl:param href="#modified-since"/>
                   <wadl:param href="#fields-selector"/>
@@ -685,6 +684,9 @@
                 <wadl:param href="#company-id"/>
                 <wadl:representation mediaType="application/xml" element="tns:share"/>
               </wadl:request>
+              <wadl:response>
+                <wadl:representation mediaType="application/xml" element="tns:update"/>
+              </wadl:response>
             </wadl:method>
           </wadl:resource>
 


Mime
View raw message