#!/bin/bash
PARABLU_COMPONENT_SCRIPT_PATH=../../config/parablu_component_config.sh
PARABLU_CONFIG_SCRIPT_PATH=../../config/parablu_config.sh

source $PARABLU_COMPONENT_SCRIPT_PATH
source $PARABLU_CONFIG_SCRIPT_PATH


echo "Configuring Paralite services..."
#cp -r /var/lib/tomcat-pcb1/webapps/paralite/WEB-INF/classes/pb-cloudproperty.properties  /parablu/
#cp -r /var/lib/tomcat-pcb1/webapps/paralite/WEB-INF/classes/pb-credential.properties     /parablu/
#mkdir -p /parablu/paracloud-pb-credential
#mkdir -p /parablu/paracloudjob-pb-credential
#mkdir -p /parablu/support-pb-credential
#mkdir -p /parablu/paramail-pb-credential
#cp -r /var/lib/tomcat-pcb1/webapps/paracloud/WEB-INF/classes/pb-credential.properties    /parablu/paracloud-pb-credential/
#cp -r /var/lib/tomcat-job1/webapps/paracloudjob/WEB-INF/classes/pb-credential.properties    /parablu/paracloudjob-pb-credential/
#cp -r /var/lib/tomcat-pcb1/webapps/support/WEB-INF/classes/pb-credential.properties    /parablu/support-pb-credential/
#cp -r /var/lib/tomcat-pcb1/webapps/paramail/WEB-INF/classes/pb-credential.properties    /parablu/paramail-pb-credential/
cp -r paralite.war /var/lib/tomcat-pcb1/webapps/
