ing
This commit is contained in:
parent
2f520dead7
commit
92d3f727e7
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
/**
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user