3 # -------------------------------------------------------------------------
4 # Copyright (c) 2015-2017 AT&T Intellectual Property
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
10 # http://www.apache.org/licenses/LICENSE-2.0
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
18 # -------------------------------------------------------------------------
21 # Call osdf app after setting LD_LIBRARY_PATH for oracle client, postgres client, etc.
25 # Environment variables below are for ORACLE_HOME and such things, and not needed for 1707 onwards
26 # . ../dependencies/env.sh
28 bash ../etc/make-certs.sh # create the https certificates if they are not present
34 if [ ! -e "osdf-optim" ]; then
38 tar xzf ../../dependencies/SNIROOptimizationPack.tgz
40 cd ../osdf-optim/pywheels
41 pip install docopt* jsonschema*
43 cp etc/run-case-local.sh osdf-optim/run/
47 export SNIRO_MANAGER_CONFIG_FILE="$1" # this file is passed by the DCAE controller
50 # export FLASK_APP=osdfapp.py
53 python osdfapp.py # running the app