From 6d0a26e09744f17706c6b228794d7246edf76754 Mon Sep 17 00:00:00 2001 From: "sketharan1996.15@cse.mrt.ac.lk" Date: Fri, 14 Sep 2018 12:22:59 +0530 Subject: [PATCH] Fixes quote escaping issues in the sample siddhi app's test curl command. --- .../PublishJmsInKeyvalueFormat.siddhi | 2 +- .../PublishJmsInXmlFormat/PublishJmsInXmlFormat.siddhi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/samples/artifacts/PublishJmsInKeyvalueFormat/PublishJmsInKeyvalueFormat.siddhi b/modules/samples/artifacts/PublishJmsInKeyvalueFormat/PublishJmsInKeyvalueFormat.siddhi index 830fb931d..e43c0f299 100644 --- a/modules/samples/artifacts/PublishJmsInKeyvalueFormat/PublishJmsInKeyvalueFormat.siddhi +++ b/modules/samples/artifacts/PublishJmsInKeyvalueFormat/PublishJmsInKeyvalueFormat.siddhi @@ -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"} diff --git a/modules/samples/artifacts/PublishJmsInXmlFormat/PublishJmsInXmlFormat.siddhi b/modules/samples/artifacts/PublishJmsInXmlFormat/PublishJmsInXmlFormat.siddhi index 55a1320ad..e92990886 100644 --- a/modules/samples/artifacts/PublishJmsInXmlFormat/PublishJmsInXmlFormat.siddhi +++ b/modules/samples/artifacts/PublishJmsInXmlFormat/PublishJmsInXmlFormat.siddhi @@ -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"}