diff --git a/pattern-2/bosh-release/config/blobs.yml b/pattern-2/bosh-release/config/blobs.yml index a7d0c14..7b449ac 100644 --- a/pattern-2/bosh-release/config/blobs.yml +++ b/pattern-2/bosh-release/config/blobs.yml @@ -1,16 +1,16 @@ -mysqldriver/mysql-connector-java-5.1.46-bin.jar: - size: 1004840 - object_id: 0a7c82a6-c76d-4670-4f1e-158a88562956 - sha: 0a22bced42a2f076aaa17feee67fc6b998cfd4f9 +mysqldriver/mysql-connector-java-5.1.45-bin.jar: + size: 999810 + object_id: cfe00951-23ea-4a63-61e9-710b798475a8 + sha: 6223be933fbc8d81f819aacad0ce09346d5911c4 openjdk/jdk-8u202-ea-bin-b03-linux-x64-07_nov_2018.tar.gz: size: 139097684 - object_id: cb15cef2-fcd1-42a2-740a-af8e6d4fef06 + object_id: 3cb3791e-1a9c-4536-7239-742cbadfb9b8 sha: 43df5d55fff80327cc83680cda6170f33308883c wso2am/wso2am-2.6.0.zip: - size: 437096938 - object_id: 43ce4312-d8b6-4c8c-5ff8-5f0bb9bf7265 - sha: 721c82e0a54ab1dc878b19db6654a3db24837109 + size: 444084271 + object_id: 58aad1a7-ca6c-41af-72c1-f73f46aceae7 + sha: c31c9c9dd87a6a6065779c28c6908bd76e4914f3 wso2am_analytics/wso2am-analytics-2.6.0.zip: - size: 174219759 - object_id: 3bb62e85-8cea-4d0a-6200-4aaa11619995 - sha: 58f7b9013efb0b76721b6b171613ae72f8a51897 + size: 180832478 + object_id: 902c0851-16eb-4efd-755a-45196ad4935e + sha: b60e811d5abb500f5793cc73012f1040bc2a88c0 diff --git a/pattern-2/bosh-release/jobs/gateway/templates/ctl.erb b/pattern-2/bosh-release/jobs/gateway/templates/ctl.erb index 1ebdc38..3312331 100644 --- a/pattern-2/bosh-release/jobs/gateway/templates/ctl.erb +++ b/pattern-2/bosh-release/jobs/gateway/templates/ctl.erb @@ -47,11 +47,11 @@ export JAVA_OPTS=" -Xmx${MAX_HEAP}m -Xms${MIN_HEAP}m -XX:MaxPermSize=${MAX_PERMG export DEBUG_LOG=${log_dir}/wso2apim.log -export NFS_EXPORT_SERVER_DIR=/mnt/nfs-export/gateway/deployment/server -export NFS_EXPORT_TENANTS_DIR=/mnt/nfs-export/gateway/tenants +export NFS_EXPORT_SERVER_DIR=/mnt/nfs-export/gateway/repository/deployment +export NFS_EXPORT_TENANTS_DIR=/mnt/nfs-export/gateway/repository -export NFS_SHARE_SERVER_DIR=/mnt/nfs-share/gateway/repository/deployment/server -export NFS_SHARE_TENANTS_DIR=/mnt/nfs-share/gateway/repository/tenants +export NFS_SHARE_SERVER_DIR=/mnt/nfs-share/gateway/repository/deployment +export NFS_SHARE_TENANTS_DIR=/mnt/nfs-share/gateway/repository touch $DEBUG_LOG chmod -R 755 /var/vcap/sys @@ -71,7 +71,7 @@ if [ $? -ne 0 ] ; then fi mkdir -p ${NFS_SHARE_SERVER_DIR} -mkdir -p ${NFS_SHARE_TENANTS_DIR} +mkdir -p ${NFS_SHARE_TENANTS_DIR}/tenants case $1 in @@ -101,17 +101,17 @@ case $1 in cp /var/vcap/packages/mysqldriver/* ${WSO2_APIM_HOME}/repository/components/lib/ mkdir /tmp/gateway - mv $WSO2_APIM_HOME/repository/deployment/server/synapse-configs/ /tmp/gateway + mv $WSO2_APIM_HOME/repository/deployment/server/ /tmp/gateway/ mount -t nfs <%= link("nfs-server").instances[0].address %>:${NFS_EXPORT_SERVER_DIR} ${NFS_SHARE_SERVER_DIR} mount -t nfs <%= link("nfs-server").instances[0].address %>:${NFS_EXPORT_TENANTS_DIR} ${NFS_SHARE_TENANTS_DIR} if [ -z "$(ls -A ${NFS_SHARE_SERVER_DIR})" ]; then - cp -Tr /tmp/gateway/repository/deployment/server/ ${NFS_SHARE_SERVER_DIR}/ + cp -r /tmp/gateway/* ${NFS_SHARE_SERVER_DIR}/ fi -# ln -s ${NFS_SHARE_SERVER_DIR} $WSO2_APIM_HOME/repository/deployment/server/synapse-configs/ -# ln -s ${NFS_SHARE_TENANTS_DIR} $WSO2_APIM_HOME/repository/tenants + ln -s ${NFS_SHARE_SERVER_DIR}/server $WSO2_APIM_HOME/repository/deployment + ln -sf ${NFS_SHARE_TENANTS_DIR}/tenants $WSO2_APIM_HOME/repository $WSO2_APIM_HOME/bin/wso2server.sh start diff --git a/pattern-2/bosh-release/jobs/gateway/templates/repository/conf/axis2/axis2.xml b/pattern-2/bosh-release/jobs/gateway/templates/repository/conf/axis2/axis2.xml index 2950938..8f9218c 100644 --- a/pattern-2/bosh-release/jobs/gateway/templates/repository/conf/axis2/axis2.xml +++ b/pattern-2/bosh-release/jobs/gateway/templates/repository/conf/axis2/axis2.xml @@ -633,7 +633,7 @@ getting this node to join the cluster. --> + enable="false"> + enable="false"> + enable="false">