From 2d61d3a324ff06a89b32523f9edfbe0ae7d0cb15 Mon Sep 17 00:00:00 2001 From: mohanvive Date: Fri, 22 May 2015 15:49:24 +0530 Subject: [PATCH] Committing the fixes for the samples --- .../eventpublishers/LoggerEventPublisher.xml | 25 ----------- .../0007/eventpublishers/wso2eventLogger.xml | 9 ++++ .../0007/eventreceivers/WSO2EventReceiver.xml | 23 ---------- .../0007/eventreceivers/wso2eventReceiver.xml | 7 +++ .../org.wso2.event.sensor.stream_1.0.0.json | 44 +++++++++++++++++++ .../org_wso2_event_sensor_stream_1_0_0.csv | 3 ++ .../org_wso2_sample_service_data_1_0_0.csv | 4 -- .../0102/eventreceivers/httpReceiver.xml | 4 +- .../pizzaDeliveryHTTPReceiver.xml | 4 +- .../pizzaOrdersHTTPReceiver.xml | 4 +- 10 files changed, 72 insertions(+), 55 deletions(-) delete mode 100644 modules/samples/artifacts/0007/eventpublishers/LoggerEventPublisher.xml create mode 100644 modules/samples/artifacts/0007/eventpublishers/wso2eventLogger.xml delete mode 100644 modules/samples/artifacts/0007/eventreceivers/WSO2EventReceiver.xml create mode 100644 modules/samples/artifacts/0007/eventreceivers/wso2eventReceiver.xml create mode 100644 modules/samples/artifacts/0007/eventstreams/org.wso2.event.sensor.stream_1.0.0.json create mode 100644 modules/samples/artifacts/0007/org_wso2_event_sensor_stream_1_0_0.csv delete mode 100644 modules/samples/artifacts/0007/org_wso2_sample_service_data_1_0_0.csv diff --git a/modules/samples/artifacts/0007/eventpublishers/LoggerEventPublisher.xml b/modules/samples/artifacts/0007/eventpublishers/LoggerEventPublisher.xml deleted file mode 100644 index 38a76e27..00000000 --- a/modules/samples/artifacts/0007/eventpublishers/LoggerEventPublisher.xml +++ /dev/null @@ -1,25 +0,0 @@ - - - - - - - - Sample Service Data - - diff --git a/modules/samples/artifacts/0007/eventpublishers/wso2eventLogger.xml b/modules/samples/artifacts/0007/eventpublishers/wso2eventLogger.xml new file mode 100644 index 00000000..dd2ebd8e --- /dev/null +++ b/modules/samples/artifacts/0007/eventpublishers/wso2eventLogger.xml @@ -0,0 +1,9 @@ + + + + + + org.wso2.event.statistics + + diff --git a/modules/samples/artifacts/0007/eventreceivers/WSO2EventReceiver.xml b/modules/samples/artifacts/0007/eventreceivers/WSO2EventReceiver.xml deleted file mode 100644 index 610d4a94..00000000 --- a/modules/samples/artifacts/0007/eventreceivers/WSO2EventReceiver.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - diff --git a/modules/samples/artifacts/0007/eventreceivers/wso2eventReceiver.xml b/modules/samples/artifacts/0007/eventreceivers/wso2eventReceiver.xml new file mode 100644 index 00000000..62ac5bd1 --- /dev/null +++ b/modules/samples/artifacts/0007/eventreceivers/wso2eventReceiver.xml @@ -0,0 +1,7 @@ + + + + + + diff --git a/modules/samples/artifacts/0007/eventstreams/org.wso2.event.sensor.stream_1.0.0.json b/modules/samples/artifacts/0007/eventstreams/org.wso2.event.sensor.stream_1.0.0.json new file mode 100644 index 00000000..7f2096b8 --- /dev/null +++ b/modules/samples/artifacts/0007/eventstreams/org.wso2.event.sensor.stream_1.0.0.json @@ -0,0 +1,44 @@ +{ + "name": "org.wso2.event.sensor.stream", + "version": "1.0.0", + "nickName": "", + "description": "", + "metaData": [ + { + "name": "timestamp", + "type": "LONG" + }, + { + "name": "isPowerSaverEnabled", + "type": "BOOL" + }, + { + "name": "sensorId", + "type": "INT" + }, + { + "name": "sensorName", + "type": "STRING" + } + ], + "correlationData": [ + { + "name": "longitude", + "type": "DOUBLE" + }, + { + "name": "latitude", + "type": "DOUBLE" + } + ], + "payloadData": [ + { + "name": "humidity", + "type": "FLOAT" + }, + { + "name": "sensorValue", + "type": "DOUBLE" + } + ] +} \ No newline at end of file diff --git a/modules/samples/artifacts/0007/org_wso2_event_sensor_stream_1_0_0.csv b/modules/samples/artifacts/0007/org_wso2_event_sensor_stream_1_0_0.csv new file mode 100644 index 00000000..1f80cafc --- /dev/null +++ b/modules/samples/artifacts/0007/org_wso2_event_sensor_stream_1_0_0.csv @@ -0,0 +1,3 @@ +19900813115534,false,501,temperature,90.34344,20.44345,2.3,20.44345 +19900813115534,false,502,temperature,90.34344,20.44345,2.3,20.44345 +19900813115534,false,503,temperature,90.34344,20.44345,2.3,20.44345 \ No newline at end of file diff --git a/modules/samples/artifacts/0007/org_wso2_sample_service_data_1_0_0.csv b/modules/samples/artifacts/0007/org_wso2_sample_service_data_1_0_0.csv deleted file mode 100644 index 0b0adfcf..00000000 --- a/modules/samples/artifacts/0007/org_wso2_sample_service_data_1_0_0.csv +++ /dev/null @@ -1,4 +0,0 @@ -nasdaq.com,192.100.100.100,application/xml,sample-agent,nasdaq.com,google,123,StockQuoteService,getPrice,1429884020,20,1,1,0 -nasdaq.com,123.101.102.100,application/xml,sample-agent,nasdaq.com,google,124,StockQuoteService,getPrice,1429884234,21,1,1,0 -nasdaq.com,99.101.124.2,application/xml,sample-agent,nasdaq.com,google,125,StockQuoteService,getPrice,1429884236,12,1,1,0 -nasdaq.com,123.101.102.100,application/xml,sample-agent,nasdaq.com,google,126,StockQuoteService,getPrice,1429884666,23,1,1,0 \ No newline at end of file diff --git a/modules/samples/artifacts/0102/eventreceivers/httpReceiver.xml b/modules/samples/artifacts/0102/eventreceivers/httpReceiver.xml index 930bc5de..a7b3ead6 100644 --- a/modules/samples/artifacts/0102/eventreceivers/httpReceiver.xml +++ b/modules/samples/artifacts/0102/eventreceivers/httpReceiver.xml @@ -1,6 +1,8 @@ - + + http + diff --git a/modules/samples/artifacts/0105/eventreceivers/pizzaDeliveryHTTPReceiver.xml b/modules/samples/artifacts/0105/eventreceivers/pizzaDeliveryHTTPReceiver.xml index c2744719..45af056f 100644 --- a/modules/samples/artifacts/0105/eventreceivers/pizzaDeliveryHTTPReceiver.xml +++ b/modules/samples/artifacts/0105/eventreceivers/pizzaDeliveryHTTPReceiver.xml @@ -1,7 +1,9 @@ - + + http + diff --git a/modules/samples/artifacts/0105/eventreceivers/pizzaOrdersHTTPReceiver.xml b/modules/samples/artifacts/0105/eventreceivers/pizzaOrdersHTTPReceiver.xml index 1023449b..ed2ee439 100644 --- a/modules/samples/artifacts/0105/eventreceivers/pizzaOrdersHTTPReceiver.xml +++ b/modules/samples/artifacts/0105/eventreceivers/pizzaOrdersHTTPReceiver.xml @@ -1,7 +1,9 @@ - + + http +