From 46e72473363a8ecdd2481bb8fbf1cab877a752c6 Mon Sep 17 00:00:00 2001 From: insanity Date: Sun, 25 Jun 2017 17:39:11 +0900 Subject: [PATCH] init.sql --- src/main/resources/init.sql | 183 +++++++++++++++++++++++++++++++++++- 1 file changed, 182 insertions(+), 1 deletion(-) diff --git a/src/main/resources/init.sql b/src/main/resources/init.sql index 9af6fd4..efce6d2 100644 --- a/src/main/resources/init.sql +++ b/src/main/resources/init.sql @@ -1 +1,182 @@ ---insert into meta_member_status (id, name) values (7, 'FFFFF'); \ No newline at end of file +INSERT INTO public.meta_member_status (id,"name") VALUES ( +1,'NOAUTH'); +INSERT INTO public.meta_member_status (id,"name") VALUES ( +2,'NORMAL'); +INSERT INTO public.meta_member_status (id,"name") VALUES ( +3,'DIAPAUSE'); +INSERT INTO public.meta_member_status (id,"name") VALUES ( +4,'WITHDRAWAL'); + +INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( +1,'2017-06-25 17:31:42.770','MACHINE'); +INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( +2,'2017-06-25 17:31:42.894','HOST'); +INSERT INTO public.meta_infra_type (id,create_date,"name") VALUES ( +3,'2017-06-25 17:31:42.906','SERVICE'); + +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +1,'2017-06-25 17:31:42.916','APPLE',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +2,'2017-06-25 17:31:42.937','MICROSOFT',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +3,'2017-06-25 17:31:42.949','ASUS',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +4,'2017-06-25 17:31:42.960','HP',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +5,'2017-06-25 17:31:42.972','DELL',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +6,'2017-06-25 17:31:42.982','LENOVO',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +7,'2017-06-25 17:31:42.993','ACER',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +8,'2017-06-25 17:31:43.004','SAMSUNG',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +9,'2017-06-25 17:31:43.023','LG',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +10,'2017-06-25 17:31:43.036','CISCO',1); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +11,'2017-06-25 17:31:43.052','Windows',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +12,'2017-06-25 17:31:43.070','Mac OS',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +13,'2017-06-25 17:31:43.084','Ubuntu',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +14,'2017-06-25 17:31:43.102','Cent OS',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +15,'2017-06-25 17:31:43.116','Fedora',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +16,'2017-06-25 17:31:43.130','Red Hat',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +17,'2017-06-25 17:31:43.144','Debian',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +18,'2017-06-25 17:31:43.156','SUSE',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +19,'2017-06-25 17:31:43.169','Core OS',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +20,'2017-06-25 17:31:43.181','Amazon Linux',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +21,'2017-06-25 17:31:43.192','Kubernetes',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +22,'2017-06-25 17:31:43.202','Docker',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +23,'2017-06-25 17:31:43.214','iOS',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +24,'2017-06-25 17:31:43.229','Android',2); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +25,'2017-06-25 17:31:43.242','Windows',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +26,'2017-06-25 17:31:43.255','Mac OS',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +27,'2017-06-25 17:31:43.271','Ubuntu',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +28,'2017-06-25 17:31:43.285','Cent OS',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +29,'2017-06-25 17:31:43.298','Fedora',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +30,'2017-06-25 17:31:43.312','Red Hat',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +31,'2017-06-25 17:31:43.324','Debian',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +32,'2017-06-25 17:31:43.336','SUSE',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +33,'2017-06-25 17:31:43.347','Core OS',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +34,'2017-06-25 17:31:43.361','Amazon Linux',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +35,'2017-06-25 17:31:43.375','Kubernetes',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +36,'2017-06-25 17:31:43.387','Docker',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +37,'2017-06-25 17:31:43.399','iOS',3); +INSERT INTO public.meta_infra_vendor (id,create_date,"name",type_id) VALUES ( +38,'2017-06-25 17:31:43.410','Android',3); + + +INSERT INTO public.meta_crawler (id,create_date,description,"name") VALUES ( +1,'2017-06-25 17:00:43.869','WMI','WMI_CRAWLER'); +INSERT INTO public.meta_crawler (id,create_date,description,"name") VALUES ( +2,'2017-06-25 17:00:43.919','SNMPV2','SNMP_V2_CRAWLER'); +INSERT INTO public.meta_crawler (id,create_date,description,"name") VALUES ( +3,'2017-06-25 17:00:43.941','SNMPV3','SNMP_V3_CRAWLER'); +INSERT INTO public.meta_crawler (id,create_date,description,"name") VALUES ( +4,'2017-06-25 17:00:43.969','MYSQL','MYSQL_CRAWLER'); + +INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( +1,'2017-06-25 17:00:53.861','TEXT','TEXT_TYPE'); +INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( +2,'2017-06-25 17:00:53.893','PASSWORD','PASSWORD_TYPE'); +INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( +3,'2017-06-25 17:00:53.901','NUMBER','NUMBER_TYPE'); +INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( +4,'2017-06-25 17:00:53.910','BOOLEAN','BOOLEAN_TYPE'); +INSERT INTO public.meta_input_type (id,create_date,description,"name") VALUES ( +5,'2017-06-25 17:00:53.920','SELECT','SELECT_TYPE'); + + +INSERT INTO public.meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,"name",pattern,required,crawler_id,type_id) VALUES ( +1,'2017-06-25 17:01:01.961','Loafle','Windows Account ID',NULL,NULL,'ID','',true,1,1); +INSERT INTO public.meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,"name",pattern,required,crawler_id,type_id) VALUES ( +2,'2017-06-25 17:01:02.008','','Windows Account PW',NULL,NULL,'PassWord','',true,1,2); +INSERT INTO public.meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,"name",pattern,required,crawler_id,type_id) VALUES ( +3,'2017-06-25 17:01:02.023','public','SNMP V2 Community',NULL,NULL,'Community','',true,2,1); +INSERT INTO public.meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,"name",pattern,required,crawler_id,type_id) VALUES ( +4,'2017-06-25 17:01:02.046','mysqldb','MYSQL DB Name',NULL,NULL,'DB Name','',true,4,1); +INSERT INTO public.meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,"name",pattern,required,crawler_id,type_id) VALUES ( +5,'2017-06-25 17:01:02.067','Loafle','MYSQL Account ID',NULL,NULL,'ID','',true,4,1); +INSERT INTO public.meta_crawler_input_item (id,create_date,default_value,description,key_name,key_value,"name",pattern,required,crawler_id,type_id) VALUES ( +6,'2017-06-25 17:01:02.078','','MYSQL Account PW',NULL,NULL,'PassWord','',true,4,2); + +INSERT INTO public.meta_probe_architecture (id,architecture,create_date) VALUES ( +1,'x86-64bit','2017-06-25 16:48:15.317'); +INSERT INTO public.meta_probe_architecture (id,architecture,create_date) VALUES ( +2,NULL,'2017-06-25 16:48:15.350'); + +INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( +1,'2017-06-25 16:48:28.617','Windows'); +INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( +2,'2017-06-25 16:48:28.683','Debian'); +INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( +3,'2017-06-25 16:48:28.699','Ubuntu'); +INSERT INTO public.meta_probe_os (id,create_date,"name") VALUES ( +4,'2017-06-25 16:48:28.708','Fedora'); + + +INSERT INTO public.meta_probe_version (id,create_date,"version") VALUES ( +1,'2017-06-25 16:48:00.520','1.0.0'); +INSERT INTO public.meta_probe_version (id,create_date,"version") VALUES ( +2,'2017-06-25 16:48:00.558','1.1.0'); + + +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +1,'2017-06-25 16:59:59.194',1,1,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +2,'2017-06-25 16:59:59.216',1,2,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +3,'2017-06-25 16:59:59.255',1,3,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +4,'2017-06-25 16:59:59.268',1,4,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +5,'2017-06-25 16:59:59.279',2,1,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +6,'2017-06-25 16:59:59.307',2,2,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +7,'2017-06-25 16:59:59.317',2,3,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +8,'2017-06-25 16:59:59.330',2,4,1); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +9,'2017-06-25 16:59:59.363',1,1,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +10,'2017-06-25 16:59:59.395',1,2,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +11,'2017-06-25 16:59:59.416',1,3,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +12,'2017-06-25 16:59:59.446',1,4,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +13,'2017-06-25 16:59:59.468',2,1,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +14,'2017-06-25 16:59:59.484',2,2,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +15,'2017-06-25 16:59:59.507',2,3,2); +INSERT INTO public.meta_probe_package (id,create_date,architecture_id,os_id,version_id) VALUES ( +16,'2017-06-25 16:59:59.522',2,4,2); +