Updated Branches:
  refs/heads/master 502db4103 -> d6610d54d

Add CEP related configurations

Signed-off-by: Manula Thantriwatte <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/incubator-stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-stratos/commit/ecf3ba61
Tree: http://git-wip-us.apache.org/repos/asf/incubator-stratos/tree/ecf3ba61
Diff: http://git-wip-us.apache.org/repos/asf/incubator-stratos/diff/ecf3ba61

Branch: refs/heads/master
Commit: ecf3ba61e87296b174fdea6c3723f960f713fa2e
Parents: 29671ce
Author: Dinesh Bandara <[email protected]>
Authored: Tue Dec 17 17:13:37 2013 +0530
Committer: Manula Thantriwatte <[email protected]>
Committed: Tue Dec 17 17:17:06 2013 +0530

----------------------------------------------------------------------
 tools/stratos-installer/setup.sh | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-stratos/blob/ecf3ba61/tools/stratos-installer/setup.sh
----------------------------------------------------------------------
diff --git a/tools/stratos-installer/setup.sh b/tools/stratos-installer/setup.sh
index dee666a..b1d355a 100755
--- a/tools/stratos-installer/setup.sh
+++ b/tools/stratos-installer/setup.sh
@@ -245,7 +245,7 @@ function sm_conf_validate {
     if [[-z $cc_hostname || -z $as_hostname ]]; then
        echo "Please specify valid hostname for AS and/or CC"
        exit 1
-    elif
+    fi
 }
 
 
@@ -350,6 +350,7 @@ function cep_setup {
     cp -f $cep_extension_path/artifacts/outputeventadaptors/*.xml 
$cep_path/repository/deployment/server/outputeventadaptors/
     cp -f $cep_extension_path/artifacts/executionplans/*.xml 
$cep_path/repository/deployment/server/executionplans/
     cp -f $cep_extension_path/artifacts/eventformatters/*.xml 
$cep_path/repository/deployment/server/eventformatters/
+    cp -f $cep_extension_path/artifacts/streamdefinitions/*.xml 
$cep_path/repository/conf/
 
     pushd $cep_path
 
@@ -361,6 +362,10 @@ function cep_setup {
     cp -f repository/conf/jndi.properties repository/conf/jndi.properties.orig
     cat repository/conf/jndi.properties.orig | sed -e 
"s@MB_HOSTNAME:MB_LISTEN_PORT@$mb_hostname:$cep_mb_listen_port@g" > 
repository/conf/jndi.properties
 
+    echo "In outputeventadaptors"
+    cp -f 
repository/deployment/server/outputeventadaptors/JMSOutputAdaptor.xml 
repository/deployment/server/outputeventadaptors/JMSOutputAdaptor.xml.orig
+    cat 
repository/deployment/server/outputeventadaptors/JMSOutputAdaptor.xml.orig | 
sed -e "s@CEP_HOME@$cep_path@g" > 
repository/deployment/server/outputeventadaptors/JMSOutputAdaptor.xml
+
     echo "In repository/conf/siddhi/siddhi.extension"
     cp -f repository/conf/siddhi/siddhi.extension 
repository/conf/siddhi/siddhi.extension.orig
     echo "org.apache.stratos.cep.extension.GradientFinderWindowProcessor" >> 
repository/conf/siddhi/siddhi.extension.orig

Reply via email to