From 8760db071b832b4cbae425288e7b1f8b9e65383e Mon Sep 17 00:00:00 2001 From: Yasara Dissanayake Date: Thu, 8 Jun 2017 02:35:36 +0530 Subject: [PATCH] Refactoring changes related to Sample Http Client and Server --- .../resources/security/client-truststore.jks | Bin 0 -> 36522 bytes .../sample-clients/http-client/pom.xml | 15 ++--------- .../sample-clients/http-server/pom.xml | 25 ++---------------- modules/samples/sample-clients/pom.xml | 2 ++ 4 files changed, 6 insertions(+), 36 deletions(-) create mode 100644 modules/distribution/carbon-home/resources/security/client-truststore.jks diff --git a/modules/distribution/carbon-home/resources/security/client-truststore.jks b/modules/distribution/carbon-home/resources/security/client-truststore.jks new file mode 100644 index 0000000000000000000000000000000000000000..9e3a51db3e8329a40eebef8e585a4bcbed7f97fe GIT binary patch literal 36522 zcmeFa2|QI@+ds}Z=6RlngUsO^GnvPTkTDrD9P>O+na4zkLNa6wWy+i=WXO<^DU>-9 zNkxhOJ_n_4ch7yl@AE$I^FIHd&*xz6z0Tfi?R{O>x~}gvtlib!RTLBy5b)tZ{w4Hw zcjmV+b2E2#;0p}2?!4k?P(refJ_S^C6mUo!3N$1J6cU0`NHA5ugQeOq6ZkQs(Urt;CAh{f z8-HOaDd-%1l)3x!)>oA>Bi8EdlF73AhR7$RPZ{-K;_%}oW2$WpFf&%V#tdzo$YtH9c_ZufbJQ??PPyfBL%NR8oUS&E3`(+3 zbGVB8m*;hYd%#XZl@Ld9$)vr#y?GCAj5xz5kG#97ysW8;la(`{yrwq9*2%)z&4m|Y z?hA2)Tk%31Y#nVq+<`x4=DaXgC=2pRq;wn>oDi6pm>A^9jUZ}>zHm#J02GGk1}5b? zdUpS25P5*NY^`i9%sgzJoglKF9yZQywjRDv21NdNP|Un2x!oR9AhjC4-zfSF*t7H$quZp1SpLOTIv4kkpf$q~8^ zA>@Z1QZ|y%k?RCKA>#R>Vn7)Y-(*3ff>H#NwSCRt^uN)oc75mFg{tl}kJyxDH7Grz z0|6QZ+VQ9H5T{Ae(4k;d)I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FFUG~W&P>pqA<&V!2aXwOZ=9@jDkWv5t_PZ-_!qYN^gMw_et9A00eHC=< z`=z^9D=~6Ox|+|07kh%D3lvx)E>@jflDVf@JY_9w_nr$8=X!g-zW(6k$vtSf(yHNlWYuG2!BPZ@N+xN~FiTdfBB`pVRBJ5hx+ z4*jW<_pfr-U*R_WgV3XYhq$x@pOrn^?za6A@3J#14*Nugc0PL%93%5;?uR5X?&T-r zc|P1bRCaFt_pDF99G5LJ7CHH}D*5ufB=f7Ssq^@r1*?=u$H@u>M<3UD-t1{Dx~?l@ zXZUoC5iwY!Lr`Se!PS#EzT4}c-1P5B)clltw-x={W}1|lh2Om(s(*BCy{No-QnB5Y z=ke#nnQxo^(!RYefiqq%zCUj_x9zJaVL6_J{H+JJDl6%+bDv&Wa@u{j?7{0xv(M;X za{B9ecX{Xe;9a*EqBQn5-T$#mST>-o>2IGwzoy#;Ia||P7D-|fUTdFi3(UEFp#n~ z6T7`Q@73S6n-1N2&*U!Lb>QP>!?pf05B=w?=jWOGy@L0~7t^qYTibKR`{&9vrab(2 z)OFX|?44Xye*WGq@4P?O-W3EFB=RWBL?Oe&sfZ)gVTU~<#^#u&02?3^fCI%pp^XrX zgL9FWRs(w(_z!!At{-K_SU(CK2Szzdo$#5@w6q&vhj!O<@d-?+8%;uOJP!q4y}$gT zdH==djm3^Z3A5)e6j!TQdwk;ywJAnh?-}=6>EHe|t17B^#^RWlzq^X1W1b)0-;i^5 z<(F&P2fqKDxhi?lMt3IuD^CKggluxUqC#2vyM|{{ij6|CPzw_ z6w7? 4.0.0 - WSO2 Data Analytics Server - Sample - TCP Client - tcp-client + WSO2 Data Analytics Server - Sample - HTTP Client + http-client pom - - commons-codec - commons-codec - 1.10 - - - org.wso2.extension.siddhi.io.http - siddhi-io-http - 1.0.0 - test - org.wso2.siddhi siddhi-core diff --git a/modules/samples/sample-clients/http-server/pom.xml b/modules/samples/sample-clients/http-server/pom.xml index 75061278..60e4794d 100644 --- a/modules/samples/sample-clients/http-server/pom.xml +++ b/modules/samples/sample-clients/http-server/pom.xml @@ -27,7 +27,7 @@ 4.0.0 - WSO2 Data Analytics Server - Sample - TCP Server + WSO2 Data Analytics Server - Sample - HTTP Server @@ -40,36 +40,15 @@ - tcp-server + http-server pom - - com.sun.net.httpserver - http - 20070405 - - - org.wso2.extension.siddhi.io.http - siddhi-io-http - 1.0.0 - test - org.wso2.siddhi siddhi-core ${siddhi.version} - - org.wso2.siddhi - siddhi-query-api - ${siddhi.version} - - - org.wso2.siddhi - siddhi-annotations - ${siddhi.version} - \ No newline at end of file diff --git a/modules/samples/sample-clients/pom.xml b/modules/samples/sample-clients/pom.xml index 0fc127b2..2a443b5f 100644 --- a/modules/samples/sample-clients/pom.xml +++ b/modules/samples/sample-clients/pom.xml @@ -36,5 +36,7 @@ kafka-producer tcp-client tcp-server + http-server + http-client \ No newline at end of file