aboutsummaryrefslogtreecommitdiffstats
path: root/msb-core/distributions
diff options
context:
space:
mode:
Diffstat (limited to 'msb-core/distributions')
-rw-r--r--msb-core/distributions/pom.xml43
-rw-r--r--msb-core/distributions/standalone/pom.xml250
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/servicesInstall.bat38
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/servicesRestart.bat38
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/servicesStatus.bat38
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/servicesUninstall.bat41
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/startup.bat46
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/startup.sh54
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/stop.bat44
-rw-r--r--msb-core/distributions/standalone/src/assembly/resource/stop.sh49
10 files changed, 0 insertions, 641 deletions
diff --git a/msb-core/distributions/pom.xml b/msb-core/distributions/pom.xml
deleted file mode 100644
index 977a42d..0000000
--- a/msb-core/distributions/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright 2016 ZTE Corporation.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
- Author: Zhaoxing Meng
- email: meng.zhaoxing1@zte.com.cn
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>msb-core-parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>distributions-parent</artifactId>
- <name>common-services-microservice-bus/msb-core/distributions</name>
- <packaging>pom</packaging>
- <version>1.1.0-SNAPSHOT</version>
-
- <modules>
- <module>standalone</module>
- </modules>
-
- <properties>
- <version.output>target/version</version.output>
- <dockerFileDir>src/main/docker</dockerFileDir>
- </properties>
-
-</project>
diff --git a/msb-core/distributions/standalone/pom.xml b/msb-core/distributions/standalone/pom.xml
deleted file mode 100644
index f279928..0000000
--- a/msb-core/distributions/standalone/pom.xml
+++ /dev/null
@@ -1,250 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright 2016 ZTE Corporation.
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
-
- Author: Zhaoxing Meng
- email: meng.zhaoxing1@zte.com.cn
-
--->
-<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
- <parent>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>distributions-parent</artifactId>
- <version>1.1.0-SNAPSHOT</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <artifactId>msb-core-standalone</artifactId>
- <name>common-services-microservice-bus/msb-core/distributions/standalone</name>
- <packaging>pom</packaging>
- <version>1.1.0-SNAPSHOT</version>
-
- <properties>
- <packageid>msb-standalone</packageid>
- <linux64id>linux64</linux64id>
- <win64id>win64</win64id>
- <linux64outputdir>target/assembly/${linux64id}</linux64outputdir>
- <win64outputdir>target/assembly/${win64id}</win64outputdir>
- </properties>
-
- <dependencies>
- <dependency>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>apiroute-standalone</artifactId>
- <version>${project.version}</version>
- <type>zip</type>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>redis-ext</artifactId>
- <type>tar.gz</type>
- <classifier>linux64</classifier>
- <version>${project.version}</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>openresty-ext</artifactId>
- <type>tar.gz</type>
- <classifier>linux64</classifier>
- <version>${project.version}</version>
- <optional>true</optional>
- </dependency>
- <dependency>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>eag-openresty-ext</artifactId>
- <type>zip</type>
- <version>${project.version}</version>
- <optional>true</optional>
- </dependency>
-
-
- </dependencies>
- <build>
-
- <plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-resources-dockerfile</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${version.output}</outputDirectory>
- <includeEmptyDirs>true</includeEmptyDirs>
- <resources>
- <resource>
- <directory>${dockerFileDir}</directory>
- <filtering>false</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- </resource>
- </resources>
- <overwrite>true</overwrite>
- </configuration>
- </execution>
- <execution>
- <id>copy-msb-resources-${linux64id}</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${linux64outputdir}</outputDirectory>
- <includeEmptyDirs>true</includeEmptyDirs>
- <resources>
- <resource>
- <directory>src/assembly/resource/</directory>
- <filtering>false</filtering>
- <includes>
- <include>**/*</include>
- </includes>
- <excludes>
- <exclude>**/*.bat</exclude>
- </excludes>
- </resource>
- </resources>
- <overwrite>true</overwrite>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>unpacktolinux64</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>apiroute-standalone</artifactId>
- <type>zip</type>
- </artifactItem>
- <artifactItem>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>redis-ext</artifactId>
- <type>tar.gz</type>
- <classifier>linux64</classifier>
- </artifactItem>
- <artifactItem>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>openresty-ext</artifactId>
- <type>tar.gz</type>
- <classifier>linux64</classifier>
- </artifactItem>
- </artifactItems>
- <excludes>**/*.bat,*.cmd</excludes>
- <outputDirectory>${linux64outputdir}</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename>
- </configuration>
- </execution>
-
- <execution>
- <id>eag-unpacktolinux64</id>
- <goals>
- <goal>unpack</goal>
- </goals>
- <phase>prepare-package</phase>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>openresty-ext</artifactId>
- <type>tar.gz</type>
- <classifier>linux64</classifier>
- </artifactItem>
- <artifactItem>
- <groupId>org.openo.common-services.microservice-bus</groupId>
- <artifactId>eag-openresty-ext</artifactId>
- <type>zip</type>
- </artifactItem>
- </artifactItems>
- <excludes>**/*.bat,*.cmd</excludes>
- <outputDirectory>${linux64outputdir}/eag</outputDirectory>
- <overWriteReleases>false</overWriteReleases>
- <overWriteSnapshots>true</overWriteSnapshots>
- <outputAbsoluteArtifactFilename>true</outputAbsoluteArtifactFilename>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
-
- <execution>
- <id>prepare-eag-openresty-linux</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target>
- <copy todir="${linux64outputdir}/eag/">
- <fileset dir="${linux64outputdir}/eag/openresty"/>
- </copy>
- <delete dir="${linux64outputdir}/eag/openresty" includeemptydirs="true"/>
- </target>
- </configuration>
- </execution>
-
- <execution>
- <id>distribution</id>
- <phase>package</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target name="distribution">
- <tar destfile="${version.output}/${packageid}-${project.version}-linux64.tar.gz" longfile="posix" compression="gzip">
- <tarfileset dir="target/assembly/linux64" filemode="0644" dirmode="0755">
- <exclude name="**/*.sh"/>
- <exclude name="openresty/nginx/sbin/nginx"/>
- <exclude name="eag/nginx/sbin/nginx"/>
- <exclude name="redis/redis-*"/>
- </tarfileset>
- <tarfileset dir="target/assembly/linux64" filemode="0755" dirmode="0755">
- <include name="**/*.sh"/>
- <include name="openresty/nginx/sbin/nginx"/>
- <include name="eag/nginx/sbin/nginx"/>
- <include name="redis/redis-*"/>
- </tarfileset>
- </tar>
- <attachartifact file="${version.output}/${packageid}-${project.version}-linux64.tar.gz" classifier="linux64" type="tar.gz"/>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
-</project>
diff --git a/msb-core/distributions/standalone/src/assembly/resource/servicesInstall.bat b/msb-core/distributions/standalone/src/assembly/resource/servicesInstall.bat
deleted file mode 100644
index d04d064..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/servicesInstall.bat
+++ /dev/null
@@ -1,38 +0,0 @@
-@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@REM Author: Zhaoxing Meng
-@REM email: meng.zhaoxing1@zte.com.cn
-@REM
-
-@echo off
-title msb install services
-
-set RUNHOME=%~dp0
-
-echo ### install redis
-cd "%RUNHOME%\redis"
-redisService.exe install
-
-echo ### install apiroute
-cd "%RUNHOME%\apiroute"
-apirouteService.exe install
-
-echo ### install openresty
-cd "%RUNHOME%\openresty\nginx"
-openrestyService.exe install
-
-:finalend
-cd "%RUNHOME%" \ No newline at end of file
diff --git a/msb-core/distributions/standalone/src/assembly/resource/servicesRestart.bat b/msb-core/distributions/standalone/src/assembly/resource/servicesRestart.bat
deleted file mode 100644
index c66a6e3..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/servicesRestart.bat
+++ /dev/null
@@ -1,38 +0,0 @@
-@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@REM Author: Zhaoxing Meng
-@REM email: meng.zhaoxing1@zte.com.cn
-@REM
-
-@echo off
-title msb restart services
-
-set RUNHOME=%~dp0
-
-echo ### restart redis
-cd "%RUNHOME%\redis"
-redisService.exe restart
-
-echo ### restart apiroute
-cd "%RUNHOME%\apiroute"
-apirouteService.exe restart
-
-echo ### restart openresty
-cd "%RUNHOME%\openresty\nginx"
-openrestyService.exe restart
-
-:finalend
-cd "%RUNHOME%" \ No newline at end of file
diff --git a/msb-core/distributions/standalone/src/assembly/resource/servicesStatus.bat b/msb-core/distributions/standalone/src/assembly/resource/servicesStatus.bat
deleted file mode 100644
index 3415747..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/servicesStatus.bat
+++ /dev/null
@@ -1,38 +0,0 @@
-@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@REM Author: Zhaoxing Meng
-@REM email: meng.zhaoxing1@zte.com.cn
-@REM
-
-@echo off
-title msb status services
-
-set RUNHOME=%~dp0
-
-echo ### status redis
-cd "%RUNHOME%\redis"
-redisService.exe status
-
-echo ### status apiroute
-cd "%RUNHOME%\apiroute"
-apirouteService.exe status
-
-echo ### status openresty
-cd "%RUNHOME%\openresty\nginx"
-openrestyService.exe status
-
-:finalend
-cd "%RUNHOME%" \ No newline at end of file
diff --git a/msb-core/distributions/standalone/src/assembly/resource/servicesUninstall.bat b/msb-core/distributions/standalone/src/assembly/resource/servicesUninstall.bat
deleted file mode 100644
index 5a5bc0b..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/servicesUninstall.bat
+++ /dev/null
@@ -1,41 +0,0 @@
-@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@REM Author: Zhaoxing Meng
-@REM email: meng.zhaoxing1@zte.com.cn
-@REM
-
-@echo off
-title msb uninstall services
-
-set RUNHOME=%~dp0
-
-echo ### uninstall redis
-cd "%RUNHOME%\redis"
-redisService.exe stop
-redisService.exe uninstall
-
-echo ### uninstall apiroute
-cd "%RUNHOME%\apiroute"
-apirouteService.exe stop
-apirouteService.exe uninstall
-
-echo ### uninstall openresty
-cd "%RUNHOME%\openresty\nginx"
-openrestyService.exe stop
-openrestyService.exe uninstall
-
-:finalend
-cd "%RUNHOME%" \ No newline at end of file
diff --git a/msb-core/distributions/standalone/src/assembly/resource/startup.bat b/msb-core/distributions/standalone/src/assembly/resource/startup.bat
deleted file mode 100644
index 30e23de..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/startup.bat
+++ /dev/null
@@ -1,46 +0,0 @@
-@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@REM Author: Zhaoxing Meng
-@REM email: meng.zhaoxing1@zte.com.cn
-@REM
-
-@echo off
-title msb
-
-set RUNHOME=%~dp0
-echo ##RUNHOME %RUNHOME%
-
-rem dir /B /S run.bat > %~dp0\run.tmp
-rem For /f %%i in (%~dp0\run.tmp) DO start %%i
-
-echo ### Starting redis
-start /D %RUNHOME%redis run.bat
-
-echo ### Starting apiroute
-start /D %RUNHOME%apiroute run.bat run
-
-echo ### Starting openresty
-start /D %RUNHOME%openresty run.bat
-
-echo ### Starting external API gateway
-start /D %RUNHOME%eag run.bat
-
-echo Startup will be finished in background...
-echo + Run "start .\apiroute-works\logs\application.log" to see what's happening
-echo + Wait a minute
-echo + Open "http://<HOST>" in your browser to access the microservice bus !
-rem del run.tmp
-:finalend \ No newline at end of file
diff --git a/msb-core/distributions/standalone/src/assembly/resource/startup.sh b/msb-core/distributions/standalone/src/assembly/resource/startup.sh
deleted file mode 100644
index aa4117d..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/startup.sh
+++ /dev/null
@@ -1,54 +0,0 @@
-#!/bin/sh
-#
-# Copyright 2016 ZTE Corporation.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# Author: Zhaoxing Meng
-# email: meng.zhaoxing1@zte.com.cn
-#
-
-DIRNAME=`dirname $0`
-RUNHOME=`cd $DIRNAME/; pwd`
-echo @RUNHOME@ $RUNHOME
-
-echo "### Starting redis";
-#nohup ./wso2bps/bin/wso2server.sh >>./OpenTOSCA/nohup.log 2>&1 &
-cd ./redis
-./run.sh &
-cd $RUNHOME
-
-
-echo "\n\n### Starting apiroute"
-cd ./apiroute
-./run.sh &
-cd $RUNHOME
-
-
-echo "### Starting openresty...";
-# nohup ./startup.sh >>./nohup.log 2>&1 &
-cd ./openresty
-./run.sh &
-cd $RUNHOME
-
-echo "### Starting external API gateway...";
-# nohup ./startup.sh >>./nohup.log 2>&1 &
-cd ./eag
-./run.sh &
-cd $RUNHOME
-
-echo "Startup will be finished in background...";
-echo " + Run 'tail ./apiroute-works/logs/application.log -f' to see what's happening";
-echo " + Wait a minute";
-echo " + Open 'http://<HOST>' in your browser to access the microservice bus
-stem";
diff --git a/msb-core/distributions/standalone/src/assembly/resource/stop.bat b/msb-core/distributions/standalone/src/assembly/resource/stop.bat
deleted file mode 100644
index 0ebe78e..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/stop.bat
+++ /dev/null
@@ -1,44 +0,0 @@
-@REM
-@REM Copyright 2016 ZTE Corporation.
-@REM
-@REM Licensed under the Apache License, Version 2.0 (the "License");
-@REM you may not use this file except in compliance with the License.
-@REM You may obtain a copy of the License at
-@REM
-@REM http://www.apache.org/licenses/LICENSE-2.0
-@REM
-@REM Unless required by applicable law or agreed to in writing, software
-@REM distributed under the License is distributed on an "AS IS" BASIS,
-@REM WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-@REM See the License for the specific language governing permissions and
-@REM limitations under the License.
-@REM
-@REM Author: Zhaoxing Meng
-@REM email: meng.zhaoxing1@zte.com.cn
-@REM
-
-@echo off
-title stopping msb
-
-set RUNHOME=%~dp0
-echo ##RUNHOME %RUNHOME%
-
-rem dir /B /S stop.bat > %~dp0\stop.tmp
-rem For /f %%i in (%~dp0\stop.tmp) DO start %%i
-
-echo ### Stopping openresty
-start /D %RUNHOME%openresty stop.bat
-
-echo ### Stopping external API gateway
-start /D %RUNHOME%eag stop.bat
-
-echo ### Stopping apiroute
-start /D %RUNHOME%apiroute stop.bat
-
-echo ### Stopping redis
-start /D %RUNHOME%redis stop.bat
-
-echo "Closing signal has been sent!";
-echo "Stopping in background,wait for a moment";
-rem del stop.tmp
-:finalend \ No newline at end of file
diff --git a/msb-core/distributions/standalone/src/assembly/resource/stop.sh b/msb-core/distributions/standalone/src/assembly/resource/stop.sh
deleted file mode 100644
index b7c570b..0000000
--- a/msb-core/distributions/standalone/src/assembly/resource/stop.sh
+++ /dev/null
@@ -1,49 +0,0 @@
-#!/bin/sh
-#
-# Copyright 2016 ZTE Corporation.
-#
-# Licensed under the Apache License, Version 2.0 (the "License");
-# you may not use this file except in compliance with the License.
-# You may obtain a copy of the License at
-#
-# http://www.apache.org/licenses/LICENSE-2.0
-#
-# Unless required by applicable law or agreed to in writing, software
-# distributed under the License is distributed on an "AS IS" BASIS,
-# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-# See the License for the specific language governing permissions and
-# limitations under the License.
-#
-# Author: Zhaoxing Meng
-# email: meng.zhaoxing1@zte.com.cn
-#
-
-DIRNAME=`dirname $0`
-RUNHOME=`cd $DIRNAME/; pwd`
-echo @RUNHOME@ $RUNHOME
-
-echo "### Stopping openresty...";
-# nohup ./startup.sh >>./nohup.log 2>&1 &
-cd ./openresty
-./stop.sh &
-cd $RUNHOME
-
-echo "### Stopping external API gateway...";
-# nohup ./startup.sh >>./nohup.log 2>&1 &
-cd ./eag
-./stop.sh &
-cd $RUNHOME
-
-echo "\n\n### Stopping apiroute"
-cd ./apiroute
-./stop.sh &
-cd $RUNHOME
-
-echo "### Stopping redis";
-cd ./redis
-./stop.sh &
-cd $RUNHOME
-
-echo "Closing signal has been sent!";
-echo "Stopping in background,wait for a moment";
-sleep 3; \ No newline at end of file