You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@streams.apache.org by le...@apache.org on 2013/02/05 16:57:41 UTC
svn commit: r1442637 -
/incubator/streams/site/trunk/content/streams-usage.mdtext
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.