diff options
author | Patrick Brady <pb071s@att.com> | 2017-08-03 14:26:48 -0700 |
---|---|---|
committer | Patrick Brady <pb071s@att.com> | 2017-08-03 14:29:22 -0700 |
commit | b4c486a20d3be2d580921d00506dd0771692fd7a (patch) | |
tree | d0b62610d67e0d480a92649a2e9e155344c87a63 /platform-logic/installer/src/main/scripts | |
parent | 30eff3fa5c30cd79b699b881cc0a689b43977b6f (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/src/main/scripts')
-rw-r--r-- | platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql | 30 | ||||
-rw-r--r-- | platform-logic/installer/src/main/scripts/install.sh | 2 |
2 files changed, 1 insertions, 31 deletions
diff --git a/platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql b/platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql deleted file mode 100644 index 764e694..0000000 --- a/platform-logic/installer/src/main/scripts/VNF_DG_MAPPING.sql +++ /dev/null @@ -1,30 +0,0 @@ --- --- Table structure for table `VNF_DG_MAPPING` --- - -USE sdnctl; -DROP TABLE IF EXISTS `VNF_DG_MAPPING`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `VNF_DG_MAPPING` ( - `action` varchar(50) NOT NULL, - `api_version` varchar(50) DEFAULT NULL, - `vnf_type` varchar(50) DEFAULT NULL, - `vnf_version` varchar(50) DEFAULT NULL, - `dg_name` varchar(50) NOT NULL, - `dg_version` varchar(50) DEFAULT NULL, - `dg_module` varchar(50) NOT NULL, - UNIQUE KEY `INPUT_CONSTRAINT` (`action`,`api_version`,`vnf_type`,`vnf_version`) -) ENGINE=InnoDB DEFAULT CHARSET=latin1; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `VNF_DG_MAPPING` --- - -LOCK TABLES `VNF_DG_MAPPING` WRITE; -/*!40000 ALTER TABLE `VNF_DG_MAPPING` DISABLE KEYS */; -INSERT INTO `VNF_DG_MAPPING` VALUES ('Restart','2.01','','','legacy_operation','2.0.0','APPC'), ('Restart','2.00','','','Restart_VNF','2.0.1','APPC'); - -/*!40000 ALTER TABLE `VNF_DG_MAPPING` ENABLE KEYS */; -UNLOCK TABLES; 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 |