You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+11-7Lines changed: 11 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -19,16 +19,20 @@ For information on <a target="_blank" href="https://siddhi.io/">Siddhi</a> and i
19
19
20
20
## Latest API Docs
21
21
22
-
Latest API Docs is <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8">2.0.8</a>.
22
+
Latest API Docs is <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0">2.1.0</a>.
23
23
24
24
## Features
25
25
26
-
* <a target="_blank" href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8/#http-sink">http</a> *<a target="_blank" href="https://siddhi.io/en/v5.0/docs/query-guide/#sink">(Sink)</a>*<br><div style="padding-left: 1em;"><p>This extension publish the HTTP events in any HTTP method POST, GET, PUT, DELETE via HTTP or https protocols. As the additional features this component can provide basic authentication as well as user can publish events using custom client truststore files when publishing events via https protocol. And also user can add any number of headers including HTTP_METHOD header for each event dynamically.<br>Following content types will be set by default according to the type of sink mapper used.<br>You can override them by setting the new content types in headers.<br> - TEXT : text/plain<br> - XML : application/xml<br> - JSON : application/json<br> - KEYVALUE : application/x-www-form-urlencoded</p></div>
27
-
* <a target="_blank" href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8/#http-request-sink">http-request</a> *<a target="_blank" href="https://siddhi.io/en/v5.0/docs/query-guide/#sink">(Sink)</a>*<br><div style="padding-left: 1em;"><p>This extension publish the HTTP events in any HTTP method POST, GET, PUT, DELETE via HTTP or https protocols. As the additional features this component can provide basic authentication as well as user can publish events using custom client truststore files when publishing events via https protocol. And also user can add any number of headers including HTTP_METHOD header for each event dynamically.<br>Following content types will be set by default according to the type of sink mapper used.<br>You can override them by setting the new content types in headers.<br> - TEXT : text/plain<br> - XML : application/xml<br> - JSON : application/json<br> - KEYVALUE : application/x-www-form-urlencoded<br><br>HTTP request sink is correlated with the The HTTP reponse source, through a unique <code>sink.id</code>.It sends the request to the defined url and the response is received by the response source which has the same 'sink.id'.</p></div>
28
-
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8/#http-response-sink">http-response</a> *<atarget="_blank"href="https://siddhi.io/en/v5.0/docs/query-guide/#sink">(Sink)</a>*<br><divstyle="padding-left: 1em;"><p>HTTP response sink is correlated with the The HTTP request source, through a unique <code>source.id</code>, and it send a response to the HTTP request source having the same <code>source.id</code>. The response message can be formatted in <code>text</code>, <code>XML</code> or <code>JSON</code> and can be sent with appropriate headers.</p></div>
29
-
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8/#http-source">http</a> *<atarget="_blank"href="https://siddhi.io/en/v5.0/docs/query-guide/#source">(Source)</a>*<br><divstyle="padding-left: 1em;"><p>The HTTP source receives POST requests via HTTP or HTTPS in format such as <code>text</code>, <code>XML</code> and <code>JSON</code>. In WSO2 SP, if required, you can enable basic authentication to ensure that events are received only from users who are authorized to access the service.</p></div>
30
-
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8/#http-request-source">http-request</a> *<atarget="_blank"href="https://siddhi.io/en/v5.0/docs/query-guide/#source">(Source)</a>*<br><divstyle="padding-left: 1em;"><p>The HTTP request is correlated with the HTTP response sink, through a unique <code>source.id</code>, and for each POST requests it receives via HTTP or HTTPS in format such as <code>text</code>, <code>XML</code> and <code>JSON</code> it sends the response via the HTTP response sink. The individual request and response messages are correlated at the sink using the <code>message.id</code> of the events. If required, you can enable basic authentication at the source to ensure that events are received only from users who are authorized to access the service.</p></div>
31
-
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.0.8/#http-response-source">http-response</a> *<atarget="_blank"href="https://siddhi.io/en/v5.0/docs/query-guide/#source">(Source)</a>*<br><divstyle="padding-left: 1em;"><p>The http-response source co-relates with http-request sink with the parameter 'sink.id'.<br>This receives responses for the requests sent by the http-request sink which has the same sink id.<br>Response messages can be in formats such as TEXT, JSON and XML.<br>In order to handle the responses with different http status codes, user is allowed to defined the acceptable response source code using the parameter 'http.status.code'<br></p></div>
26
+
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-sink">http</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#sink">Sink</a>)*<br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">HTTP sink publishes messages via HTTP or HTTPS protocols using methods such as POST, GET, PUT, and DELETE on formats <code>text</code>, <code>XML</code> and <code>JSON</code>. It can also publish to endpoints protected by basic authentication or OAuth 2.0.</p></p></div>
27
+
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-call-sink">http-call</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#sink">Sink</a>)*<br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">The http-call sink publishes messages to endpoints via HTTP or HTTPS protocols using methods such as POST, GET, PUT, and DELETE on formats <code>text</code>, <code>XML</code> or <code>JSON</code> and consume responses through its corresponding http-call-response source. It also supports calling endpoints protected with basic authentication or OAuth 2.0.</p></p></div>
28
+
* <s><atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-request-sink">http-request</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#sink">Sink</a>)*</s><br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">_(Use http-call sink instead)._<br>The http-request sink publishes messages to endpoints via HTTP or HTTPS protocols using methods such as POST, GET, PUT, and DELETE on formats <code>text</code>, <code>XML</code> or <code>JSON</code> and consume responses through its corresponding http-response source. It also supports calling endpoints protected with basic authentication or OAuth 2.0.</p></p></div>
29
+
* <s><atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-response-sink">http-response</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#sink">Sink</a>)*</s><br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">_(Use http-service-response sink instead)._<br>The http-response sink send responses of the requests consumed by its corresponding http-request source, by mapping the response messages to formats such as <code>text</code>, <code>XML</code> and <code>JSON</code>.</p></p></div>
30
+
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-service-response-sink">http-service-response</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#sink">Sink</a>)*<br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">The http-service-response sink send responses of the requests consumed by its corresponding http-service source, by mapping the response messages to formats such as <code>text</code>, <code>XML</code> and <code>JSON</code>.</p></p></div>
31
+
* <atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-source">http</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#source">Source</a>)*<br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">HTTP source receives POST requests via HTTP and HTTPS protocols in format such as <code>text</code>, <code>XML</code> and <code>JSON</code>. It also supports basic authentication to ensure events are received from authorized users/systems.<br>The request headers and properties are exposed via transport properties and they can be retrieved in the mapper in the format <code>trp:<header></code>.</p></p></div>
32
+
* <a target="_blank" href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-call-response-source">http-call-response</a> *(<a target="_blank" href="http://siddhi.io/en/v5.1/docs/query-guide/#source">Source</a>)*<br> <div style="padding-left: 1em;"><p><p style="word-wrap: break-word;margin: 0;">The http-call-response source receives the responses for the calls made by its corresponding http-call sink, and maps them from formats such as <code>text</code>, <code>XML</code> and <code>JSON</code>.<br>To handle messages with different http status codes having different formats, multiple http-call-response sources are allowed to associate with a single http-call sink. It also allows accessing the attributes of the event that initiated the call via transport properties and map them with the format <code>trp:<attribute name></code>'.The response headers and properties are exposed via transport properties and they can be retrieved in the mapper in the format <code>trp:<header></code>.</p></p></div>
33
+
* <s><atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-request-source">http-request</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#source">Source</a>)*</s><br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">_(Use http-service source instead)._<br>The http-request source receives POST requests via HTTP and HTTPS protocols in format such as <code>text</code>, <code>XML</code> and <code>JSON</code> and sends responses via its corresponding http-response sink correlated through a unique <code>source.id</code>.<br>For request and response correlation, it generates a <code>messageId</code> upon each incoming request and expose it via transport properties in the format <code>trp:messageId</code> to correlate them with the responses at the http-response sink.<br>It also supports basic authentication to ensure events are received from authorized users/systems.</p></p></div>
34
+
* <s><atarget="_blank"href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-response-source">http-response</a> *(<atarget="_blank"href="http://siddhi.io/en/v5.1/docs/query-guide/#source">Source</a>)*</s><br> <divstyle="padding-left: 1em;"><p><pstyle="word-wrap: break-word;margin: 0;">_(Use http-call-response source instead)._<br>The http-response source receives the responses for the calls made by its corresponding http-request sink, and maps them from formats such as <code>text</code>, <code>XML</code> and <code>JSON</code>.<br>To handle messages with different http status codes having different formats, multiple http-response sources are allowed to associate with a single http-request sink. It also allows accessing the attributes of the event that initiated the call via transport properties and map them with the format <code>trp:<attribute name></code>'.</p></p></div>
35
+
* <a target="_blank" href="https://siddhi-io.github.io/siddhi-io-http/api/2.1.0/#http-service-source">http-service</a> *(<a target="_blank" href="http://siddhi.io/en/v5.1/docs/query-guide/#source">Source</a>)*<br> <div style="padding-left: 1em;"><p><p style="word-wrap: break-word;margin: 0;">The http-service source receives POST requests via HTTP and HTTPS protocols in format such as <code>text</code>, <code>XML</code> and <code>JSON</code> and sends responses via its corresponding http-service-response sink correlated through a unique <code>source.id</code>.<br>For request and response correlation, it generates a <code>messageId</code> upon each incoming request and expose it via transport properties in the format <code>trp:messageId</code> to correlate them with the responses at the http-service-response sink.<br>It also supports basic authentication to ensure events are received from authorized users/systems.<br>The request headers and properties are exposed via transport properties and they can be retrieved in the mapper in the format <code>trp:<header></code>.</p></p></div>
0 commit comments