/*
 Navicat Premium Data Transfer

 Source Server         : local_mariadb
 Source Server Type    : MariaDB
 Source Server Version : 100338 (10.3.38-MariaDB)
 Source Host           : localhost:33066
 Source Schema         : omc_db

 Target Server Type    : MariaDB
 Target Server Version : 100338 (10.3.38-MariaDB)
 File Encoding         : 65001

 Date: 14/05/2024 10:37:36
*/

SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;

-- ----------------------------
-- Table structure for mml_http_map
-- ----------------------------
DROP TABLE IF EXISTS `mml_http_map`;
CREATE TABLE `mml_http_map`  (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ne_type` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `operation` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `object` varchar(16) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `method` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `uri` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `ext_uri` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `param_tag` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `params` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  `input` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  `output` longtext CHARACTER SET utf8mb4 COLLATE utf8mb4_bin NULL DEFAULT NULL,
  PRIMARY KEY (`id`) USING BTREE,
  INDEX `id`(`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 35 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_general_ci ROW_FORMAT = Dynamic;

-- ----------------------------
-- Records of mml_http_map
-- ----------------------------
INSERT INTO `mml_http_map` VALUES (1, 'OMC', 'dsp', 'sysinfo', 'Get', '/api/rest/systemManagement/v1/sysInfo', '/%s', NULL, NULL, '{}', '{\r\n    \"retFmt\": \"GetNF\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"NE System Information\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"neType\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"neId\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 28\r\n        },        \r\n        {\r\n            \"name\": \"hostName\",\r\n            \"display\": \"Host name\",\r\n            \"length\": 16\r\n        },\r\n        {\r\n            \"name\": \"osInfo\",\r\n            \"display\": \"OS information\",\r\n            \"length\": 128\r\n        },\r\n        {\r\n            \"name\": \"dbInfo\",\r\n            \"display\": \"Database information\",\r\n            \"length\": 80\r\n        },\r\n        {\r\n            \"name\": \"version\",\r\n            \"display\": \"Software version\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"ipAddr\",\r\n            \"display\": \"IP address\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"port\",\r\n            \"display\": \"Port\",\r\n            \"length\": 6\r\n        },\r\n        {\r\n            \"name\": \"cpus\",\r\n            \"display\": \"CPUs\",\r\n            \"length\": 4\r\n        },\r\n        {\r\n            \"name\": \"totalMem\",\r\n            \"display\": \"Total memory(KB)\",\r\n            \"length\": 11\r\n        }                \r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (2, 'OMC', 'lst', 'memap', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Managed Element Map\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"rm_uid\",\r\n            \"display\": \"Resource management UID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"ne_name\",\r\n            \"display\": \"NE name\",\r\n            \"length\": 28\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (3, 'OMC', 'lst', 'neinfo', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Network element information\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 16\r\n        },\r\n        {\r\n            \"name\": \"rm_uid\",\r\n            \"display\": \"Resource management UID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"ne_name\",\r\n            \"display\": \"NE name\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"pv_flag\",\r\n            \"display\": \"PV flag\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ip\",\r\n            \"display\": \"IP address\",\r\n            \"length\": 32\r\n        },\r\n        {\r\n            \"name\": \"port\",\r\n            \"display\": \"Port\",\r\n            \"length\": 6\r\n        },\r\n        {\r\n            \"name\": \"status\",\r\n            \"display\": \"Status\",\r\n            \"length\": 10,\r\n            \"alias\": [\r\n                \"offline\",\r\n                \"online\",\r\n                \"standby\",\r\n                \"maintain\"\r\n            ]\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}\r\n');
INSERT INTO `mml_http_map` VALUES (4, 'OMC', 'add', 'neinfo', 'Post', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '', '{\"bodyFmt\":\"PostDB\", \"bodyKey\":\"ne_info\"}', '{\r\n    \"retFmt\": \"PostDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}\r\n');
INSERT INTO `mml_http_map` VALUES (5, 'OMC', 'del', 'neinfo', 'Delete', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (6, 'OMC', 'mod', 'neinfo', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_info', NULL, NULL, '?loc=', '{\"bodyFmt\":\"PutDB\", \"bodyKey\":\"ne_info\"}', '{\r\n    \"retFmt\": \"PutDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (7, 'OMC', 'dsp', 'alarm', 'Get', '/api/rest/dataManagement/v1/omc_db/alarm', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Alarm Information\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE UID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"ne_name\",\r\n            \"display\": \"NE name\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"alarm_seq\",\r\n            \"display\": \"Alarm sequence\",\r\n            \"length\": 11\r\n        },\r\n        {\r\n            \"name\": \"alarm_title\",\r\n            \"display\": \"Alarm title\",\r\n            \"length\": 30\r\n        },  \r\n        {\r\n            \"name\": \"orig_severity\",\r\n            \"display\": \"Original severity\",\r\n            \"length\": 11         \r\n        },\r\n        {\r\n            \"name\": \"pv_flag\",\r\n            \"display\": \"PV flag\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"event_time\",\r\n            \"display\": \"Event time\",\r\n            \"length\": 20\r\n         }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (8, 'OMC', 'lst', 'measuretask', 'Get', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Performance Task Information\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"id\",\r\n            \"display\": \"Task ID\",\r\n            \"length\": 11\r\n        },\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_ids\",\r\n            \"display\": \"NE ID Set\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"granul_option\",\r\n            \"display\": \"Time granulity\",\r\n            \"length\": 5\r\n        },\r\n        {\r\n            \"name\": \"kpi_set\",\r\n            \"display\": \"KPI set\",\r\n            \"length\": 60\r\n        },\r\n        {\r\n            \"name\": \"start_time\",\r\n            \"display\": \"Start time\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"end_time\",\r\n            \"display\": \"End time\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"status\",\r\n            \"display\": \"Status\",\r\n            \"length\": 8\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (9, 'OMC', 'add', 'measuretask', 'Post', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '', '{\"bodyFmt\":\"PostDB\", \"bodyKey\":\"measure_task\"}', '{\r\n    \"retFmt\": \"PostDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}\r\n');
INSERT INTO `mml_http_map` VALUES (10, 'OMC', 'del', 'measuretask', 'Delete', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (11, 'OMC', 'mod', 'measuretask', 'Put', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{\"bodyFmt\":\"PutDB\", \"bodyKey\":\"measure_task\"}', '{\r\n    \"retFmt\": \"PutDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (12, 'OMC', 'lst', 'measuredata', 'Get', '/api/rest/dataManagement/v1/omc_db/measure_data', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Performance Measure Data\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"task_id\",\r\n            \"display\": \"Task ID\",\r\n            \"length\": 11\r\n        },\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"rm_uid\",\r\n            \"display\": \"Resource management UID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"ne_name\",\r\n            \"display\": \"NE name\",\r\n            \"length\": 28\r\n        },        \r\n        {\r\n            \"name\": \"granul_option\",\r\n            \"display\": \"Time granulity\",\r\n            \"length\": 5\r\n        },\r\n        {\r\n            \"name\": \"kpi_id\",\r\n            \"display\": \"KPI ID\",\r\n            \"length\": 32\r\n        },\r\n        {\r\n            \"name\": \"start_time\",\r\n            \"display\": \"Start time\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"end_time\",\r\n            \"display\": \"End time\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"value\",\r\n            \"display\": \"value\",\r\n            \"length\": 11\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (13, 'OMC', 'lst', 'operationlog', 'Get', '/api/rest/dataManagement/v1/omc_db/operation_log', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Operation Log\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"account_name\",\r\n            \"display\": \"Account ID\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"op_ip\",\r\n            \"display\": \"Source IP address\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"op_type\",\r\n            \"display\": \"Opration type\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"op_content\",\r\n            \"display\": \"Operation content\",\r\n            \"length\": 50\r\n        },\r\n        {\r\n            \"name\": \"op_result\",\r\n            \"display\": \"Operation result\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"log_time\",\r\n            \"display\": \"Log time\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (14, 'OMC', 'lst', 'securitylog', 'Get', '/api/rest/dataManagement/v1/omc_db/security_log', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Security Log\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"account_name\",\r\n            \"display\": \"Account ID\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"op_ip\",\r\n            \"display\": \"Source IP address\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"op_type\",\r\n            \"display\": \"Opration type\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"op_content\",\r\n            \"display\": \"Operation content\",\r\n            \"length\": 50\r\n        },\r\n        {\r\n            \"name\": \"op_result\",\r\n            \"display\": \"Operation result\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"op_time\",\r\n            \"display\": \"Operation log time\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (15, 'OMC', 'lst', 'alarmlog', 'Get', '/api/rest/dataManagement/v1/omc_db/alarm_log', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Alarm Log\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 8\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE UID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"alarm_seq\",\r\n            \"display\": \"Alarm sequence\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"alarm_id\",\r\n            \"display\": \"Alarm ID\",\r\n            \"length\": 20\r\n        },        \r\n        {\r\n            \"name\": \"event_time\",\r\n            \"display\": \"Alarm event time\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"log_time\",\r\n            \"display\": \"Log time\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (16, 'OMC', 'dsp', 'licenseinfo', 'Get', '/api/rest/systemManagement/v1/licenseInfo', '/%s', NULL, NULL, '{}', '{\r\n    \"retFmt\": \"GetNF\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"NE License Information\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"neType\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"neId\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"serialNum\",\r\n            \"display\": \"Serial No\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"capability\",\r\n            \"display\": \"License capability\",\r\n            \"length\": 11\r\n        },\r\n        {\r\n            \"name\": \"capUsed\",\r\n            \"display\": \"License used\",\r\n            \"length\": 11\r\n        }, \r\n        {\r\n            \"name\": \"featureEnabled\",\r\n            \"display\": \"Feature enabled\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"expiryDate\",\r\n            \"display\": \"License expiry date\",\r\n            \"length\": 20\r\n        }\r\n     ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (17, 'OMC', 'lst', 'systemlog', 'Get', '/api/rest/dataManagement/v1/omc_db/system_log', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"System Log\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"process_type\",\r\n            \"display\": \"Process type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"process_name\",\r\n            \"display\": \"Process name\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"user_name\",\r\n            \"display\": \"User name\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"process_id\",\r\n            \"display\": \"Process ID\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"event\",\r\n            \"display\": \"Event\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"start_time\",\r\n            \"display\": \"Start time\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"end_time\",\r\n            \"display\": \"End time\",\r\n            \"length\": 20\r\n        },           \r\n        {\r\n            \"name\": \"log_time\",\r\n            \"display\": \"Log time\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (18, 'OMC', 'lst', 'eventlog', 'Get', '/api/rest/dataManagement/v1/omc_db/event_log', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Event Log\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"event\",\r\n            \"display\": \"Event\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"event time\",\r\n            \"display\": \"Event\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"log_time\",\r\n            \"display\": \"Log time\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (19, 'OMC', 'lst', 'mmlcmd', 'Get', '/api/rest/dataManagement/v1/omc_db/mml_command', NULL, NULL, '?loc=`status`=\'Active\'', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"OMC MML Command List\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"operation\",\r\n            \"display\": \"Operation\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"object\",\r\n            \"display\": \"Object\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"mml_display\",\r\n            \"display\": \"MML description\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (20, 'OMC', 'help', 'mmlcmd', 'Get', '/api/rest/dataManagement/v1/omc_db/mml_command', NULL, NULL, '?SQL=select+operation,object,mml_display,json_extract(param_json,\'$[*].name\')+as+params+from+mml_command', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"OMC MML Command Help List\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"operation\",\r\n            \"display\": \"Operation\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"object\",\r\n            \"display\": \"Object\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"params\",\r\n            \"display\": \"Parameter list\",\r\n            \"length\": 128\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (21, 'OMC', 'dsp', 'nelink', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_link', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"Network Element Link\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 28\r\n        },\r\n        {\r\n            \"name\": \"interface\",\r\n            \"display\": \"Interface\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"status\",\r\n            \"display\": \"Status\",\r\n            \"length\": 20\r\n        },        \r\n        {\r\n            \"name\": \"created_at\",\r\n            \"display\": \"Timestamp\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (22, 'OMC', 'act', 'measuretask', 'Put', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"measure_task\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"status\",\r\n            \"alias\": \"status\",\r\n            \"type\": \"int\",\r\n            \"length\": 11,\r\n            \"value\": \"Active\"\r\n        }\r\n    ]\r\n}', '{\r\n    \"retFmt\": \"PutDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (23, 'OMC', 'dea', 'measuretask', 'Put', '/api/rest/dataManagement/v1/omc_db/measure_task', NULL, NULL, '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"measure_task\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"status\",\r\n            \"alias\": \"status\",\r\n            \"type\": \"int\",\r\n            \"length\": 11,\r\n            \"value\": \"Inactive\"\r\n        }\r\n    ]\r\n}\r\n', '{\r\n    \"retFmt\": \"PutDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (24, 'OMC', 'dsp', 'nbicm', 'Get', '/api/rest/dataManagement/v1/omc_db/nbi_cm', NULL, NULL, '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"NBI Resources Management\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"rm_uid\",\r\n            \"display\": \"RM UID\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"user_label\",\r\n            \"display\": \"User label\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"object_type\",\r\n            \"display\": \"Object type\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"pv_flag\",\r\n            \"display\": \"PV flag\",\r\n            \"length\": 8\r\n        },\r\n        {\r\n            \"name\": \"value_json\",\r\n            \"display\": \"NBI resource management\",\r\n            \"length\": 200\r\n        }                \r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}\r\n');
INSERT INTO `mml_http_map` VALUES (25, 'OMC', 'upg', 'neversion', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_version', NULL, NULL, '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"ne_version\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"status\",\r\n            \"alias\": \"status\",\r\n            \"type\": \"string\",\r\n            \"length\": 8,\r\n            \"value\": \"Active\"\r\n        }\r\n    ]\r\n}', '{\r\n    \"retFmt\": \"PutDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (26, 'OMC', 'dsp', 'neconfig', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_config', NULL, 'SQL', '?SQL=select+ne_type,param_display,JSON_UNQUOTE(json_extract(param_json,\'$[0].name\'))+as+param_name,JSON_UNQUOTE(json_extract(param_json,\'$[0].value\'))+as+param_value+from+ne_config', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"NE Config Parameters\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE Type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"param_display\",\r\n            \"display\": \"Parameter Display\",\r\n            \"length\": 128\r\n        },\r\n        {\r\n            \"name\": \"param_name\",\r\n            \"display\": \"Parameter Name\",\r\n            \"length\": 256\r\n        },\r\n        {\r\n            \"name\": \"param_value\",\r\n            \"display\": \"Parameter Value\",\r\n            \"length\": 256\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (27, 'OMC', 'lst', 'license', 'Get', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{}', '{\r\n    \"retFmt\": \"GetDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"title\": \"NE License Information\",\r\n    \"singleList\": true,\r\n    \"sepSpaceNum\": 2,\r\n    \"alignmentM\": \"Left\",\r\n    \"alignmentSN\": \"Right\",\r\n    \"alignmentSV\": \"Left\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"ne_type\",\r\n            \"display\": \"NE type\",\r\n            \"length\": 10\r\n        },\r\n        {\r\n            \"name\": \"ne_id\",\r\n            \"display\": \"NE ID\",\r\n            \"length\": 20\r\n        },\r\n        {\r\n            \"name\": \"serial_no\",\r\n            \"display\": \"Serial no\",\r\n            \"length\": 12\r\n        },\r\n        {\r\n            \"name\": \"capcity\",\r\n            \"display\": \"License capcity\",\r\n            \"length\": 11\r\n        },\r\n        {\r\n            \"name\": \"used\",\r\n            \"display\": \"License used\",\r\n            \"length\": 11\r\n        },\r\n        {\r\n            \"name\": \"feature_enabled\",\r\n            \"display\": \"Feature enabled\",\r\n            \"length\": 30\r\n        },\r\n        {\r\n            \"name\": \"expiration_date\",\r\n            \"display\": \"License expiration date\",\r\n            \"length\": 20\r\n        }\r\n    ],\r\n    \"end\": \"(Number of results = %d)\\n\\n\"\r\n}');
INSERT INTO `mml_http_map` VALUES (28, 'OMC', 'dep', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"ne_license\",\r\n    \"callFunc\": \"DeploymentLicense\"\r\n}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (29, 'OMC', 'rel', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"ne_license\",\r\n    \"callFunc\": \"InstallLicense\"\r\n}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (30, 'OMC', 'ins', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"ne_license\",\r\n    \"callFunc\": \"InstallLicense\"\r\n}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (31, 'OMC', 'adj', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"ne_license\",\r\n    \"callFunc\": \"AdjustmentLicense\"\r\n}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (32, 'OMC', 'exp', 'license', 'Put', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"ne_license\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"updated_at\",\r\n            \"alias\": \"updated_at\",\r\n            \"type\": \"string\",\r\n            \"length\": 20,\r\n            \"value\": \"2023-08-17 23:38:53\"\r\n        }\r\n    ]\r\n}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (33, 'OMC', 'uni', 'license', 'Delete', '/api/rest/dataManagement/v1/omc_db/ne_license', NULL, 'loc', '?loc=', '{}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');
INSERT INTO `mml_http_map` VALUES (34, 'OMC', 'run', 'shell', 'Put', '/api/rest/systemCommand/v1/omc/shell', NULL, 'loc', '?loc=', '{\r\n    \"bodyFmt\": \"PutDB\",\r\n    \"bodyKey\": \"shell\",\r\n    \"callFunc\": \"RunShellCommand\"\r\n}', '{\r\n    \"retFmt\": \"DeleteDB\",\r\n    \"retMsg\": \"RetCode = %d operation succeeded\\n\\n\",\r\n    \"errMsg\": \"ErrorCode = %d operation failed: %s\\n\\n\",\r\n    \"cols\": [\r\n        {\r\n            \"name\": \"affectedRows\",\r\n            \"display\": \"Affected rows\",\r\n            \"length\": 11\r\n        }\r\n    ]\r\n}');

SET FOREIGN_KEY_CHECKS = 1;
