diff --git a/src/main/resources/init.sql b/src/main/resources/init.sql index 5803729..902a811 100644 --- a/src/main/resources/init.sql +++ b/src/main/resources/init.sql @@ -404,20 +404,30 @@ INSERT INTO public.probe (authorize_date,cidr,create_date,description,display_na '2017-08-21 15:00:09.691','192.168.2.0/24','2017-08-21 15:00:09.691','insanity probe','test probe 22222','f1f72c8d2a814580bb7c4615ec43a6a8','95d8bcdc739741dca74c4a0e489e0774',0,0,1,1,1); INSERT INTO public.target (create_date,description,display_name) VALUES ( -'2017-07-27 20:18:09.555','i am target','ghost target'); +'2017-07-27 20:18:09.555','Machine Target','ghost target'); +INSERT INTO public.target (create_date,description,display_name) VALUES ( +'2017-07-27 20:18:09.555','OS target','ghost target'); +INSERT INTO public.target (create_date,description,display_name) VALUES ( +'2017-07-27 20:18:09.555','Host target','ghost target'); +INSERT INTO public.target (create_date,description,display_name) VALUES ( +'2017-07-27 20:18:09.555','Service target','ghost target'); +INSERT INTO public.target (create_date,description,display_name) VALUES ( +'2017-07-27 20:18:09.555','OS App target','ghost target'); +INSERT INTO public.target (create_date,description,display_name) VALUES ( +'2017-07-27 20:18:09.555','OS Daemon target','ghost target'); INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VALUES ( 1,'2017-08-21 12:59:10.244',1,1,1); INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VALUES ( -3,'2017-08-21 13:05:24.883',3,1,1); +3,'2017-08-21 13:05:24.883',3,1,2); INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VALUES ( -2,'2017-08-21 14:20:01.830',2,1,1); +2,'2017-08-21 14:20:01.830',2,1,3); INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VALUES ( -7,'2017-08-21 14:24:26.525',7,1,1); +7,'2017-08-21 14:24:26.525',7,1,4); INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VALUES ( -4,'2017-08-21 14:27:19.474',4,1,1); +4,'2017-08-21 14:27:19.474',4,1,5); INSERT INTO public.infra (infra_type,create_date,type_id,probe_id,target_id) VALUES ( -5,'2017-08-21 14:28:48.761',5,1,1); +5,'2017-08-21 14:28:48.761',5,1,6); INSERT INTO public.infra_machine (meta,id) VALUES ( @@ -444,7 +454,7 @@ insert into public.PROBE_INFRAHOST (HOST_ID, PROBE_ID) values (3, 1); INSERT INTO public.sensor (crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES ( NULL,'2017-06-26 20:19:07.009','My sensor 11111',1,1,1); INSERT INTO public.sensor (crawler_input_items,create_date,description,crawler_id,status,target_id) VALUES ( -NULL,'2017-06-26 20:19:07.074','My sensor 22222',1,1,1); +NULL,'2017-06-26 20:19:07.074','My sensor 22222',1,2,1); INSERT INTO public.sensor_item (create_date,item_id,sensor_id) VALUES ( '2017-06-26 20:21:16.626',1,1);