You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by sb...@apache.org on 2015/02/12 17:18:18 UTC

[09/11] incubator-streams git commit: javadoc

javadoc


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

Branch: refs/heads/master
Commit: ab4c2e9bd9240690ae9be030c1a7710aba4a33d2
Parents: b5f7bcb
Author: sblackmon <sb...@apache.org>
Authored: Fri Nov 21 13:30:44 2014 -0600
Committer: sblackmon <sb...@w2odigital.com>
Committed: Fri Feb 6 18:08:15 2015 -0600

----------------------------------------------------------------------
 .../streams/datasift/provider/DatasiftPushProvider.java      | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/ab4c2e9b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/DatasiftPushProvider.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/DatasiftPushProvider.java b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/DatasiftPushProvider.java
index 7dab357..db4a5a7 100644
--- a/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/DatasiftPushProvider.java
+++ b/streams-contrib/streams-provider-datasift/src/main/java/org/apache/streams/datasift/provider/DatasiftPushProvider.java
@@ -59,9 +59,11 @@ import java.util.concurrent.locks.ReentrantReadWriteLock;
 import java.util.regex.Pattern;
 
 /**
- * Requires Java Version 1.7!
- * {@code DatasiftStreamProvider} is an implementation of the {@link org.apache.streams.core.StreamsProvider} interface.  The provider
- * uses the Datasift java api to make connections. A single provider creates one connection per StreamHash in the configuration.
+ * {@code DatasiftPushProvider} is an implementation of the {@link org.apache.streams.core.StreamsProvider} interface, with
+ * annotations that allow it to bind as jersey resources within streams-runtime-dropwizard.
+ *
+ * Whereas GenericWebhookResource outputs ObjectNode datums, DatasiftPushProvider outputs Datasift datums, with
+ * metadata when the json_meta endpoint is used.
  */
 @Resource
 @Path("/streams/webhooks/datasift")