streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From letourn...@apache.org
Subject svn commit: r1442637 - /incubator/streams/site/trunk/content/streams-usage.mdtext
Date Tue, 05 Feb 2013 15:57:41 GMT
Author: letourneau
Date: Tue Feb  5 15:57:41 2013
New Revision: 1442637

URL: http://svn.apache.org/viewvc?rev=1442637&view=rev
Log:
updating publisher registration json

Modified:
    incubator/streams/site/trunk/content/streams-usage.mdtext

Modified: incubator/streams/site/trunk/content/streams-usage.mdtext
URL: http://svn.apache.org/viewvc/incubator/streams/site/trunk/content/streams-usage.mdtext?rev=1442637&r1=1442636&r2=1442637&view=diff
==============================================================================
--- incubator/streams/site/trunk/content/streams-usage.mdtext (original)
+++ incubator/streams/site/trunk/content/streams-usage.mdtext Tue Feb  5 15:57:41 2013
@@ -42,7 +42,17 @@ You can use any utility capable a sendin
 
 With your HTTP utility of choice set up a publisher by POSTing JSON like the following to
http://localhost:8000/streams/publisher/register
 
-     TODO: paste JSON
+     {
+         "authToken": "token",
+         "@class":"org.apache.streams.osgi.components.activityconsumer.impl.PushActivityConsumer",
   
+         "input_type": "http",
+         "method": "post",
+         "src": "http.example.com:8888",
+         "delivery_frequency": "60",            
+         "auth_type": "none",
+         "username": "username",
+         "password": "password"        
+     }
 
 The service will return a URL that can be POSTed to with ActivityStrea.ms formatted JSON.
 



Mime
View raw message