Renamed gyroscope, magnetic, pressure and proximity streams

revert-dabc3590
lasantha 8 years ago
parent e4c8e37c7a
commit 977c6d12c2

@ -2,10 +2,10 @@
@Plan:description('Process gyroscope changes.')
@Import('org.wso2.iot.android.gyroscope:1.0.0')
@Import('iot.per.device.stream.android.gyroscope:1.0.0')
define stream GyroscopeStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
@Export('org.wso2.iot.android.gyroscope.stats:1.0.0')
@Export('iot.per.device.stream.android.gyroscope.stats:1.0.0')
define stream GyroscopeStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value
float, year int, month int, day int, hour int, minute int);

@ -19,6 +19,6 @@
<artifact name= "android_gyroscope_stats_event_sink" version="1.0.0" type="analytics/eventstore"
serverRole="DataAnalyticsServer">
<file>org_wso2_iot_android_gyroscope_stats.xml</file>
<file>iot_per_device_stream_android_gyroscope_stats.xml</file>
</artifact>

@ -18,6 +18,6 @@
-->
<artifact name= "android_gyroscope_stats_streams" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.gyroscope.stats_1.0.0.json</file>
<file>iot.per.device.stream.android.gyroscope.stats_1.0.0.json</file>
</artifact>

@ -18,6 +18,6 @@
-->
<artifact name= "android_gyroscope_streams" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.gyroscope_1.0.0.json</file>
<file>iot.per.device.stream.android.gyroscope_1.0.0.json</file>
</artifact>

@ -2,10 +2,10 @@
@Plan:description('Process magnetic field changes.')
@Import('org.wso2.iot.android.magnetic:1.0.0')
@Import('iot.per.device.stream.android.magnetic:1.0.0')
define stream MagneticStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float);
@Export('org.wso2.iot.android.magnetic.stats:1.0.0')
@Export('iot.per.device.stream.android.magnetic.stats:1.0.0')
define stream MagneticStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, axis string, value float, year int, month int, day int, hour int, minute int);
partition with (meta_deviceId of MagneticStream)

@ -18,6 +18,6 @@
-->
<artifact name= "android_magnetic_stats_event_sink" version="1.0.0" type="analytics/eventstore" serverRole="DataAnalyticsServer">
<file>org_wso2_iot_android_magnetic_stats.xml</file>
<file>iot_per_device_stream_android_magnetic_stats.xml</file>
</artifact>

@ -19,6 +19,6 @@
<artifact name= "android_magnetic_stats_streams" version="1.0.0" type="event/stream"
serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.magnetic.stats_1.0.0.json</file>
<file>iot.per.device.stream.android.magnetic.stats_1.0.0.json</file>
</artifact>

@ -18,6 +18,6 @@
-->
<artifact name= "android_magnetic_streams" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.magnetic_1.0.0.json</file>
<file>iot.per.device.stream.android.magnetic_1.0.0.json</file>
</artifact>

@ -2,10 +2,10 @@
@Plan:description('Process pressure changes.')
@Import('org.wso2.iot.android.pressure:1.0.0')
@Import('iot.per.device.stream.android.pressure:1.0.0')
define stream PressureStream (meta_owner string, meta_deviceId string, meta_timestamp long, pressure float);
@Export('org.wso2.iot.android.pressure.stats:1.0.0')
@Export('iot.per.device.stream.android.pressure.stats:1.0.0')
define stream PressureStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, pressure float, year int,
month int, day int, hour int, minute int);

@ -19,6 +19,6 @@
<artifact name= "android_pressure_stats_event_sink" version="1.0.0" type="analytics/eventstore"
serverRole="DataAnalyticsServer">
<file>org_wso2_iot_android_pressure_stats.xml</file>
<file>iot_per_device_stream_android_pressure_stats.xml</file>
</artifact>

@ -19,6 +19,6 @@
<artifact name= "android_pressure_stats_streams" version="1.0.0" type="event/stream"
serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.pressure.stats_1.0.0.json</file>
<file>iot.per.device.stream.android.pressure.stats_1.0.0.json</file>
</artifact>

@ -18,6 +18,6 @@
-->
<artifact name= "android_pressure_streams" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.pressure_1.0.0.json</file>
<file>iot.per.device.stream.android.pressure_1.0.0.json</file>
</artifact>

@ -2,10 +2,10 @@
@Plan:description('Process proximity changes.')
@Import('org.wso2.iot.android.proximity:1.0.0')
@Import('iot.per.device.stream.android.proximity:1.0.0')
define stream ProximityStream (meta_owner string, meta_deviceId string, meta_timestamp long, proximity float);
@Export('org.wso2.iot.android.proximity.stats:1.0.0')
@Export('iot.per.device.stream.android.proximity.stats:1.0.0')
define stream ProximityStatsStream (meta_owner string, meta_deviceId string, meta_timestamp long, proximity float, year int,
month int, day int, hour int, minute int);

@ -19,6 +19,6 @@
<artifact name= "android_proximity_stats_event_sink" version="1.0.0" type="analytics/eventstore"
serverRole="DataAnalyticsServer">
<file>org_wso2_iot_android_proximity_stats.xml</file>
<file>iot_per_device_stream_android_proximity_stats.xml</file>
</artifact>

@ -19,6 +19,6 @@
<artifact name= "android_proximity_stats_streams" version="1.0.0" type="event/stream"
serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.proximity.stats_1.0.0.json</file>
<file>iot.per.device.stream.android.proximity.stats_1.0.0.json</file>
</artifact>

@ -18,6 +18,6 @@
-->
<artifact name= "android_proximity_streams" version="1.0.0" type="event/stream" serverRole="DataAnalyticsServer">
<file>org.wso2.iot.android.proximity_1.0.0.json</file>
<file>iot.per.device.stream.android.proximity_1.0.0.json</file>
</artifact>

Loading…
Cancel
Save