Fix ODL Carbon Bouncy Castle Issue
This fix will use the appropriate version and JARs of the bouncy castle feature that should fix the netconf error going on during VF Netconf/Restconf mounting process in APPC.
Change-Id: Iafb8cd1e434e5a08d0d98d5f8106efa95e03aa83
Signed-off-by: Hector Anapan <ha076r@att.com>
Issue-Id: [APPC-270]
diff --git a/installation/appc/src/main/scripts/installFeatures.sh b/installation/appc/src/main/scripts/installFeatures.sh
index 58f9d9c..47d3443 100644
--- a/installation/appc/src/main/scripts/installFeatures.sh
+++ b/installation/appc/src/main/scripts/installFeatures.sh
@@ -58,14 +58,15 @@
appc-ansible-adapter \
appc-sequence-generator"
+# Temp fix to fix bouncycastle issue that is preventing netconf to work correctly
+wget -P /opt/opendaylight/current/deploy https://www.bouncycastle.org/download/bcprov-jdk15on-158.jar
+wget -P /opt/opendaylight/current/deploy https://www.bouncycastle.org/download/bcprov-ext-jdk15on-158.jar
+
echo "Enabling core APP-C features"
featureInstall odl-netconf-connector-all
featureInstall odl-restconf-noauth
featureInstall odl-netconf-topology
-# When the karaf netconf feature gets installed, need to replace default password with OpenECOMP APP-C ODL Password
-sed -i 's/admin<\/password>/Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U<\/password>/' ${ODL_HOME}/etc/opendaylight/karaf/99-netconf-connector.xml
-
echo "Installing APP-C Features"
echo ""