Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

Commit

Permalink
Committing the fixes for the samples
Browse files Browse the repository at this point in the history
  • Loading branch information
mohanvive committed May 22, 2015
1 parent 43008d6 commit 2d61d3a
Show file tree
Hide file tree
Showing 10 changed files with 72 additions and 55 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<eventPublisher name="wso2eventLogger" statistics="disable"
trace="disable" xmlns="http://wso2.org/carbon/eventpublisher">
<from streamName="org.wso2.event.sensor.stream" version="1.0.0"/>
<mapping customMapping="disable" type="text"/>
<to eventAdapterType="logger">
<property name="uniqueId">org.wso2.event.statistics</property>
</to>
</eventPublisher>

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<eventReceiver name="wso2eventReceiver" statistics="disable"
trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
<from eventAdapterType="wso2event"/>
<mapping customMapping="disable" type="wso2event"/>
<to streamName="org.wso2.event.sensor.stream" version="1.0.0"/>
</eventReceiver>
Original file line number Diff line number Diff line change
@@ -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"
}
]
}
Original file line number Diff line number Diff line change
@@ -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

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<eventReceiver name="httpReceiver" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
<from eventAdapterType="http"/>
<from eventAdapterType="http">
<property name="transports">http</property>
</from>
<mapping customMapping="disable" type="xml"/>
<to streamName="org.wso2.sample.stock.trades" version="1.0.0"/>
</eventReceiver>
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<eventReceiver name="packageDeliveryHTTPReceiver" statistics="disable"
trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
<from eventAdapterType="http"/>
<from eventAdapterType="http">
<property name="transports">http</property>
</from>
<mapping customMapping="disable" type="text"/>
<to streamName="org.wso2.sample.package.deliveries" version="1.0.0"/>
</eventReceiver>
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<eventReceiver name="packageArrivalsHTTPReceiver" statistics="disable"
trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
<from eventAdapterType="http"/>
<from eventAdapterType="http">
<property name="transports">http</property>
</from>
<mapping customMapping="disable" type="text"/>
<to streamName="org.wso2.sample.package.arrivals" version="1.0.0"/>
</eventReceiver>

0 comments on commit 2d61d3a

Please sign in to comment.