aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-sdnc-adapter/pom.xml
diff options
context:
space:
mode:
authorSeshu Kumar M <seshu.kumar.m@huawei.com>2020-05-20 14:15:35 +0000
committerGerrit Code Review <gerrit@onap.org>2020-05-20 14:15:35 +0000
commit5dd30849655e5a218c63d6c3855e8916399e49e7 (patch)
tree932ca9b7e72ad2d4ae74a7bfee42c8f2bb23599b /adapters/mso-sdnc-adapter/pom.xml
parent66623739f8cddea4acb76d449efb31eeab9bd1ef (diff)
parent6c13a6a736ef4d71bad9b709eb986db811b3eb08 (diff)
Merge "Allowing user-params to be empty"
Diffstat (limited to 'adapters/mso-sdnc-adapter/pom.xml')
0 files changed, 0 insertions, 0 deletions
lobal */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
#!/bin/bash
# Copyright (c) 2017 Wind River Systems, Inc.
#
# 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.

#!/bin/bash

sed -i "s/MSB_SERVICE_ADDR =.*/MSB_SERVICE_ADDR = \"${MSB_ADDR}\"/g" newton/pub/config/config.py
sed -i "s/MSB_SERVICE_PORT =.*/MSB_SERVICE_PORT = \"${MSB_PORT}\"/g" newton/pub/config/config.py
sed -i "s/AAI_ADDR =.*/AAI_ADDR = \"${AAI_ADDR}\"/g" newton/pub/config/config.py
sed -i "s/AAI_PORT =.*/AAI_PORT = \"${AAI_PORT}\"/g" newton/pub/config/config.py
sed -i "s/AAI_SCHEMA_VERSION =.*/AAI_SCHEMA_VERSION = \"${AAI_SCHEMA_VERSION}\"/g" newton/pub/config/config.py
sed -i "s/AAI_USERNAME =.*/AAI_USERNAME = \"${AAI_USERNAME}\"/g" newton/pub/config/config.py
sed -i "s/AAI_PASSWORD =.*/AAI_PASSWORD = \"${AAI_PASSWORD}\"/g" newton/pub/config/config.py

memcached -d -m 2048 -u root -c 1024 -p 11211 -P /tmp/memcached1.pid

nohup python manage.py runserver 0.0.0.0:9003 2>&1 &

while [ ! -f logs/runtime_newton.log ]; do
    sleep 1
done

tail -F logs/runtime_newton.log