From ec06c1427d7e1bc81f8799deaf9ba336099aa37d Mon Sep 17 00:00:00 2001 From: Shabirmean Date: Mon, 14 Dec 2015 12:15:02 +0530 Subject: [PATCH 1/2] Updating .gitignore file --- .../main/resources/carbonapps/Accelerometer.car | Bin 4184 -> 0 bytes .../src/main/resources/carbonapps/Battery.car | Bin 3997 -> 0 bytes .../src/main/resources/carbonapps/GPS.car | Bin 3905 -> 0 bytes .../src/main/resources/carbonapps/Gravity.car | Bin 4014 -> 0 bytes .../src/main/resources/carbonapps/Gyroscope.car | Bin 4074 -> 0 bytes .../src/main/resources/carbonapps/Light.car | Bin 3942 -> 0 bytes .../src/main/resources/carbonapps/Magnetic.car | Bin 4027 -> 0 bytes .../src/main/resources/carbonapps/Pressure.car | Bin 4034 -> 0 bytes .../src/main/resources/carbonapps/Proximity.car | Bin 4081 -> 0 bytes .../src/main/resources/carbonapps/Rotation.car | Bin 4027 -> 0 bytes .../resources/carbonapps/Temperature_Sensor.car | Bin 4138 -> 0 bytes 11 files changed, 0 insertions(+), 0 deletions(-) delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Accelerometer.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Battery.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/GPS.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Gravity.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Gyroscope.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Light.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Magnetic.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Pressure.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Proximity.car delete mode 100644 features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Rotation.car delete mode 100644 features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/carbonapps/Temperature_Sensor.car diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Accelerometer.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Accelerometer.car deleted file mode 100644 index 8de93cc85b6375c4d217d8f2c81f45ea6fc8b58c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4184 zcmb7H2{@G78=uLNG}g*4E{V`IcGvW=aRb&RF5jj=BgWuGf?Erqg_Eyk9zWt5RD zk!WmDw#r&$3Ax|Y-`_P4>7M5~^PTT`=KY=T_rAaLzVFe~A|s~;fv7;BengB0=wE{e zSgUysS z|D*LGz}nEw26f2;fpT&~dysr9)eo*3QzK7TfIn7&K_KPL?S9Gihc^s%^aj+&`Lcz+ zESyXP@^)1ybLv=qSjV6-1d9uP5i{`2nRhJbnf!+*P0Ux(;)ZL>M<0eyd(YY84J@Lv zY78q4ti_wFd^pCMX2!;qUGBF9i>do*gkt>F!h*8`EGHCjEDL4^N)0?}eB7qZDKeUq zf>ZLE$`p_y+aAmXMTRkr2Tv|mndWg+gp|VdrP^MtjFmI2T_+QYF!3#oJ9p8$S^KfI z`NO4(w-*fXDoHby-36r+Q)yt8f(u6Yj7eJ`nc!mS4~p7JUD1{s`=6)0;eqfP_^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Dw3OYTwVCrTa_9*c+Rv}cKP;t>iJ?A-2;n8j29fzUlA&QUBO2?8*cn?TKmM*s z7{q@;(%has=;Ow9{MzS*j5_T8EG~0`r$a(ehh&e3E?$RT$0}n3CZ5+BRaZ{wtQh1@ zWrZ1%OAV?I_~bbHo#gyL++UX`0TFKnCb3o9A@bYPLkW-`AgW6NYNKgPlGnwJ`CilA zf$<7G65!DhY*Ja6JuBo{-$JuA6L4=`SNTdr8N4LK(34!JGw1$a#gsFZ-`%eF2!;v= zsq)LbSEYf7eUX)2EVEmVE~Y4Ly@rdhVVFgwnX;jeLq{d9*;?vh`$KHR>IE&@V-(`1 zZ)YjpKF;{QNlD~BPyf?=Vac!RCk$tw78)pSSF=AvF^B+g@!SUj(E!g)0v<%6*2XKs zpDIBbC&mqL*Cf^BQ{| zJ*wiw5&pY%s(B(g!v`L)-0>L7&+jc{l`esdg*S6@pOl+26TT&iVVARCZ}ho~<)m&# zw+xG3a+hn=lU#Bn9K7BvH`e_fnb>xm#@!#UC zsExQJJ{;210`EIawtEi`_yHL7plM~|^LIM>-SLP*`8kMqO2G05-tNuMuRf0ZClc^W z1Pj~(+qGW(3XRzF{~ScLYGAp8qPGBcz5{GRWQR-v%e{TI$Blq=JJQy8Ydcjyv3qZ~ zsb`{`NwG=0(k*O0Ah+)kre6V*_JLc#5b`~Nf3GVfqZdRi2K>xc=L1{4e^qTwL%?H|X8LMQ+L diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Battery.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Battery.car deleted file mode 100644 index 2d55b17941696b26da732d05a7806736a7c76631..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3997 zcma)92{@GN7a!YLVu-Qlax+;H#&+Z43OAFinN(sL+qiKtj2U~2EwUwRG>R-~gk(u% z580P&kz~n|Wh~)Z@BdS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|h>*vOh|*`*5Y_lTtMcRY8VYnxfM$he=UNpe9Wjia>RB1LAKe=FAXKD452 zDS6z#+H=u%Rh(gZr0`^5Lu>^nyKt;{-zNy?c&Kyd$40xqZx*lX#QASEi;Rl%xa$w) z)EaAfNM6zC#zET4n3sMY3^o!}_#|McLq!dx`LV19VgM{Q(9Cul{1=h^W29}F{cUX{ z{R$kv3fKKa%Rv{~mfhdhHjFcH{0_6v>^TT$TZVsI+c-~v<34R_7hr!`z5|i!(+3<6 z`uzBzNT+l`saJPhz<_!@$i+^bZkH(~Dy3fBMP1uL-7gUbK~jpeUC3Ub?|)Cq|9?>Z zn`EQBIi=Frb>j)B!|!hP$^AiBryT9Om?-c;nE!FmQ&OOuhr90L==UwVA5KR~WXjIF siyX+fFY-ZAq3nCRU>AViuw(hP3mWRs0fE|Xk1QZrS`f(i(Du{+0MJ+boB#j- diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/GPS.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/GPS.car deleted file mode 100644 index fa954521264afb031e36b9ce24640d125a92665f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3905 zcma)92{e@J8y{pD>tu}(UEFSJGP1O2v4xm1wy3y+$$DqZn6WlwSGgpLWEuNX=$1&9 zi9t%bVxq#|zAt6EvNdx5-ze8L2j{-$yytso&OE>GS$^;H{03>vv4a-`;sJrW(a{E= zf301>S>MOW!;9dAc5?G^BA{IGL=+6F0#!ML+|o*H&5G!SBRKsh6Y+Huf|CRGKiP-? zHWqjX!f!-0!42=l>KD&yG@YYn=r6zz^VmS3gKIC@B%0MI&Hoi8)DMfXLpCECRQRhG zl(YV46fB~HwU++SO*q{w=_G=?-mWD|;$tj4l{bt?b&PdsBwtw&bAEJMJAF`YroC7c zf+d_pgasV`gp(cin7(WyM^m<;Ybj@eRbGx^X98dCX^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feature/src/main/resources/carbonapps/Gravity.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Gravity.car deleted file mode 100644 index 2ffae76978003cf2ca3a6005b07afc373d6b89d6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4014 zcma)92{@E%8y?%lSdJ5A9m^?1rmPt}$ z8%g=eAxnvaWGNYued+&3`DK1N=e@4?n)kb|dG6=EpXd3W=l;x0n3y3T5Gx4Oi-|G- z{ji|GS&xWy^TcB@SSKPDk9NS@5^bG4eb9<<1-OE|*-uRcHcSbg?s)9F-M=vt+%&^u zZC(Gh9S>lK^037_6EJuu4^IN!{aDwjtsII9S^)l7%m4!YzTxO+)Yf@h{Ky-)Kiu2Z z<*fN*WP<|t#LS*VKbM=ju;<~7>aaHReOY9$hZZZbWWJ`q%N4;aXM9AJ$~AhahgbLG znpiOW!_ifVjKR@d6sK7C<$}8!kAxnJ;8?#v_Qv|@DTsgpC`z zLH81pwIMGW>m_lWwX;g*RozRu4c2>RjI85-Q5-8w6e<_is4LML8Ph8|bTFQE+TY0Z zk)3nJY-fK0CfL*@jnoy1Pg2fSVMf}T5vzEu#;@THw0#scjqkX7ZrLw>x6p60`*H%- zVk&x9(~hbN>k;=|`7D2tqu;F4QZWv%kQeP=X&^JG`Z>(I6~&rf15_K3mr*?upQJ65;$E~Bzud^xG17O zQ`utI)X?B%>N8T-UmsK28x)m2ZqMD6u3Q*WP@bwpdl@(uA(H>}^UPt2c~y(e7Yi4@ zP;ofyPo-u?Ej8yjSt>^dq+5v7Hzy&0?{Zfw%o{SsXRF#50Xi{$Dc|9b3f_wWdY1hz zA97?+?j84*7`O7uHhg`{sf-^U5zw6(0=<^;lZR4!e$}iwb(bl}}?LS;3+vd`YsJ z$XB&$@uLmmaRR^Lo++(_T*7$!?+q7umXdKyWz|hvG9m;`In}@>aP4lD9DAE?qB&W} zDC}VJNr>M&#W7_9D0= z&`$22XnQQt34PU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XEqQT&S<9C>ChR{wpG*SL-(QpcZ z<2DUz6JUFhz5$UJ)C(MU{2KYGWT*E*FJ3o&NC9QJqmPYxrIjl^EWLKzg#Ee!yIm@F zf}|I0n~;6L4EUaw|Np@HC;3Kyb9&LS=_U|Rir?LAll`5pPCw;0F)`qsF#qMur>8(a z8#mph@7lKTemW`Xk?C9TCh|45ZIO413Vr|E1VaPuVZ(C08=9H00D+>lNluUoGYEuX Hr#<}_FOl_? diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Gyroscope.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Gyroscope.car deleted file mode 100644 index 961cece6ebaf29baf64849878a5276d2ea7e36db..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4074 zcmb7H2{@E%8y*aa!7!A_(x2?cBzq_+j(sU>S;yGNXvP^kS>xE3EIBQTiYx~W{dQR+ zG+7FTG8E1rOSYr_Zz{iIe(68&b-ma3&NcJi?|VPb{XNe;M!IxhCJ=}b1R6%hX@UMW z_<{8~Jj&A>i$bDY@hGgVvmX|NLt?y8w#VTJI6~U!hkJRq_Ts!TSkyn*czAmw7G;nA z2RmWF&huXOSa%!}>+0o=qq-yGSAG?GR!>%dAC}R8KuTLj{gB^R_9p+s9`1|wur}5= zY!-ypu9!n-!~A9Lkz2z@mh1+~?d>a4IHMXo2wz6T984yf18Y|%^+Q&f$}I#BCSFcb zn6_eyK5!$kS8z1J(A;MMfmfA;PH{>4&TvSG6z^CDmpyKhtw4{K2(-&K&A$#W6=J2d|@p z2nwk56j!vBd#$LCc6nt~gP6dz8`6>TtL0hDOY1)Oh*R+;o8j6qQtas>2$e5qH^`sG zi0Fi*H|=&$bgwn?7E~2znXn$f%f#M|xAjhf1hteIf{L^|=}L+LPE7`XbXp;P$i!qYW>IzwBuqzW_1qedAIJ zf%S8Vf2x&_OGLS-61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NAX zp}s6#R^ZD1Pl}PuwJ%dG<4$p2?E#BJ{Qt9fwp?X(+HJnMI#0E4A|<|H{rn4yY-?Tv zd$G=U-!&!q)Rp)RzsG8dyb@kiNqALT{_IiP?BVUVBh}vSWh@ZlT40Lo9_nouKe~Y0 za?ULVAqG=;PKLp`IUO91$yy+FZXpuQB11>N+(V94=T3F_=d4BBUAJj~Xo15$4!6<^ zq(QHI#;(SqQnfQytoXL`=){ds%OmvSw~&PlEy3BMGN)Gl?eM@ zK0c!)6cTia!uj!@|FT}~tuq6f(N7gTP0WcoSFdPK*N>}1Y!f8 zn`g&Tlk;V)oKdX?Yv{uogn@ftf0zU+ueWB1>i%ImGfFb6@ik z*SKq?&3-6UrTt@2Q62%yT}spz!0yU>6CyL@Z(zB%Pd47{)Zw)7 zw3>7ao)1XIz2P@gl$xQmn6#pB3v*% zEt~=U_j8LK(cbUSv>kj45y7xG;(zMrw1=ndd|O-L5AB*{d-OqCT-q|bh3m+)EAD>& jpe=G+VDdl(*tFazdB*zmfQzWLkPQSq2m+mAq5k?m#81=3 diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Magnetic.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Magnetic.car deleted file mode 100644 index 2fd072e005ed025a47cf272fbe02ed6220c1a15e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4027 zcma)92{@E%8y+Uhj5SNLWjUnMj6sZ3*``F1kd#4;Y3vMUvPG7VB}$f%>|53jZ4|N- z**kWT<&avAvJ6B-Z*xv|quOqh=0wv$r$RRlHDx zU>+n(rcQ~y@z?3+1lu8!v1iI_x4}ImH`7jzN42=`$pH(E6eDGQ|JQ^Dsin)iJ zL_?VmqIoh^%cqkHX2u+*Jd6=-l6=GgNm@67u~B)_3^fA`RpWZTDq88YR#SkM!1@AV8h z9*gMA2t$8S>m|fL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+!W8&>|s%Y0;xdeY``E849MO#z3==+v%ZLPAmE)%FaGR|l$#qCsfkZRa0QUoLL>|O zbdRSL^F8(t;^0ex==gTp7&M5u>S>z&*6%epYuk{PJ^3_%Zb@-|rA6*J(%ag`4V6*C zCF{J>DejYc-w5s^Ta=09seo8j*TlTn8@@x#ZX9rZt@5N)_H{=&cr4nIN0AYqrL~hqPiEZ^zebEy6Iqmesg4)M({3VgMlEhn)3H=1jh4cMS=G?`OiT_r zo&~#{=vozBd;IKCUoDl(Y&{6!ca=g828JpUPXx1{+U|wMlMBYF;c0IVg8^aYN1jD{`E2u;1#ZNu+zO0N z+ZP)s?IG5GRogrXcW(*SyDDN>`}BAID5cSF9oGl1mW4lXI@daFWwnxY|DC$}wX88L z)5Dn`D?{RZSE!j8t^Pk;x876f9UJb$?Z0!5r<_sg`ws?7dh1}^3e+`a{`9aP(^Y?2qR&Z)fj;)^06XZ=uxw$f$cS10LquI@TyH`o4gjR94ioM9k*U zt5r*Sz)Z%ql8Uhc*#Y7XamSY5O`AXS!@COwAGeTok9treHz9CKT@Fl~NzaMbicger z!Y{W!S}=O~fzwu3L_oe8vJlDMQ*VN2j~4Wm6q|6=RY!X+gM|J(>DXF=h0b|h7q@m>k@9eXIEC7QYG_6W`{)_A0 z8H(b&{~i>m-5dOFAyItzCJq63{TUJg_!QXAmG2x7#h3p*C;{aGuiI3r%}BQQ=^GH~ zzLbWsYjSpW?bMr4``67)jsUXUb(0OfQshbvOKl%FVQGO<{VR*xd=u@4Np0FTF^6}> z{8tM{9Xz%1*xV=p@Qc5K-%bL%MNi%6H$iRacLn{gZJ(M2b#L6gp{q5W-siCPW s@g{UMWLxOn5<^`EH^Fc~q1agYvnc9l(gC@mR7)0+@*WV#f{F6$f8w(HDF6Tf diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Pressure.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Pressure.car deleted file mode 100644 index 7db5214b15e995f53cf2a6706995535f75d83c96..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4034 zcma)92{@E%6dp^K?AMl^$QENPS+a#98GE?0jBPLs!_3%|L=%-IOSokxqMI$mWM8sm zO-jO$uJvY1i>>>s>$>K_z2EbE&wTSd|9QXjp7Z|aoZm=~jQl7FLsp1~VDU+8(w2N~us9c!d@Vnb(nW^kqg0BR1+uH6_U%1s z_?hY_#_lzu3RCS?T7-m{4g*YP;+E?J(weOXIi;G}@(_qpnP8*L@#|9yuK1BUU2K!F zg90Pe|Dod|uHf-3vl!*AN~3`y?_t?Rf#jUmA-DPP|781TEPH1r6Yc;p>;bmef5p-s zjYT-yJ7RxCFS?Gtk)N^EFYVep&%Q1aSLh=KBOiJ4B3w8xot@*D?S*~~RMq%;aEQ}7 zhibaCF#Gw2%po$J((#$;T*4Lnd~~myu>K2Ah&)C{P<+}shr2K90H0FU#Tx; zFUzoUT3kXZE{2zEsC~^!)t48MxzgVKz@7DstgQikclKlb%@9*lb3J1c;TCy=G9q4` z)=^dW0X{>(7T)2tuZsUo%B;JG{u+dqVsSmqVaCSDkhk@AVb2&8-{KNQ*p=7&Mazz`@b%n9y` zaD-$2c_FtmIg+4(YUDqL>sdSb+o;7mgU)NoEw6G@j2(v_;}Q*ZOzJ^q>kB%a&I8Dg z#XM|POUuj4s*GwXZ`x(vUMF>4YPSeVyL&c;)sD*-cMX+~X&Zx9ZW2KRq^X1{s{K?wSSH5h}vN1PN ztv3;6D){JMKEmHna(z@Ba_oAzvzVE_<^#p~jTS~1@%rhr$f%T54uO=1=^0zaJi3&K zsv;KW7ZBaMkDjd8lhydV45SmvTR|>I7%L+fdo5_yuU)4>X@Zl$?~~g82;YFAeVPD6=0-XTv-#t zDM^{|;E(hPM%;XBg^l$IG<17?&O#* z@%%)2flw!x)?gZ)J+G@?tGErN>Li)kw6D7vZ<3f(stWWv^GJ!173Zs`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E`Nlke^3}iG=yK2LxhsiYf8O% zhB?Tjgu23}T{2Gn87xE1+21wP#9xA&bc>+t&Ymy9Lp(ir7xpoBmY^9leI! ze7p0=b>lavxeROpGFflA#-C`v(Aa>8BDz1#eVJ3UU_j5LLE81a{%L7HXTgpnc3vAq zK8DvaA2V8%Yadz-D{ctwjCD~XtvFdQ3mazT5gcS3x@}$8l^Qf;F-rCaV{iJ?^f9O+ z(we?Hxp%r&-6<8quR)#nIf#!=2lgW`+bLB-dGg$l!r5Kt?aCX z`@iPsa9)z?qdItVhP50G;(_CC1|IIikNsd>zyYn7nsmzh!NZyNIWn{s!93^h4Xlw@ z#99qSKizF<9N*3apeBcz_0m#JCXK7mWYNhxr)AdPqzWegjly$4?lCSk9C2KPZXjtfN3 zypX8!d8W~rt05yaS}uPf-D#JBG{bkD;>tAV^CzpObHWc7W0)h7z`XMD847D|hHXVT z&xsARiHu`f})TZ!;{oB9;T?eM$ zfe!6YMw z#EaK1AugfI+{dK^YWVj|9`+CFC{RLUw-35_H0aN59^w88y~+Mkae%A*zW+m&a1;ST zE3l91O?ouy|7{Eii4eBV{UvM34j1B&8z~_+VSV1muAn#+`>5Oymd1UsV4!O3MSd-m W2HGS*y6_d02BdQw1d61>fBG-OTPwQ& diff --git a/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Rotation.car b/features/device-mgt-iot-androidsense-feature/org.wso2.carbon.device.mgt.iot.androidsense.feature/src/main/resources/carbonapps/Rotation.car deleted file mode 100644 index fb52029c3eef1ecbb7d84a109e2e9897e99e48c1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4027 zcma)92{e>z7@q87OUIC1#-2<=%Sb5^S+a*1Yqn$=W+qCLaHFgtWQ!&eF=cl{jim_L z?v)utL^4^g?ig$CudeHwgL}VozVm-`&b-g}F3va&h-_LEEEISVyco%G+KE28Y298gFYVv~G&QqR=k?-%fbL4(;OT_5Tfd z0Yft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0(48L>L@1xI~y% z_~TdmqpT(#Is4)#Yj|jI2kAD+06oZ_Fc}txX40qUuCPaxM8&r9Wyf0HhIh|uKaVgm zo!#vX_4v&Te9JZTYk{Wd#e*N^CmwT2Aw>waQY3<_Rct$?djDQKxcM`q%MEmI8F=~1 zgFYa(PJoM=JI4qR5w=D|7(hhW-$aCMob>=6A5{W58PEmao|a2mHkcF?4dDFW*juR zF>NV}uPEZQ8F@))Fr!lII-$ui2IryiLZQ5c${>DC9iF{n76Cf7f~f4W|K)aq0X3ysb{)Arp;WuF(|aX*^imH_SQz5wRrczc}`f`7Y)kGr(09<)SU$*2m%^j z3Op2u8o0FD0IZX(uDpBYhTP&FiA$-mtP#gQy_<*^Hpom95;GCTkKD2ewH*$7wEAhTnTl2Mm`>m$dVtH>D_;BEpvijnwVdGOyR|J};`HVuO`wJ`# zgQIHB-z*wZFD?F139WBcHX^h6*(F|4WN^`Xj**Dz^h8AE$%Y3A6xQj&Fht2Li^zc) zqY2Jf%WlhOjP>8s6|@FX6A$*Vxf>&mr}#5V3)xP#tU{U`q7y@%0wphX%%Wq(5b)9? zLADvPg)|EOMkOrJ$JW=W{lsre;`U*VVZ2qYI?lHUk+x+GIOWy}n zgevECmiOOjXhcj_Ipids%S1-!Og~Y%_5Aj+=mr$rAKRh%kFxqXYfsH8vSRS+MFEM^%V(+ zbln=<@N!Ubyr=?1gH&hszMTd%-&H zX1mFGCXG9f>(VBl(2|~~61fLN!b>9YVQKjuaERxGEtxda)oUBlK^p0&J1ed6L?XeB7?ZtR9FH*8-^Bo7++Jq`X#f@vX!7*h^FLJg_E2lO`{!DN z+Iht9>6L`Vd(|r1}q3@*nekni*KTxFzIF62IjzynExr_=$)t6 z9vc^h0E+Q%=eMH3PTtcG`wdW6mK{O=@93wGf__47T=oWtnT5FeFpi@jBkSoX9ufG67O9J-* diff --git a/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/carbonapps/Temperature_Sensor.car b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/carbonapps/Temperature_Sensor.car deleted file mode 100644 index 6ad7c091624b30cd3573dc3251a5bb60c9cb8aa9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 4138 zcmb7H2{_bSA0GQImr<4?Yh=k%lr3C7+hDRUGsaxTmLX=0rI00;A!IGPY}q1iB-ug@ zWhrE5M3%Be-&I84f4bKrK6LMSp7YF^=b7`K^ZtJC`TgF3>QPYAgFv(((6C*U7U+j@ z5?E{EP;OXHlpV?$hw?;VQRpiuPbAjM6NQkLl#-M>13hr}iS6AOtUK`Yf3uZmXR9X) ziT+o6*?_&qSCF2UF?OELSFo5p_oV&KGXCv}h%dkotH?kgSl%AR!9HA`KjErMJ@r2CRUW}UaAXn<24-N<;Q^ncnX+BZ_}q%U}nBUu@2 zKZ-K17>w$Yy%L_8bdKfSNKU1x;jZO58vcp-sL~qViJWo8H+4ghmb1G%>ZB&$ul2Fj zsMyY9nA_)doWxy!bBKmrWP7Jo+MxT`oX&8FODXrBn1CGi0xlR4*aFrlRk{#QcO|fm zv8MBl>xbexPBwcN~(_BZksqcA zl(Y|X;%kxuoNTB@w%j)9=TBm}`Y>i9Q;;OT8^`*oB#WGxZzdF*s zKMOVYpn%>$z}Mh7KWBbGR`}O&%0RVDk&LjCS9bCbDhqR$juSMbSM_Eq&ht+qFZI`u zSrK4G9w+8ltXCn(%P?Exo>}p{@ea)`^+Z|rB3N|aTc+J46O-(q2EdbWqymA|en!&W z(-Gl~ahE|jyJHddD4eq$3iIPjCFONALCx@~6!?1AvRKmSXm`AHUJFqwl9IOAMhDJ2 zV2{=rCfiuUiSdQZD$O>PTO-Cd*6Zc2I$>Ef%PG*0;+mJ`xI)PYFlkBo=H*0)+hTL0 z#c587gixeK5S`Yen79+#sg`-jlBpDTUH#Hui2+2FghHbk;xQH5bI@BdC7*QOq>6t@-Z|$rNv{Tt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jM{3GV>VUxG*>qpsu~phPo25gGT7SPlsy=dYdhI|!;xlf>#^cf9fljQ zk?<{7SlF4@<()ZKTFaWoNQH ze-q)f$P`I3 z1&v&#xtY%ih?PnpyJX~Gii7<+5D;LnfEGyo`yaUXgV9L-{jWhnQvsIWUGPDk=dg?M zY$JWYnC}kM0nO?#ERw(fYmlz>5LoV0$#wwt_xsxrxk1yw@@M~X4t4)~kJ@X4caBm3 z1pBk2w#7`+@?PY<7IX)h1E}eTCg(8Ny{2ymcJpVj|HK0BWwF<`>>O7FxX!;>9H5KC zXzVo!JGcqdKg0bOmSHcQy=`^p*g=|orFm$R-HX1rdheij)9s6XScLW#&K Date: Mon, 14 Dec 2015 19:32:36 +0530 Subject: [PATCH 2/2] added separate datasources for virtual_firealarm and removed unnecessary logs from XMPP --- .../VirtualFireAlarmXMPPConnector.java | 214 +++++++++--------- .../resources/configs/virtual_firealarm.xml | 6 +- .../virtual_firealarm-datasources.xml | 48 ++++ .../src/main/resources/p2.inf | 2 + 4 files changed, 165 insertions(+), 105 deletions(-) create mode 100644 features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/datasources/virtual_firealarm-datasources.xml diff --git a/components/device-mgt-iot-virtualfirealarm/org.wso2.carbon.device.mgt.iot.virtualfirealarm.service.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/service/transport/VirtualFireAlarmXMPPConnector.java b/components/device-mgt-iot-virtualfirealarm/org.wso2.carbon.device.mgt.iot.virtualfirealarm.service.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/service/transport/VirtualFireAlarmXMPPConnector.java index f4eccbb54f..5fb6883c82 100644 --- a/components/device-mgt-iot-virtualfirealarm/org.wso2.carbon.device.mgt.iot.virtualfirealarm.service.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/service/transport/VirtualFireAlarmXMPPConnector.java +++ b/components/device-mgt-iot-virtualfirealarm/org.wso2.carbon.device.mgt.iot.virtualfirealarm.service.impl/src/main/java/org/wso2/carbon/device/mgt/iot/virtualfirealarm/service/transport/VirtualFireAlarmXMPPConnector.java @@ -31,107 +31,115 @@ import org.wso2.carbon.device.mgt.iot.virtualfirealarm.service.util.VirtualFireA import java.util.Calendar; public class VirtualFireAlarmXMPPConnector extends XmppConnector { - private static Log log = LogFactory.getLog(VirtualFireAlarmXMPPConnector.class); - - private static String xmppServerIP; - // private static int xmppServerPort; - private static String xmppAdminUsername; - private static String xmppAdminPassword; - private static String xmppAdminAccountJID; - - private VirtualFireAlarmXMPPConnector() { - super(XmppConfig.getInstance().getXmppServerIP(), - XmppConfig.getInstance().getSERVER_CONNECTION_PORT()); - } - - public void initConnector() { - xmppServerIP = XmppConfig.getInstance().getXmppServerIP(); - xmppAdminUsername = XmppConfig.getInstance().getXmppUsername(); - xmppAdminPassword = XmppConfig.getInstance().getXmppPassword(); - xmppAdminAccountJID = xmppAdminUsername + "@" + xmppServerIP; - } - - public void connectAndLogin() { - try { - super.connectAndLogin(xmppAdminUsername, xmppAdminPassword, null); - super.setMessageFilterOnReceiver(xmppAdminAccountJID); - } catch (DeviceManagementException e) { - log.error("Connect/Login attempt to XMPP Server at: " + xmppServerIP + " failed"); - retryXMPPConnection(); - } - } - - @Override - protected void processXMPPMessage(Message xmppMessage) { - String from = xmppMessage.getFrom(); - String subject = xmppMessage.getSubject(); - String message = xmppMessage.getBody(); - - int indexOfAt = from.indexOf("@"); - int indexOfSlash = from.indexOf("/"); - - String deviceId = from.substring(0, indexOfAt); - String owner = from.substring(indexOfSlash + 1, from.length()); - - log.info("Received XMPP message for: {OWNER-" + owner + "} & {DEVICE.ID-" + deviceId + "}"); - - if (subject.equals("PUBLISHER")) { - log.info("XMPP: Publisher Message [" + message + "] from [" + from + "]"); - - float temperature = Float.parseFloat(message.split(":")[1]); - if(!VirtualFireAlarmServiceUtils.publishToDAS(owner, deviceId, temperature)) { - log.error("XMPP Connector: Publishing data to DAS failed."); - } - - if(log.isDebugEnabled()) { - log.debug("XMPP Connector: Published data to DAS successfully."); - } - } else if(subject.equals("CONTROL-REPLY")) { - log.info("XMPP: Reply Message [" + message + "] from [" + from + "]"); - String temperature = message.split(":")[1]; - SensorDataManager.getInstance().setSensorRecord(deviceId,VirtualFireAlarmConstants.SENSOR_TEMPERATURE, temperature, Calendar.getInstance().getTimeInMillis()); - } else { - log.info("SOME XMPP Message [" + message + "] from " + from + "]"); - } - - } - - private void retryXMPPConnection() { - Thread retryToConnect = new Thread() { - @Override - public void run() { - - while (true) { - if (!isConnected()) { - if (log.isDebugEnabled()) { - log.debug("Re-trying to reach XMPP Server...."); - } - - try { - VirtualFireAlarmXMPPConnector.super.connectAndLogin(xmppAdminUsername, - xmppAdminPassword, - null); - VirtualFireAlarmXMPPConnector.super.setMessageFilterOnReceiver( - xmppAdminAccountJID); - } catch (DeviceManagementException e1) { - if (log.isDebugEnabled()) { - log.debug("Attempt to re-connect to XMPP-Server failed"); - } - } - } else { - break; - } - - try { - Thread.sleep(5000); - } catch (InterruptedException e1) { - log.error("XMPP: Thread Sleep Interrupt Exception"); - } - } - } - }; - - retryToConnect.setDaemon(true); - retryToConnect.start(); - } + private static Log log = LogFactory.getLog(VirtualFireAlarmXMPPConnector.class); + + private static String xmppServerIP; + // private static int xmppServerPort; + private static String xmppAdminUsername; + private static String xmppAdminPassword; + private static String xmppAdminAccountJID; + + private VirtualFireAlarmXMPPConnector() { + super(XmppConfig.getInstance().getXmppServerIP(), + XmppConfig.getInstance().getSERVER_CONNECTION_PORT()); + } + + public void initConnector() { + xmppServerIP = XmppConfig.getInstance().getXmppServerIP(); + xmppAdminUsername = XmppConfig.getInstance().getXmppUsername(); + xmppAdminPassword = XmppConfig.getInstance().getXmppPassword(); + xmppAdminAccountJID = xmppAdminUsername + "@" + xmppServerIP; + } + + public void connectAndLogin() { + try { + super.connectAndLogin(xmppAdminUsername, xmppAdminPassword, null); + super.setMessageFilterOnReceiver(xmppAdminAccountJID); + } catch (DeviceManagementException e) { + log.error("Connect/Login attempt to XMPP Server at: " + xmppServerIP + " failed"); + retryXMPPConnection(); + } + } + + @Override + protected void processXMPPMessage(Message xmppMessage) { + String from = xmppMessage.getFrom(); + String subject = xmppMessage.getSubject(); + String message = xmppMessage.getBody(); + + int indexOfAt = from.indexOf("@"); + int indexOfSlash = from.indexOf("/"); + + String deviceId = from.substring(0, indexOfAt); + String owner = from.substring(indexOfSlash + 1, from.length()); + + log.info("Received XMPP message for: {OWNER-" + owner + "} & {DEVICE.ID-" + deviceId + "}"); + + if (subject != null) { + switch (subject) { + case "PUBLISHER": + float temperature = Float.parseFloat(message.split(":")[1]); + if (!VirtualFireAlarmServiceUtils.publishToDAS(owner, deviceId, temperature)) { + log.error("XMPP Connector: Publishing data to DAS failed."); + } + + if (log.isDebugEnabled()) { + log.debug("XMPP: Publisher Message [" + message + "] from [" + from + "]"); + log.debug("XMPP Connector: Published data to DAS successfully."); + } + break; + case "CONTROL-REPLY": + if (log.isDebugEnabled()) { + log.debug("XMPP: Reply Message [" + message + "] from [" + from + "]"); + } + String tempVal = message.split(":")[1]; + SensorDataManager.getInstance().setSensorRecord(deviceId, + VirtualFireAlarmConstants.SENSOR_TEMPERATURE, + tempVal, Calendar.getInstance().getTimeInMillis()); + break; + default: + log.info("Unknown XMPP Message [" + message + "] from [" + from + "] received"); + break; + } + } + } + + private void retryXMPPConnection() { + Thread retryToConnect = new Thread() { + @Override + public void run() { + + while (true) { + if (!isConnected()) { + if (log.isDebugEnabled()) { + log.debug("Re-trying to reach XMPP Server...."); + } + + try { + VirtualFireAlarmXMPPConnector.super.connectAndLogin(xmppAdminUsername, + xmppAdminPassword, + null); + VirtualFireAlarmXMPPConnector.super.setMessageFilterOnReceiver( + xmppAdminAccountJID); + } catch (DeviceManagementException e1) { + if (log.isDebugEnabled()) { + log.debug("Attempt to re-connect to XMPP-Server failed"); + } + } + } else { + break; + } + + try { + Thread.sleep(5000); + } catch (InterruptedException e1) { + log.error("XMPP: Thread Sleep Interrupt Exception"); + } + } + } + }; + + retryToConnect.setDaemon(true); + retryToConnect.start(); + } } diff --git a/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/configs/virtual_firealarm.xml b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/configs/virtual_firealarm.xml index f997831fe4..341eac74df 100644 --- a/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/configs/virtual_firealarm.xml +++ b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/configs/virtual_firealarm.xml @@ -18,6 +18,8 @@ --> - - + + jdbc/VirtualFireAlarmDM_DB + + diff --git a/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/datasources/virtual_firealarm-datasources.xml b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/datasources/virtual_firealarm-datasources.xml new file mode 100644 index 0000000000..a724d94d1f --- /dev/null +++ b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/datasources/virtual_firealarm-datasources.xml @@ -0,0 +1,48 @@ + + + + + org.wso2.carbon.ndatasource.rdbms.RDBMSDataSourceReader + + + + + VirtualFireAlarmDM_DB + The datasource used for the Virtual-Firealarm database + + jdbc/VirtualFireAlarmDM_DB + + + + jdbc:h2:repository/database/VirtualFireAlarmDM_DB;DB_CLOSE_ON_EXIT=FALSE + + wso2carbon + wso2carbon + org.h2.Driver + 50 + 60000 + true + SELECT 1 + 30000 + + + + + + diff --git a/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/p2.inf b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/p2.inf index 6dc2bfa939..877c812342 100644 --- a/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/p2.inf +++ b/features/device-mgt-iot-virtualfirealarm-feature/org.wso2.carbon.device.mgt.iot.virtualfirealarm.feature/src/main/resources/p2.inf @@ -13,3 +13,5 @@ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../featur org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.virtualfirealarm_${feature.version}/dbscripts/,target:${installFolder}/../../../dbscripts/cdm/plugins/virtual_firealarm,overwrite:true);\ org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../deployment/server/jaggeryapps/);\ org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.virtualfirealarm_${feature.version}/jaggeryapps/,target:${installFolder}/../../deployment/server/jaggeryapps/,overwrite:true);\ +org.eclipse.equinox.p2.touchpoint.natives.mkdir(path:${installFolder}/../../conf/datasources/devicemgt/);\ +org.eclipse.equinox.p2.touchpoint.natives.copy(source:${installFolder}/../features/org.wso2.carbon.device.mgt.iot.virtualfirealarm_${feature.version}/datasources/,target:${installFolder}/../../conf/datasources/devicemgt,overwrite:true);\