Skip to content

Commit

Permalink
Merge pull request #818 from Ketharan/master
Browse files Browse the repository at this point in the history
Fixes quote escaping issues in the sample siddhi app's curl test.
  • Loading branch information
dilini-muthumala authored Sep 14, 2018
2 parents 79bce02 + 6d0a26e commit 17522f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Testing the Sample:
Option 2:
Publish events with Curl command to the simulator http endpoint:
a) Open a new terminal and issue the following command:
* curl -X POST -d '{"streamName": "SweetProductionStream", "siddhiAppName": "PublishJmsInKeyvalueFormat","data": ['chocolate cake', 50.50]}' http://localhost:9390/simulation/single -H 'content-type: text/plain'
* curl -X POST -d '{"streamName": "SweetProductionStream", "siddhiAppName": "PublishJmsInKeyvalueFormat","data": ["chocolate cake", 50.50]}' http://localhost:9390/simulation/single -H 'content-type: text/plain'
b) If there is no error, the following messages are shown on the terminal:
* {"status":"OK","message":"Single Event simulation started successfully"}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Testing the Sample:
Option 2:
Publish events with Curl command to the simulator http endpoint:
a) Open a new terminal and issue the following command:
* curl -X POST -d '{"streamName": "SweetProductionStream", "siddhiAppName": "PublishJmsInXmlFormat","data": ['chocolate cake', 50.50]}' http://localhost:9390/simulation/single -H 'content-type: text/plain'
* curl -X POST -d '{"streamName": "SweetProductionStream", "siddhiAppName": "PublishJmsInXmlFormat","data": ["chocolate cake", 50.50]}' http://localhost:9390/simulation/single -H 'content-type: text/plain'
b) If there is no error, the following messages are shown on the terminal:
* {"status":"OK","message":"Single Event simulation started successfully"}

Expand Down

0 comments on commit 17522f4

Please sign in to comment.