From ba5486c05c5c0e8377d53bcc5be320f735ead5d5 Mon Sep 17 00:00:00 2001 From: Menaka Jayawardena Date: Wed, 14 Dec 2016 17:40:14 +0530 Subject: [PATCH] Typo fixed in analytics scripts. --- .../iot/android/sense/event/streams/data/NetworkData.java | 2 -- .../Android-Audio-Filter-ExecutionPlan.siddhiql} | 4 ++-- .../artifact.xml | 5 +++-- .../android_battery_script/AndroidBatteryScript.xml | 4 ++-- .../{AndriodCallScript.xml => AndroidCallScript.xml} | 2 +- .../androidsense/android_call_script/artifact.xml | 2 +- .../{AndriodDataScript.xml => AndroidDataScript.xml} | 2 +- .../androidsense/android_data_script/artifact.xml | 2 +- .../android_details_gadget/Android_Details/conf.json | 2 +- .../Android_Details/js/core/gadget-core.js | 4 ++-- .../android_device_details_event_sink/artifact.xml | 2 +- ..._details.xml => org_wso2_iot_android_device_details.xml} | 4 ++-- .../android_device_details_streams/artifact.xml | 2 +- ....json => org.wso2.iot.android.device.details_1.0.0.json} | 6 +++--- .../android_filtered_audio_streams/artifact.xml | 2 +- ....json => org.wso2.iot.android.filtered.audio_1.0.0.json} | 2 +- .../org.wso2.iot.android.filtered.audio.ui.publisher.xml | 2 +- ...ContactsScript.xml => AndroidFrequentContactsScript.xml} | 2 +- .../android_frequentcontacts_script/artifact.xml | 2 +- .../Android_Realtime_Audio/conf.json | 2 +- .../{AndriodScreenScript.xml => AndroidScreenScript.xml} | 2 +- .../androidsense/android_screen_script/artifact.xml | 2 +- .../{AndriodSmsScript.xml => AndroidSmsScript.xml} | 2 +- .../carbonapps/androidsense/android_sms_script/artifact.xml | 2 +- .../main/resources/carbonapps/androidsense/artifacts.xml | 2 +- 25 files changed, 32 insertions(+), 33 deletions(-) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/{android_andriod_audio_filter_executionplan/Andriod-Audio-Filter-ExecutionPlan.siddhiql => android_android_audio_filter_executionplan/Android-Audio-Filter-ExecutionPlan.siddhiql} (85%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/{android_andriod_audio_filter_executionplan => android_android_audio_filter_executionplan}/artifact.xml (78%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_call_script/{AndriodCallScript.xml => AndroidCallScript.xml} (97%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_data_script/{AndriodDataScript.xml => AndroidDataScript.xml} (96%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_device_details_event_sink/{org_wso2_iot_andriod_device_details.xml => org_wso2_iot_android_device_details.xml} (96%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_device_details_streams/{org.wso2.iot.andriod.device.details_1.0.0.json => org.wso2.iot.android.device.details_1.0.0.json} (83%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_filtered_audio_streams/{org.wso2.iot.andriod.filtered.audio_1.0.0.json => org.wso2.iot.android.filtered.audio_1.0.0.json} (90%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_frequentcontacts_script/{AndriodFrequentContactsScript.xml => AndroidFrequentContactsScript.xml} (98%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_screen_script/{AndriodScreenScript.xml => AndroidScreenScript.xml} (96%) rename components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_sms_script/{AndriodSmsScript.xml => AndroidSmsScript.xml} (97%) diff --git a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.agent/app/src/main/java/org/wso2/carbon/iot/android/sense/event/streams/data/NetworkData.java b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.agent/app/src/main/java/org/wso2/carbon/iot/android/sense/event/streams/data/NetworkData.java index c8fcfac4a..52695a5e1 100644 --- a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.agent/app/src/main/java/org/wso2/carbon/iot/android/sense/event/streams/data/NetworkData.java +++ b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.agent/app/src/main/java/org/wso2/carbon/iot/android/sense/event/streams/data/NetworkData.java @@ -18,8 +18,6 @@ package org.wso2.carbon.iot.android.sense.event.streams.data; -import java.util.Date; - public class NetworkData { //Mobile or Wifi diff --git a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_andriod_audio_filter_executionplan/Andriod-Audio-Filter-ExecutionPlan.siddhiql b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_android_audio_filter_executionplan/Android-Audio-Filter-ExecutionPlan.siddhiql similarity index 85% rename from components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_andriod_audio_filter_executionplan/Andriod-Audio-Filter-ExecutionPlan.siddhiql rename to components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_android_audio_filter_executionplan/Android-Audio-Filter-ExecutionPlan.siddhiql index 6527008cd..ff579676b 100644 --- a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_andriod_audio_filter_executionplan/Andriod-Audio-Filter-ExecutionPlan.siddhiql +++ b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_android_audio_filter_executionplan/Android-Audio-Filter-ExecutionPlan.siddhiql @@ -1,5 +1,5 @@ /* Enter a unique ExecutionPlan */ -@Plan:name('Andriod-Audio-Filter-ExecutionPlan') +@Plan:name('Android-Audio-Filter-ExecutionPlan') /* Enter a unique description for ExecutionPlan */ @Plan:description('This converts the true/false params of the orgininal stream into ON/OFF') @@ -9,7 +9,7 @@ @Import('org.wso2.iot.android.audio:1.0.0') define stream AudioStream (meta_owner string, meta_deviceId string, meta_timestamp long, audio_playing bool, headset_on bool, music_volume int); -@Export('org.wso2.iot.andriod.filtered.audio:1.0.0') +@Export('org.wso2.iot.android.filtered.audio:1.0.0') define stream FilteredAudioStream (meta_owner string, meta_deviceId string, meta_timestamp long, audio string, headset string, music_volume int); from AudioStream select meta_owner, meta_deviceId, meta_timestamp, ifThenElse(audio_playing, 'ON', 'OFF') as audio, diff --git a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_andriod_audio_filter_executionplan/artifact.xml b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_android_audio_filter_executionplan/artifact.xml similarity index 78% rename from components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_andriod_audio_filter_executionplan/artifact.xml rename to components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_android_audio_filter_executionplan/artifact.xml index b72e4ae2d..d4567ced5 100644 --- a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_andriod_audio_filter_executionplan/artifact.xml +++ b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_android_audio_filter_executionplan/artifact.xml @@ -17,7 +17,8 @@ ~ under the License. --> - - Andriod-Audio-Filter-ExecutionPlan.siddhiql + + Android-Audio-Filter-ExecutionPlan.siddhiql diff --git a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_battery_script/AndroidBatteryScript.xml b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_battery_script/AndroidBatteryScript.xml index 8eadaa5fc..73b354fd6 100644 --- a/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_battery_script/AndroidBatteryScript.xml +++ b/components/device-types/androidsense-plugin/org.wso2.carbon.device.mgt.iot.androidsense.analytics/src/main/resources/carbonapps/androidsense/android_battery_script/AndroidBatteryScript.xml @@ -1,7 +1,7 @@ true - AndriodCallScript + AndroidBatteryScript