-
Notifications
You must be signed in to change notification settings - Fork 1
/
deploy.sh
executable file
·31 lines (22 loc) · 1 KB
/
deploy.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/bin/sh
CDIR=$(pwd)
#User have to set his CEP_HOME
CEP_HOME=/home/dilini/CEP/debs-new/wso2cep-3.1.0
cp $CDIR/stream-manager-config.xml $CEP_HOME/repository/conf/
cp $CDIR/debs_challenge_new_1.0.0_1.0.0.jar $CEP_HOME/repository/components/dropins/
cp $CDIR/debs-challenge-new-1.0.0.jar $CEP_HOME/repository/components/lib/
cp -r $CDIR/patch0009 $CEP_HOME/repository/components/patches/
cat $CDIR/siddhi.extension >> $CEP_HOME/repository/conf/siddhi/siddhi.extension
cp -r $CDIR/artifacts/* $CEP_HOME/repository/deployment/server/
cp -r $CDIR/consumers/* $CEP_HOME/samples/consumers/
cp -r $CDIR/debs-input $CEP_HOME/samples/producers/
cp -r $CDIR/fix-to-CEP-870/modules/ws $CEP_HOME/modules/
cp $CDIR/fix-to-CEP-870/dropins/org.jaggeryjs.hostobjects.ws_0.9.0.ALPHA4_wso2v1.jar $CEP_HOME/repository/components/dropins/
cd $CEP_HOME/samples/consumers/uc1-service
ant
cd $CEP_HOME/samples/consumers/uc2-service
ant
cd $CEP_HOME/samples/consumers/game-visualization-service
ant
cp $CDIR
echo "Deployment Successful!"