diff --git a/src/main/resources/neatlogic/resources/cmdb/sqlscript/dml.sql b/src/main/resources/neatlogic/resources/cmdb/sqlscript/dml.sql index f1f3d1bcffb4798ec1b765680b48f091274cae2d..43df451438d3a5d28288f086451140e418186f7d 100644 --- a/src/main/resources/neatlogic/resources/cmdb/sqlscript/dml.sql +++ b/src/main/resources/neatlogic/resources/cmdb/sqlscript/dml.sql @@ -1,26 +1,27 @@ -- ---------------------------- -- Records of cmdb_resourcecenter_entity -- ---------------------------- -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appinstance_detail_cluster','应用实例详情及集群场景','ready','',NULL,'2023-08-22 19:59:17.962',479603630022656,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"APPIns\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"APPIns\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"APPIns\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"to\",\"field\":\"cluster_id\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"APPInsCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_name\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"APPInsCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_type_id\",\"fromCi\":\"APPIns\",\"toAttr\":\"_typeId\",\"toCi\":\"APPInsCluster\",\"type\":\"rel\"}],\"mainCi\":\"APPIns\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appinstance_env_appmodule_appsystem','应用实例环境和模块及应用场景','ready','',NULL,'2023-08-22 19:59:17.991',479603630022656,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"APPIns\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appinstance_ip_port_env_appmodule','应用实例IP端口环境和模块场景','ready','',NULL,'2023-08-22 19:59:18.007',479603630022656,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"APPIns\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"}],\"mainCi\":\"APPIns\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appmodule','应用模块场景','ready','',NULL,'2023-08-22 19:59:18.025',479610550624256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"}],\"mainCi\":\"APPComponent\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appmodule_appsystem','模块和应用场景','ready','',NULL,'2023-08-22 19:59:18.046',479610550624256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPComponent\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPComponent\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"APPComponent\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"APPComponent\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"APPComponent\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"APPComponent\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appsystem','应用系统场景','ready','',NULL,'2023-08-22 19:59:18.063',479609502048256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APP\",\"type\":\"const\"}],\"mainCi\":\"APP\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appsystem_appmodule','应用系统应用模块场景','ready','',NULL,'2023-08-22 19:59:18.075',479609502048256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"direction\":\"to\",\"field\":\"app_module_id\",\"fromCi\":\"APP\",\"toAttr\":\"_id\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"app_module_name\",\"fromCi\":\"APP\",\"toAttr\":\"name\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"app_module_abbr_name\",\"fromCi\":\"APP\",\"toAttr\":\"abbrName\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"APP\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_database_ip_port_env_appmodule','DB库IP端口环境和模块场景','ready','',NULL,'2023-08-22 19:59:18.097',482462291255296,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"Database\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"Database\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"Database\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"Database\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"Database\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"Database\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"Database\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"Database\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"Database\",\"type\":\"rel\"}],\"mainCi\":\"Database\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_dbinstance_detail_cluster','DB实例详情及集群场景','ready','',NULL,'2023-08-22 19:59:18.148',479596491317248,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"DBIns\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"DBIns\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"DBIns\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"DBIns\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"to\",\"field\":\"cluster_id\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"DBCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_name\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"DBCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_type_id\",\"fromCi\":\"DBIns\",\"toAttr\":\"_typeId\",\"toCi\":\"DBCluster\",\"type\":\"rel\"}],\"mainCi\":\"DBIns\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_env','环境视图','ready','',NULL,'2023-08-22 20:01:13.913',479551469658112,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPEnv\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"seq_no\",\"fromCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"label\",\"fromCi\":\"APPEnv\",\"type\":\"attr\"}],\"mainCi\":\"APPEnv\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_detail','资产清单视图','ready','',NULL,'2023-08-22 19:59:18.218',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"SoftwareService\",\"type\":\"attr\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"allip_id\",\"fromAttr\":\"all_ip\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"IPList\",\"type\":\"attr\"},{\"field\":\"allip_ip\",\"fromAttr\":\"all_ip\",\"fromCi\":\"IPObject\",\"toAttr\":\"IP\",\"toCi\":\"IPList\",\"type\":\"attr\"},{\"field\":\"allip_label\",\"fromAttr\":\"all_ip\",\"fromCi\":\"IPObject\",\"toAttr\":\"label\",\"toCi\":\"IPList\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"IPObject\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"IPObject\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"IPObject\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"vendor_id\",\"fromAttr\":\"vendor\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"vendor_name\",\"fromAttr\":\"vendor\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"vendor_label\",\"fromAttr\":\"vendor\",\"fromCi\":\"IPObject\",\"toAttr\":\"label\",\"toCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"IPObject\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_env_appmodule','IP软硬件环境和模块场景','ready','',NULL,'2023-08-22 19:59:18.229',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"}],\"mainCi\":\"IPObject\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_env_appmodule_appsystem','IP软硬件环境和模块及应用场景','ready','',NULL,'2023-08-22 19:59:18.241',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"IPObject\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_id','IP软硬件ID场景','ready','',NULL,'2023-08-22 19:59:18.250',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"}],\"mainCi\":\"IPObject\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_ip_port','IP软硬件IP和端口场景','ready','',NULL,'2023-08-22 19:59:18.259',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"SoftwareService\",\"type\":\"attr\"}],\"mainCi\":\"IPObject\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_osservice_ports','操作系统服务端口场景','ready','',NULL,'2023-08-22 19:59:18.277',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"service_ports_id\",\"fromAttr\":\"service_ports\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"OSListenPort\",\"type\":\"attr\"},{\"field\":\"name\",\"fromAttr\":\"service_ports\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"OSListenPort\",\"type\":\"attr\"},{\"field\":\"listen_port\",\"fromAttr\":\"service_ports\",\"fromCi\":\"OS\",\"toAttr\":\"listen_port\",\"toCi\":\"OSListenPort\",\"type\":\"attr\"}],\"mainCi\":\"OS\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_os_detail_cluster','操作系统详情及集群场景','ready','',NULL,'2023-08-22 19:59:18.307',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"OS\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"OS\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"OS\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"direction\":\"to\",\"field\":\"cluster_id\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"OSCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_name\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"OSCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_type_id\",\"fromCi\":\"OS\",\"toAttr\":\"_typeId\",\"toCi\":\"OSCluster\",\"type\":\"rel\"}],\"mainCi\":\"OS\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_os_softwareservice_env_appmodule','操作系统与软件服务、环境、模块场景','ready','',NULL,'2023-08-22 19:59:18.320',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"direction\":\"from\",\"field\":\"resource_id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"toCi\":\"OS\",\"type\":\"rel\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"}],\"mainCi\":\"OS\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_os_softwareservice_env_appmodule_appsystem','操作系统与软件服务、环境、模块及应用场景','ready','',NULL,'2023-08-22 19:59:18.334',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"direction\":\"from\",\"field\":\"resource_id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"toCi\":\"OS\",\"type\":\"rel\"},{\"field\":\"env_id\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_name\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"app_environment\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"seq_no\",\"toCi\":\"APPEnv\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"OS\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_softwareservice_os','软件服务与操作系统场景','ready','',NULL,'2023-08-22 19:59:18.347',478816686317568,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"SoftwareService\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"direction\":\"to\",\"field\":\"os_id\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"OS\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"os_name\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"OS\",\"type\":\"rel\"}],\"mainCi\":\"SoftwareService\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_softwareservice_ports','软件服务服务端口场景','ready','',NULL,'2023-08-22 19:59:18.366',478816686317568,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"service_ports_id\",\"fromAttr\":\"service_ports\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"SoftWareListenPort\",\"type\":\"attr\"},{\"field\":\"name\",\"fromAttr\":\"service_ports\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"SoftWareListenPort\",\"type\":\"attr\"},{\"field\":\"listen_port\",\"fromAttr\":\"service_ports\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"listen_port\",\"toCi\":\"SoftWareListenPort\",\"type\":\"attr\"}],\"mainCi\":\"SoftwareService\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_state','资产状态基本信息场景','ready','',NULL,'2023-08-22 19:59:18.376',479550169423872,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"CIState\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"label\",\"fromCi\":\"CIState\",\"type\":\"attr\"}],\"mainCi\":\"CIState\"}'); -insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_vendor','厂商基本信息场景','ready','',NULL,'2023-08-22 19:59:18.389',480863598731264,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"Vendor\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"label\",\"fromCi\":\"Vendor\",\"type\":\"attr\"}],\"mainCi\":\"Vendor\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appinstance_detail_cluster','应用实例详情及集群场景','scene','ready','','配置管理/应用清单','2023-12-13 09:58:19.096',479603630022656,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"APPIns\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"APPIns\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"APPIns\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"to\",\"field\":\"cluster_id\",\"fromCi\":\"APPIns\",\"toAttr\":\"_id\",\"toCi\":\"APPInsCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_name\",\"fromCi\":\"APPIns\",\"toAttr\":\"name\",\"toCi\":\"APPInsCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_type_id\",\"fromCi\":\"APPIns\",\"toAttr\":\"_typeId\",\"toCi\":\"APPInsCluster\",\"type\":\"rel\"}],\"mainCi\":\"APPIns\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appinstance_env_appmodule_appsystem','应用实例环境和模块及应用场景','scene','ready','','','2023-12-13 09:58:52.638',479603630022656,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"APPIns\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appinstance_ip_port_env_appmodule','应用实例IP端口环境和模块场景','scene','ready','','','2023-12-13 09:59:19.182',479603630022656,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"APPIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPIns\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"APPIns\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"APPIns\",\"type\":\"rel\"}],\"mainCi\":\"APPIns\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appmodule','应用模块场景','scene','ready','',NULL,'2023-12-13 09:10:29.852',479610550624256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"}],\"mainCi\":\"APPComponent\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appmodule_appsystem','模块和应用场景','scene','ready','',NULL,'2023-12-13 09:10:30.025',479610550624256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APPComponent\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APPComponent\",\"type\":\"const\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPComponent\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"APPComponent\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"APPComponent\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"APPComponent\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"APPComponent\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"APPComponent\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appsystem','应用系统场景','scene','ready','',NULL,'2023-12-13 09:10:30.100',479609502048256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"APP\",\"type\":\"const\"}],\"mainCi\":\"APP\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appsystem_appmodule','应用系统应用模块场景','scene','ready','',NULL,'2023-12-13 09:10:30.166',479609502048256,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"APP\",\"type\":\"const\"},{\"direction\":\"to\",\"field\":\"app_module_id\",\"fromCi\":\"APP\",\"toAttr\":\"_id\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"app_module_name\",\"fromCi\":\"APP\",\"toAttr\":\"name\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"app_module_abbr_name\",\"fromCi\":\"APP\",\"toAttr\":\"abbrName\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"APP\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_appsystem_productiontimeperiod','应用系统投产时段场景','scene','ready','',NULL,'2023-03-06 17:33:07.312',NULL,NULL); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_database_ip_port_env_appmodule','DB库IP端口环境和模块场景','scene','ready','','','2023-12-13 10:01:40.459',482462291255296,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"Database\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"Database\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"Database\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"Database\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"Database\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"Database\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"Database\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"Database\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"Database\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"Database\",\"type\":\"rel\"}],\"mainCi\":\"Database\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_dbinstance_detail_cluster','DB实例详情及集群场景','scene','ready','','配置管理/应用清单','2023-12-13 10:02:15.182',479596491317248,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"DBIns\",\"type\":\"const\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"DBIns\",\"type\":\"attr\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"DBIns\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"DBIns\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"DBIns\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"DBIns\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"DBIns\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"DBIns\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"to\",\"field\":\"cluster_id\",\"fromCi\":\"DBIns\",\"toAttr\":\"_id\",\"toCi\":\"DBCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_name\",\"fromCi\":\"DBIns\",\"toAttr\":\"name\",\"toCi\":\"DBCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_type_id\",\"fromCi\":\"DBIns\",\"toAttr\":\"_typeId\",\"toCi\":\"DBCluster\",\"type\":\"rel\"}],\"mainCi\":\"DBIns\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_detail','资产清单视图','scene','ready','','配置管理/资产清单','2023-12-13 10:02:52.149',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"SoftwareService\",\"type\":\"attr\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"allip_id\",\"fromAttr\":\"all_ip\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"IPList\",\"type\":\"attr\"},{\"field\":\"allip_ip\",\"fromAttr\":\"all_ip\",\"fromCi\":\"IPObject\",\"toAttr\":\"IP\",\"toCi\":\"IPList\",\"type\":\"attr\"},{\"field\":\"allip_label\",\"fromAttr\":\"all_ip\",\"fromCi\":\"IPObject\",\"toAttr\":\"label\",\"toCi\":\"IPList\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"IPObject\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"IPObject\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"IPObject\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"vendor_id\",\"fromAttr\":\"vendor\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"vendor_name\",\"fromAttr\":\"vendor\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"vendor_label\",\"fromAttr\":\"vendor\",\"fromCi\":\"IPObject\",\"toAttr\":\"label\",\"toCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"IPObject\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"IPObject\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"IPObject\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_env_appmodule','IP软硬件环境和模块场景','scene','ready','','','2023-12-13 10:23:00.701',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"}],\"mainCi\":\"IPObject\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_env_appmodule_appsystem','IP软硬件环境和模块及应用场景','scene','ready','','配置管理/应用清单','2023-12-13 10:04:37.121',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"IPObject\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"IPObject\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"IPObject\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_id','IP软硬件ID场景','scene','ready','',NULL,'2023-12-13 09:10:31.200',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"}],\"mainCi\":\"IPObject\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_ipobject_ip_port','IP软硬件IP和端口场景','scene','ready','',NULL,'2023-12-13 09:10:31.243',442011534499840,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"IPObject\",\"type\":\"const\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"IPObject\",\"type\":\"attr\"},{\"field\":\"port\",\"fromAttr\":\"port\",\"fromCi\":\"SoftwareService\",\"type\":\"attr\"}],\"mainCi\":\"IPObject\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_osservice_ports','操作系统服务端口场景','scene','ready','',NULL,'2023-12-13 09:10:31.299',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"service_ports_id\",\"fromAttr\":\"service_ports\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"OSListenPort\",\"type\":\"attr\"},{\"field\":\"name\",\"fromAttr\":\"service_ports\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"OSListenPort\",\"type\":\"attr\"},{\"field\":\"listen_port\",\"fromAttr\":\"service_ports\",\"fromCi\":\"OS\",\"toAttr\":\"listen_port\",\"toCi\":\"OSListenPort\",\"type\":\"attr\"}],\"mainCi\":\"OS\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_os_detail_cluster','操作系统详情及集群场景','scene','ready','',NULL,'2023-12-13 09:10:31.525',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"ip\",\"fromAttr\":\"ip\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"fcu\",\"fromAttr\":\"_fcu\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"fcd\",\"fromAttr\":\"_fcd\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"lcu\",\"fromAttr\":\"_lcu\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"lcd\",\"fromAttr\":\"_lcd\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"maintenance_window\",\"fromAttr\":\"maintenance_window\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"description\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"network_area\",\"fromAttr\":\"network_area\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"inspect_status\",\"fromAttr\":\"_inspectStatus\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"inspect_time\",\"fromAttr\":\"_inspectTime\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"monitor_status\",\"fromAttr\":\"_monitorStatus\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"monitor_time\",\"fromAttr\":\"_monitorTime\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"bg_id\",\"fromAttr\":\"business_group\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"bg_name\",\"fromAttr\":\"business_group\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"BusinessGroup\",\"type\":\"attr\"},{\"field\":\"user_id\",\"fromAttr\":\"owner\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_uuid\",\"fromAttr\":\"owner\",\"fromCi\":\"OS\",\"toAttr\":\"_uuid\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"user_name\",\"fromAttr\":\"owner\",\"fromCi\":\"OS\",\"toAttr\":\"user_name\",\"toCi\":\"User\",\"type\":\"attr\"},{\"field\":\"state_id\",\"fromAttr\":\"state\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_name\",\"fromAttr\":\"state\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"state_label\",\"fromAttr\":\"state\",\"fromCi\":\"OS\",\"toAttr\":\"label\",\"toCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"datacenter_id\",\"fromAttr\":\"data_center\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"field\":\"datacenter_name\",\"fromAttr\":\"data_center\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"DataCenter\",\"type\":\"attr\"},{\"direction\":\"to\",\"field\":\"cluster_id\",\"fromCi\":\"OS\",\"toAttr\":\"_id\",\"toCi\":\"OSCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_name\",\"fromCi\":\"OS\",\"toAttr\":\"name\",\"toCi\":\"OSCluster\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"cluster_type_id\",\"fromCi\":\"OS\",\"toAttr\":\"_typeId\",\"toCi\":\"OSCluster\",\"type\":\"rel\"}],\"mainCi\":\"OS\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_os_softwareservice_env_appmodule','操作系统与软件服务、环境、模块场景','scene','ready','','','2023-12-13 11:05:33.854',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"direction\":\"from\",\"field\":\"resource_id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"toCi\":\"OS\",\"type\":\"rel\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"}],\"mainCi\":\"OS\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_os_softwareservice_env_appmodule_appsystem','操作系统与软件服务、环境、模块及应用场景','scene','ready','','配置管理/应用清单','2023-12-13 11:06:19.548',479593471418368,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"OS\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"OS\",\"type\":\"const\"},{\"direction\":\"from\",\"field\":\"resource_id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"toCi\":\"OS\",\"type\":\"rel\"},{\"field\":\"env_id\",\"fromAttr\":\"env\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"id\",\"type\":\"globalAttr\"},{\"field\":\"env_name\",\"fromAttr\":\"env\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"value\",\"type\":\"globalAttr\"},{\"field\":\"env_seq_no\",\"fromAttr\":\"env\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"sort\",\"type\":\"globalAttr\"},{\"direction\":\"from\",\"field\":\"app_module_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_name\",\"fromAttr\":\"name\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_module_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APPComponent\",\"toCi\":\"SoftwareService\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_id\",\"fromAttr\":\"_id\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_name\",\"fromAttr\":\"name\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"},{\"direction\":\"from\",\"field\":\"app_system_abbr_name\",\"fromAttr\":\"abbrName\",\"fromCi\":\"APP\",\"toCi\":\"APPComponent\",\"type\":\"rel\"}],\"mainCi\":\"OS\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_softwareservice_ip_port','软件服务IP和端口场景','scene','ready','',NULL,'2023-03-06 17:33:07.826',NULL,NULL); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_softwareservice_os','软件服务与操作系统场景','scene','ready','',NULL,'2023-12-13 09:10:31.814',478816686317568,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"SoftwareService\",\"type\":\"attr\"},{\"field\":\"type_id\",\"fromAttr\":\"_typeId\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"type_name\",\"fromAttr\":\"_typeName\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"type_label\",\"fromAttr\":\"_typeLabel\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"direction\":\"to\",\"field\":\"os_id\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"OS\",\"type\":\"rel\"},{\"direction\":\"to\",\"field\":\"os_name\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"OS\",\"type\":\"rel\"}],\"mainCi\":\"SoftwareService\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_softwareservice_ports','软件服务服务端口场景','scene','ready','',NULL,'2023-12-13 09:10:31.867',478816686317568,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"SoftwareService\",\"type\":\"const\"},{\"field\":\"service_ports_id\",\"fromAttr\":\"service_ports\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"_id\",\"toCi\":\"SoftWareListenPort\",\"type\":\"attr\"},{\"field\":\"name\",\"fromAttr\":\"service_ports\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"name\",\"toCi\":\"SoftWareListenPort\",\"type\":\"attr\"},{\"field\":\"listen_port\",\"fromAttr\":\"service_ports\",\"fromCi\":\"SoftwareService\",\"toAttr\":\"listen_port\",\"toCi\":\"SoftWareListenPort\",\"type\":\"attr\"}],\"mainCi\":\"SoftwareService\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_state','资产状态基本信息场景','scene','ready','',NULL,'2023-12-13 09:10:31.894',479550169423872,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"CIState\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"CIState\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"label\",\"fromCi\":\"CIState\",\"type\":\"attr\"}],\"mainCi\":\"CIState\"}'); +insert ignore into `cmdb_resourcecenter_entity`(`name`,`label`,`type`,`status`,`error`,`description`,`init_time`,`ci_id`,`config`) values ('scence_vendor','厂商基本信息场景','scene','ready','',NULL,'2023-12-13 09:10:31.921',480863598731264,'{\"fieldMappingList\":[{\"field\":\"id\",\"fromAttr\":\"_id\",\"fromCi\":\"Vendor\",\"type\":\"const\"},{\"field\":\"name\",\"fromAttr\":\"name\",\"fromCi\":\"Vendor\",\"type\":\"attr\"},{\"field\":\"description\",\"fromAttr\":\"label\",\"fromCi\":\"Vendor\",\"type\":\"attr\"}],\"mainCi\":\"Vendor\"}');