Merge "Changing scripts & properties for A&AI connection"
[appc/deployment.git] / platform-logic / installer / src / main / resources / VNF_DG_MAPPING.sql
1
2 -- ============LICENSE_START=======================================================
3 -- APPC
4 -- ================================================================================
5 -- Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6 -- ================================================================================
7 -- Licensed under the Apache License, Version 2.0 (the "License");
8 -- you may not use this file except in compliance with the License.
9 -- You may obtain a copy of the License at
10 -- 
11 --      http://www.apache.org/licenses/LICENSE-2.0
12 -- 
13 -- Unless required by applicable law or agreed to in writing, software
14 -- distributed under the License is distributed on an "AS IS" BASIS,
15 -- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 -- See the License for the specific language governing permissions and
17 -- limitations under the License.
18 -- ============LICENSE_END=========================================================
19
20
21 --
22 -- Table structure for table `VNF_DG_MAPPING`
23 --
24
25 USE sdnctl;
26 DROP TABLE IF EXISTS `VNF_DG_MAPPING`;
27 /*!40101 SET @saved_cs_client     = @@character_set_client */;
28 /*!40101 SET character_set_client = utf8 */;
29 CREATE TABLE `VNF_DG_MAPPING` (
30   `action` varchar(50) NOT NULL,
31   `api_version` varchar(50) DEFAULT NULL,
32   `vnf_type` varchar(50) DEFAULT NULL,
33   `vnf_version` varchar(50) DEFAULT NULL,
34   `dg_name` varchar(50) NOT NULL,
35   `dg_version` varchar(50) DEFAULT NULL,
36   `dg_module` varchar(50) NOT NULL,
37   UNIQUE KEY `INPUT_CONSTRAINT` (`action`,`api_version`,`vnf_type`,`vnf_version`)
38 ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
39 /*!40101 SET character_set_client = @saved_cs_client */;
40
41 --
42 -- Dumping data for table `VNF_DG_MAPPING`
43 --
44
45 LOCK TABLES `VNF_DG_MAPPING` WRITE;
46 /*!40000 ALTER TABLE `VNF_DG_MAPPING` DISABLE KEYS */;
47 INSERT INTO `VNF_DG_MAPPING` VALUES ('Restart','2.01','','','legacy_operation','2.0.0','APPC'), ('Restart','2.00','','','Restart_VNF','2.0.1','APPC');
48
49 /*!40000 ALTER TABLE `VNF_DG_MAPPING` ENABLE KEYS */;
50 UNLOCK TABLES;