diff options
author | pswang <pshaobow@gmail.com> | 2017-09-27 12:45:03 -0500 |
---|---|---|
committer | Lusheng Ji <lji@research.att.com> | 2017-09-27 18:36:22 +0000 |
commit | 212b7d92072668c732b8356b6912e7e7462fcfff (patch) | |
tree | 8190baa49c7ec5d02941c01bb38c77d8bf170e1f /test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh | |
parent | 0bf24a8901a5a2b7c5b861f9b281321c251fe618 (diff) |
Add dcaegen2 test cases for HTTPS
Change-Id: Iaa2cf237015906a151b399b330ac71dd1e48fa0c
Signed-off-by: pswang <pshaobow@gmail.com>
IssueId: DCAEGEN2-111
Diffstat (limited to 'test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh')
-rwxr-xr-x | test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh b/test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh new file mode 100755 index 000000000..12989911b --- /dev/null +++ b/test/csit/tests/dcaegen2/testcases/resources/vesc_enable_https_auth.sh @@ -0,0 +1,23 @@ +#!/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. + +docker exec -it vesc /opt/app/VESCollector/bin/VESrestfulCollector.sh stop +sleep 2 +docker cp ${WORKSPACE}/test/csit/tests/dcaegen2/testcases/resources/collector.properties vesc:/opt/app/VESCollector/etc +sleep 10 +docker exec -id vesc /opt/app/VESCollector/bin/VESrestfulCollector.sh start +sleep 5 +echo "VES Collector Restarted" |