This commit is contained in:
crusader 2018-03-25 22:20:51 +09:00
parent 2f520dead7
commit 92d3f727e7
6 changed files with 3 additions and 11 deletions

View File

@ -1,7 +1,5 @@
package com.loafle.overflow.commons.service;
import com.loafle.overflow.module.domain.model.Domain;
public interface MessagePublisher {
void publishToDomainMembers(final long domainID, final String method, final Object... params);
void publishToDomainMembersByProbeKey(final String probeKey, final String method, final Object... params);

View File

@ -9,14 +9,12 @@ import org.springframework.mail.SimpleMailMessage;
import org.springframework.mail.javamail.JavaMailSender;
import org.springframework.mail.javamail.MimeMessageHelper;
import org.springframework.stereotype.Service;
import org.springframework.ui.velocity.VelocityEngineUtils;
import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;
import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;
import java.io.File;
import java.util.Map;
/**

View File

@ -9,7 +9,7 @@ import java.util.Date;
public class Host {
private long id;
private String ip;
private long mac;
private String mac;
private String os;
private Date discoveredDate;
@ -33,11 +33,11 @@ public class Host {
this.ip = ip;
}
public long getMac() {
public String getMac() {
return mac;
}
public void setMac(long mac) {
public void setMac(String mac) {
this.mac = mac;
}

View File

@ -11,7 +11,6 @@ import com.loafle.overflow.module.discovery.model.DiscoveryZone;
import com.loafle.overflow.module.discovery.model.Host;
import com.loafle.overflow.module.discovery.model.Port;
import com.loafle.overflow.module.discovery.model.Zone;
import com.loafle.overflow.module.domain.model.Domain;
import org.codehaus.jackson.map.ObjectMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

View File

@ -1,7 +1,6 @@
package com.loafle.overflow.module.email.exception;
import com.loafle.overflow.commons.exception.OverflowRuntimeException;
import io.grpc.Status;
/**
* Created by geek on 17. 11. 22.

View File

@ -6,8 +6,6 @@ import com.loafle.overflow.module.domain.dao.DomainDAO;
import com.loafle.overflow.module.domain.dao.DomainMemberDAO;
import com.loafle.overflow.module.domain.model.Domain;
import com.loafle.overflow.module.domain.model.DomainMember;
import com.loafle.overflow.module.domain.service.DomainMemberService;
import com.loafle.overflow.module.domain.service.DomainService;
import com.loafle.overflow.module.email.dao.EmailAuthDAO;
import com.loafle.overflow.module.email.exception.EmailOverAuthException;
import com.loafle.overflow.module.email.model.EmailAuth;