summaryrefslogtreecommitdiffstats
path: root/test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh
diff options
context:
space:
mode:
authorDominic Lunanuova <dgl@research.att.com>2018-04-14 01:33:15 +0000
committerDominic Lunanuova <dgl@research.att.com>2018-04-14 01:33:29 +0000
commit9dc8b5f76d6d2aaacb6521defd1b37ba79bf9c1c (patch)
tree62889ba9652d6648fcfef9b17dd30a35d4ee0591 /test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh
parent7469b0d68f5021eaba4770f5f30d0b7cda006d37 (diff)
DMaaP busontroller integration w MR
This replaces mock server for MR with actual MR containers. Refactored MR launch script to be common. Neither MR or Buscontroller uses AAF. Change-Id: I30b262f17fe4d293fc2b5870fed6a977438e9cef Signed-off-by: Dominic Lunanuova <dgl@research.att.com> Issue-ID: DMAAP-320
Diffstat (limited to 'test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh')
-rwxr-xr-xtest/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh24
1 files changed, 24 insertions, 0 deletions
diff --git a/test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh b/test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh
new file mode 100755
index 000000000..f57385707
--- /dev/null
+++ b/test/csit/scripts/dmaap-message-router/dmaap-mr-teardown.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+#
+# Copyright 2016-2017 Huawei Technologies Co., Ltd.
+#
+# 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.
+#
+# Modifications copyright (c) 2018 AT&T Intellectual Property
+#
+
+function dmaap_mr_teardown() {
+kill-instance.sh dockercompose_dmaap_1
+kill-instance.sh dockercompose_kafka_1
+kill-instance.sh dockercompose_zookeeper_1
+}