summaryrefslogtreecommitdiffstats
path: root/boot
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2017-11-01 16:18:09 -0400
committerLusheng Ji <lji@research.att.com>2017-11-01 16:18:17 -0400
commit695894e3f7fe880f028beb313e917e41d766abe1 (patch)
treea4d2020b211f61d0f3478d8c7080fa34125e1096 /boot
parent74cb51c88f99f9128d43f4645c6f2aa86163d43b (diff)
Add a separate input parameter file for CDAP
Using a separate input file for CDAP blueprint so we can scope VM flavor just for CDAP VMs Issue-Id: DCAEGEN2-191 Change-Id: Iae50b38f0128fe3d510fb4eeec4e143fe3006566 Signed-off-by: Lusheng Ji <lji@research.att.com>
Diffstat (limited to 'boot')
-rw-r--r--boot/dcae2_install.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/boot/dcae2_install.sh b/boot/dcae2_install.sh
index c1dbaa7a..99cfd34d 100644
--- a/boot/dcae2_install.sh
+++ b/boot/dcae2_install.sh
@@ -103,6 +103,7 @@ chmod 777 /opt/app/config/key
rm -rf /opt/app/inputs-templates
mkdir -p /opt/app/inputs-templates
wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/inputs.yaml
+wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/cdapinputs.yaml
wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/phinputs.yaml
wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/dhinputs.yaml
wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/invinputs.yaml
@@ -111,6 +112,7 @@ wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositor
wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/he-ip.yaml
wget -P /opt/app/inputs-templates https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.platform.blueprints/releases/input-templates/hr-ip.yaml
+
# generate blueprint input files
pip install jinja2
wget https://nexus.onap.org/service/local/repositories/raw/content/org.onap.dcaegen2.deployments/releases/scripts/detemplate-bpinputs.py && (python detemplate-bpinputs.py /opt/config /opt/app/inputs-templates /opt/app/config; rm detemplate-bpinputs.py)