camel-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jans...@apache.org
Subject [2/3] camel git commit: CAMEL-8214 - support partial responses in google API components
Date Wed, 07 Jan 2015 18:49:28 GMT
CAMEL-8214 - support partial responses in google API components


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

Branch: refs/heads/master
Commit: ecd9977c443374990fbad6c327daa188c13565ea
Parents: e2a945d
Author: Jonathan Anstey <janstey@gmail.com>
Authored: Wed Jan 7 10:18:48 2015 -0330
Committer: Jonathan Anstey <janstey@gmail.com>
Committed: Wed Jan 7 15:16:58 2015 -0330

----------------------------------------------------------------------
 .../camel/component/google/calendar/GoogleCalendarConsumer.java     | 1 +
 .../camel/component/google/calendar/GoogleCalendarProducer.java     | 1 +
 .../org/apache/camel/component/google/mail/GoogleMailConsumer.java  | 1 +
 .../org/apache/camel/component/google/mail/GoogleMailProducer.java  | 1 +
 4 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/ecd9977c/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConsumer.java
b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConsumer.java
index 091f546..bfe455d 100644
--- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConsumer.java
+++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarConsumer.java
@@ -42,6 +42,7 @@ public class GoogleCalendarConsumer extends AbstractApiConsumer<GoogleCalendarAp
             setProperty(properties, request, "q");
             setProperty(properties, request, "maxResults");
             setProperty(properties, request, "pageToken");
+            setProperty(properties, request, "fields");
             return request.execute();
         } catch (Exception e) {
             throw new RuntimeCamelException(e);

http://git-wip-us.apache.org/repos/asf/camel/blob/ecd9977c/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarProducer.java
b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarProducer.java
index a2e72a1..92f8e5b 100644
--- a/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarProducer.java
+++ b/components/camel-google-calendar/src/main/java/org/apache/camel/component/google/calendar/GoogleCalendarProducer.java
@@ -43,6 +43,7 @@ public class GoogleCalendarProducer extends AbstractApiProducer<GoogleCalendarAp
             setProperty(properties, request, "q");
             setProperty(properties, request, "maxResults");
             setProperty(properties, request, "pageToken");
+            setProperty(properties, request, "fields");
             return request.execute();
         } catch (Exception e) {
             throw new RuntimeCamelException(e);

http://git-wip-us.apache.org/repos/asf/camel/blob/ecd9977c/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConsumer.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConsumer.java
b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConsumer.java
index 38184c4..704063d 100644
--- a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConsumer.java
+++ b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailConsumer.java
@@ -43,6 +43,7 @@ public class GoogleMailConsumer extends AbstractApiConsumer<GoogleMailApiName,
G
             setProperty(properties, request, "maxResults");
             setProperty(properties, request, "pageToken");
             setProperty(properties, request, "format");
+            setProperty(properties, request, "fields");
             return request.execute();
         } catch (Exception e) {
             throw new RuntimeCamelException(e);

http://git-wip-us.apache.org/repos/asf/camel/blob/ecd9977c/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailProducer.java
----------------------------------------------------------------------
diff --git a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailProducer.java
b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailProducer.java
index 8b78384..868d881 100644
--- a/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailProducer.java
+++ b/components/camel-google-mail/src/main/java/org/apache/camel/component/google/mail/GoogleMailProducer.java
@@ -44,6 +44,7 @@ public class GoogleMailProducer extends AbstractApiProducer<GoogleMailApiName,
G
             setProperty(properties, request, "maxResults");
             setProperty(properties, request, "pageToken");
             setProperty(properties, request, "format");
+            setProperty(properties, request, "fields");
             return request.execute();
         } catch (Exception e) {
             throw new RuntimeCamelException(e);


Mime
View raw message