ing
This commit is contained in:
parent
7a7982e316
commit
c5c1ea90d2
2
pom.xml
2
pom.xml
|
@ -50,7 +50,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.loafle.overflow</groupId>
|
<groupId>com.loafle.overflow</groupId>
|
||||||
<artifactId>commons-java</artifactId>
|
<artifactId>commons-java</artifactId>
|
||||||
<version>1.0.10-SNAPSHOT</version>
|
<version>1.0.12-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
|
|
|
@ -197,7 +197,7 @@ public class CentralNoAuthProbeService implements NoAuthProbeService {
|
||||||
|
|
||||||
private void newProbeHost(InfraHost infraHost, Probe probe) throws OverflowException {
|
private void newProbeHost(InfraHost infraHost, Probe probe) throws OverflowException {
|
||||||
ProbeHost probeHost = new ProbeHost();
|
ProbeHost probeHost = new ProbeHost();
|
||||||
probeHost.setHost(infraHost);
|
probeHost.setInfraHost(infraHost);
|
||||||
probeHost.setProbe(probe);
|
probeHost.setProbe(probe);
|
||||||
|
|
||||||
this.probeHostService.regist(probeHost);
|
this.probeHostService.regist(probeHost);
|
||||||
|
|
|
@ -8,4 +8,4 @@ jpa.database=postgresql
|
||||||
jpa.hibernate.ddl-auto=create
|
jpa.hibernate.ddl-auto=create
|
||||||
#jpa.hibernate.ddl-auto=update
|
#jpa.hibernate.ddl-auto=update
|
||||||
jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
|
jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
|
||||||
jpa.show-sql=true
|
jpa.show-sql=false
|
||||||
|
|
|
@ -978,7 +978,7 @@ INSERT INTO public.infra_os_application ("name",id,infra_os_id) VALUES (
|
||||||
INSERT INTO public.infra_os_daemon ("name",id,infra_os_id) VALUES (
|
INSERT INTO public.infra_os_daemon ("name",id,infra_os_id) VALUES (
|
||||||
'Apache',6,2);
|
'Apache',6,2);
|
||||||
|
|
||||||
insert into public.probe_host (HOST_ID, PROBE_ID) values (3, 1);
|
insert into public.probe_host (infra_host_id, PROBE_ID) values (3, 1);
|
||||||
|
|
||||||
INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES (
|
INSERT INTO public.target (create_date,description,display_name,sensor_count, infra_id) VALUES (
|
||||||
'2017-07-27 20:18:09.555','Machine Target','ghost target',0, 1);
|
'2017-07-27 20:18:09.555','Machine Target','ghost target',0, 1);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user