diff --git a/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorConfigService.java b/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorConfigService.java index 93b0074..43ab826 100644 --- a/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorConfigService.java +++ b/src/main/java/com/loafle/overflow/central/module/sensor/service/CentralSensorConfigService.java @@ -89,7 +89,6 @@ public class CentralSensorConfigService { // Base64 return Base64.getEncoder().encodeToString(outputBytes); - } catch (Exception e) { throw new OverflowException("", e); } diff --git a/src/main/resources/profiles/local/init.sample.sql b/src/main/resources/profiles/local/init.sample.sql index 7850b3c..6c7da59 100644 --- a/src/main/resources/profiles/local/init.sample.sql +++ b/src/main/resources/profiles/local/init.sample.sql @@ -113,15 +113,15 @@ VALUES INSERT INTO public.probe (authorize_date,cidr,connect_address,connect_date,description,encryption_key,"name",probe_key,target_count,authorize_member_id,domain_id,meta_probe_status_id) VALUES - ('2017-08-21 14:48:31.563', '192.168.1.0/24', NULL, NULL, 'test probe 111111', '8c51fa9c5bcc11e7980a080027658d13', 'snoop probe', '899fdd145bcc11e7b611080027658d13', 0, 1, 1, 1); + ('2017-08-21 14:48:31.563', '192.168.1.0/24', NULL, NULL, 'test probe 111111', '8c51fa9c', 'snoop probe', '899fdd145bcc11e7b611080027658d13', 0, 1, 1, 1); INSERT INTO public.probe (authorize_date,cidr,connect_address,connect_date,description,encryption_key,"name",probe_key,target_count,authorize_member_id,domain_id,meta_probe_status_id) VALUES - ('2017-08-21 15:00:09.691', '192.168.2.0/24', NULL, NULL, 'test probe 22222', 'f1f72c8d2a814580bb7c4615ec43a6a8', 'insanity probe', '95d8bcdc739741dca74c4a0e489e0774', 0, 1, 1, 1); + ('2017-08-21 15:00:09.691', '192.168.2.0/24', NULL, NULL, 'test probe 22222', 'f1f72c8d', 'insanity probe', '95d8bcdc739741dca74c4a0e489e0774', 0, 1, 1, 1); INSERT INTO public.probe (authorize_date,cidr,connect_address,connect_date,description,encryption_key,"name",probe_key,target_count,authorize_member_id,domain_id,meta_probe_status_id) VALUES - ('2018-06-21 20:17:30.689', '192.168.1.0/24', '192.168.1.101:60074', '2018-06-21 20:17:32.034', NULL, '$2a$10$rPZYValfYvsVb8oDDz7gkuuf1FpqVnG8xbxQa.NhKdH7WDi.H2UD.', 'crusader-ubuntu probe', 'b04f6809754411e8b5f2367a389c8dcd', 0, 1, 1, 1); + ('2018-06-21 20:17:30.689', '192.168.1.0/24', '192.168.1.101:60074', '2018-06-21 20:17:32.034', NULL, 'f84ld984', 'crusader-ubuntu probe', 'b04f6809754411e8b5f2367a389c8dcd', 0, 1, 1, 1); INSERT INTO public.infra (infra_type,meta_infra_type_id,probe_id)