Install odl cluster features
[appc/deployment.git] / installation / appc / src / main / scripts / installFeatures.sh
index 98844ef..eb10b5c 100644 (file)
@@ -4,7 +4,7 @@
 # ============LICENSE_START=======================================================
 # APPC
 # ================================================================================
-# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved.
 # ================================================================================
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
@@ -83,7 +83,7 @@ APPC_FEATURES_1=" \
  onap-appc-config-encryption-tool \
  onap-appc-config-flow-controller \
  onap-appc-config-params \
- onap-appc-artifact-handler
+ onap-appc-artifact-handler \
  onap-appc-aai-client \
  onap-appc-event-listener \
  onap-appc-network-inventory-client \
@@ -126,10 +126,10 @@ APPC_FEATURES_1=" \
 
 
 echo "Enabling core APP-C features"
-featureInstall odl-netconf-connector-all
+featureInstall odl-netconf-connector
 featureInstall odl-restconf-noauth
-featureInstall odl-netconf-topology
-
+featureInstall odl-netconf-clustered-topology
+featureInstall odl-mdsal-clustering
 sleep 7s
 echo "Installing APP-C Features"
 echo ""
@@ -175,3 +175,8 @@ do
   sleep 7s
   echo "Sleep Finished"
 done
+
+#Copy json template file for use by the generic restart DG aai fix
+mkdir -p /opt/onap/appc/restapi/templates
+cp /opt/onap/appc/data/aai-named-query.json /opt/onap/appc/restapi/templates/aai-named-query.json
+