Code Review
/
vfc
/
nfvo
/
wfengine.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Fix the docker build error for vfc-nfvo-wfengine
[vfc/nfvo/wfengine.git]
/
wfenginemgrservice
/
src
/
main
/
docker
/
bin
/
run.sh
diff --git
a/wfenginemgrservice/src/main/docker/bin/run.sh
b/wfenginemgrservice/src/main/docker/bin/run.sh
index
4ce6078
..
1ffff90
100644
(file)
--- a/
wfenginemgrservice/src/main/docker/bin/run.sh
+++ b/
wfenginemgrservice/src/main/docker/bin/run.sh
@@
-34,10
+34,13
@@
else
fi
echo " dwApp_MSB_ADDR=${dwApp_msbClientConfig_msbSvrIp}:${dwApp_msbClientConfig_msbSvrPort}"
fi
echo " dwApp_MSB_ADDR=${dwApp_msbClientConfig_msbSvrIp}:${dwApp_msbClientConfig_msbSvrPort}"
+sed -i "s/127.0.0.1/$dwApp_msbClientConfig_msbSvrIp/g" ./conf/workflow.yml
+sed -i "s/80/$dwApp_msbClientConfig_msbSvrPort/g" ./conf/workflow.yml
+
if [ -f "$RUNHOME/setenv.sh" ]; then
if [ -f "$RUNHOME/setenv.sh" ]; then
-
.
"$RUNHOME/setenv.sh"
+
"$RUNHOME/setenv.sh"
else
else
-echo "can not found $RUNHOME/setenv.sh"
+
echo "can not found $RUNHOME/setenv.sh"
fi
echo ================== ENV_INFO =============================================
fi
echo ================== ENV_INFO =============================================