aboutsummaryrefslogtreecommitdiffstats
path: root/docker/docker-env-conf.sh
diff options
context:
space:
mode:
authoryangyan <yangyanyj@chinamobile.com>2019-04-19 16:23:46 +0800
committeryangyan <yangyanyj@chinamobile.com>2019-04-19 16:42:06 +0800
commitc8283bc11228d2249919007b819815702fd48e83 (patch)
tree305c1ef963d5df5b1e77abe6bcbcb31e1f0cb1c6 /docker/docker-env-conf.sh
parentaffcd0828f0dd0941ba546aca5bce05e8ee1a598 (diff)
Update parser code
Issue-ID: MODELING-153 Change-Id: Idcdd5f09decbb6a23e96c1191c0f216b672fcf28 Signed-off-by: yangyan <yangyanyj@chinamobile.com>
Diffstat (limited to 'docker/docker-env-conf.sh')
-rw-r--r--docker/docker-env-conf.sh16
1 files changed, 6 insertions, 10 deletions
diff --git a/docker/docker-env-conf.sh b/docker/docker-env-conf.sh
index d94a195..985aada 100644
--- a/docker/docker-env-conf.sh
+++ b/docker/docker-env-conf.sh
@@ -9,16 +9,12 @@ install_sf(){
# get binary zip from nexus - vfc-nfvo-genericparser
-# wget -q -O vfc-nfvo-genericparser.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.genericparser&a=vfc-nfvo-genericparser&v=LATEST&e=zip' && \
-# unzip vfc-nfvo-genericparser.zip && \
-# rm -rf vfc-nfvo-genericparser.zip && \
- wget -q -O vfc-nfvo-genericparser.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vfc.nfvo.genericparser&a=vfc-nfvo-genericparser&v=LATEST&e=zip' && \
- unzip vfc-nfvo-genericparser.zip && \
- rm -rf vfc-nfvo-genericparser.zip && \
- pip install --upgrade setuptools pip -i https://mirrors.aliyun.com/pypi/simple/ && \
-
-# pip install --no-cache-dir --pre -r /service/vfc/nfvo/genericparser/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
- pip install --no-cache-dir --pre -r /service/modeling/genericparser/requirements.txt -i https://mirrors.aliyun.com/pypi/simple/
+ wget -q -O modeling-genericparser.zip 'https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.modeling.toscaparsers.genericparser&a=modeling-toscaparsers-genericparserr&v=LATEST&e=zip' && \
+ unzip modeling-genericparser.zip && \
+ rm -rf modeling-genericparser.zip && \
+ pip install --upgrade setuptools pip && \
+
+ pip install --no-cache-dir --pre -r /service/modeling/toscaparsers/genericparser/requirements.txt
}
add_user(){