init.sample
This commit is contained in:
parent
bb84d89563
commit
9bde4d74ec
|
@ -1,4 +1,4 @@
|
||||||
datasource.url=jdbc:postgresql://192.168.1.101:5432/overflow
|
datasource.url=jdbc:postgresql://192.168.1.103:5432/overflow
|
||||||
datasource.username=overflow
|
datasource.username=overflow
|
||||||
datasource.password=qwer5795
|
datasource.password=qwer5795
|
||||||
datasource.driver-class-name=org.postgresql.Driver
|
datasource.driver-class-name=org.postgresql.Driver
|
||||||
|
|
|
@ -1298,3 +1298,15 @@ VALUES
|
||||||
'{"DB Name":"test","ID":"docker","PassWord":"qwer5795QWER"}', 31, 3);
|
'{"DB Name":"test","ID":"docker","PassWord":"qwer5795QWER"}', 31, 3);
|
||||||
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
|
-- INSERT INTO public.auth_crawler (auth_json,meta_crawler_id,target_id) VALUES (
|
||||||
-- '{"ID":"jmxxuser","PassWord":"tomcat"}',17,4);
|
-- '{"ID":"jmxxuser","PassWord":"tomcat"}',17,4);
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
INSERT INTO public.target ( "name", infra_id, meta_target_status_id, meta_target_type_id, sensor_count ) VALUES ('SSH on 192.168.1.103', 28, 1, 1047, 1);
|
||||||
|
|
||||||
|
INSERT INTO public.sensor ("interval", item_count, "name", meta_crawler_mapping_id, meta_sensor_status_id, target_id)
|
||||||
|
VALUES (30, 1, 'SSH Sensor via SSH Health Crawler', 252, 2, 17);
|
||||||
|
|
||||||
|
INSERT INTO public.sensor_item ( meta_display_item_mapping_id, sensor_id ) VALUES (1, 1);
|
||||||
|
|
|
@ -29,7 +29,7 @@ import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
|
||||||
// @Ignore
|
// @Ignore
|
||||||
@RunWith(SpringJUnit4ClassRunner.class)
|
@RunWith(SpringJUnit4ClassRunner.class)
|
||||||
@ContextConfiguration(classes = { AppConfigTest.class })
|
@ContextConfiguration(classes = { AppConfigTest.class })
|
||||||
@ActiveProfiles("development")
|
@Ignore
|
||||||
public class SensorServiceTest {
|
public class SensorServiceTest {
|
||||||
@Autowired
|
@Autowired
|
||||||
SensorService sensorService;
|
SensorService sensorService;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user