From b4c486a20d3be2d580921d00506dd0771692fd7a Mon Sep 17 00:00:00 2001 From: Patrick Brady Date: Thu, 3 Aug 2017 14:26:48 -0700 Subject: [PATCH] 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 Issue: APPC-88 --- .../main/{scripts => resources}/VNF_DG_MAPPING.sql | 20 ++++++++++++++++++++ platform-logic/installer/src/main/scripts/install.sh | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) rename platform-logic/installer/src/main/{scripts => resources}/VNF_DG_MAPPING.sql (51%) diff --git a/platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql b/platform-logic/installer/src/main/resources/VNF_DG_MAPPING.sql similarity index 51% rename from platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql rename to 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 -- 2.16.6