This documentation is for WSO2 Stream Processor 4.3.0. View documentation for the latest release.

All docs This doc

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following is a sample curl command to issue when the Siddhi application is deployed and run in the Worker profile. For more information, see Stream see WSO2 Stream Processor Profiles.

Code Block
curl -X POST https://localhost:7443/stores/query -H "content-type: application/json" -u "admin:admin" -d '{"appName" : "RoomService", "query" : "select 10 as roomNumber, 1 as arrival update RoomTypeTable  set RoomTypeTable.people = RoomTypeTable.people + arrival on RoomTypeTable.roomNo == roomNumber;" }' -k

...

The following is a sample curl command to issue when the Siddhi application is deployed and run in the Editor profile. For more information, see Stream WSO2 Stream Processor Profiles.

Code Block
curl -X POST http://localhost:7370/stores/query -H "content-type: application/json" -d '{"appName" : "RoomService", "query" : "select 10 as roomNumber, 1 as arrival update RoomTypeTable  set RoomTypeTable.people = RoomTypeTable.people + arrival on RoomTypeTable.roomNo == roomNumber;" }'

...