aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/installer
diff options
context:
space:
mode:
authorPatrick Brady <pb071s@att.com>2017-08-03 14:26:48 -0700
committerPatrick Brady <pb071s@att.com>2017-08-03 14:29:22 -0700
commitb4c486a20d3be2d580921d00506dd0771692fd7a (patch)
treed0b62610d67e0d480a92649a2e9e155344c87a63 /platform-logic/installer
parent30eff3fa5c30cd79b699b881cc0a689b43977b6f (diff)
Correcting new vnf_dg_mapping sql
The path was wrong to the sql script before, and it was not included in the bundle. Change-Id: Id34950dcb424b9c71f203da12820a27ed77d7d45 Signed-off-by: Patrick Brady <pb071s@att.com> Issue: APPC-88
Diffstat (limited to 'platform-logic/installer')
-rw-r--r--platform-logic/installer/src/main/resources/VNF_DG_MAPPING.sql (renamed from platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql)20
-rw-r--r--platform-logic/installer/src/main/scripts/install.sh2
2 files changed, 21 insertions, 1 deletions
diff --git a/platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql b/platform-logic/installer/src/main/resources/VNF_DG_MAPPING.sql
index 764e694..c978bbc 100644
--- a/platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql
+++ b/platform-logic/installer/src/main/resources/VNF_DG_MAPPING.sql
@@ -1,3 +1,23 @@
+
+-- ============LICENSE_START=======================================================
+-- APPC
+-- ================================================================================
+-- Copyright (C) 2017 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.
+-- You may obtain a copy of the License at
+--
+-- http://www.apache.org/licenses/LICENSE-2.0
+--
+-- Unless required by applicable law or agreed to in writing, software
+-- distributed under the License is distributed on an "AS IS" BASIS,
+-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+-- See the License for the specific language governing permissions and
+-- limitations under the License.
+-- ============LICENSE_END=========================================================
+
+
--
-- Table structure for table `VNF_DG_MAPPING`
--
diff --git a/platform-logic/installer/src/main/scripts/install.sh b/platform-logic/installer/src/main/scripts/install.sh
index 9711b70..77052ae 100644
--- a/platform-logic/installer/src/main/scripts/install.sh
+++ b/platform-logic/installer/src/main/scripts/install.sh
@@ -52,5 +52,5 @@ MYSQL_DB=${MYSQL_DB:-sdnctl}
MYSQL_HOST=${MYSQL_HOST:-dbhost}
mysql --user=${MYSQL_USER} --password=${MYSQL_PWD} --host=${MYSQL_HOST} ${MYSQL_DB} <<-END
-SOURCE VNF_DG_MAPPING.sql
+SOURCE /opt/openecomp/appc/svclogic/config/VNF_DG_MAPPING.sql
END