Fix for aai in vcpe
[appc/deployment.git] / installation / appc / src / main / scripts / installFeatures.sh
index 98844ef..4138fdc 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 \
@@ -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
+