This repository has been archived by the owner on Oct 5, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 93
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Committing the fixes for the samples
- Loading branch information
Showing
10 changed files
with
72 additions
and
55 deletions.
There are no files selected for viewing
25 changes: 0 additions & 25 deletions
25
modules/samples/artifacts/0007/eventpublishers/LoggerEventPublisher.xml
This file was deleted.
Oops, something went wrong.
9 changes: 9 additions & 0 deletions
9
modules/samples/artifacts/0007/eventpublishers/wso2eventLogger.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
23 changes: 0 additions & 23 deletions
23
modules/samples/artifacts/0007/eventreceivers/WSO2EventReceiver.xml
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
modules/samples/artifacts/0007/eventreceivers/wso2eventReceiver.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
44 changes: 44 additions & 0 deletions
44
modules/samples/artifacts/0007/eventstreams/org.wso2.event.sensor.stream_1.0.0.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} |
3 changes: 3 additions & 0 deletions
3
modules/samples/artifacts/0007/org_wso2_event_sensor_stream_1_0_0.csv
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
4 changes: 0 additions & 4 deletions
4
modules/samples/artifacts/0007/org_wso2_sample_service_data_1_0_0.csv
This file was deleted.
Oops, something went wrong.
4 changes: 3 additions & 1 deletion
4
modules/samples/artifacts/0102/eventreceivers/httpReceiver.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
4 changes: 3 additions & 1 deletion
4
modules/samples/artifacts/0105/eventreceivers/pizzaDeliveryHTTPReceiver.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
4 changes: 3 additions & 1 deletion
4
modules/samples/artifacts/0105/eventreceivers/pizzaOrdersHTTPReceiver.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |