This commit is contained in:
crusader 2018-06-06 00:52:24 +09:00
parent 7a7982e316
commit c5c1ea90d2
4 changed files with 4 additions and 4 deletions

View File

@ -50,7 +50,7 @@
<dependency>
<groupId>com.loafle.overflow</groupId>
<artifactId>commons-java</artifactId>
<version>1.0.10-SNAPSHOT</version>
<version>1.0.12-SNAPSHOT</version>
</dependency>
<dependency>

View File

@ -197,7 +197,7 @@ public class CentralNoAuthProbeService implements NoAuthProbeService {
private void newProbeHost(InfraHost infraHost, Probe probe) throws OverflowException {
ProbeHost probeHost = new ProbeHost();
probeHost.setHost(infraHost);
probeHost.setInfraHost(infraHost);
probeHost.setProbe(probe);
this.probeHostService.regist(probeHost);

View File

@ -8,4 +8,4 @@ jpa.database=postgresql
jpa.hibernate.ddl-auto=create
#jpa.hibernate.ddl-auto=update
jpa.hibernate.naming-strategy=org.hibernate.cfg.ImprovedNamingStrategy
jpa.show-sql=true
jpa.show-sql=false

View File

@ -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 (
'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 (
'2017-07-27 20:18:09.555','Machine Target','ghost target',0, 1);