// Path: src/main/java/org/mockenize/model/LogBean.java
// @Data
// public class LogBean implements Serializable, Cacheable {
// 
// 	private static final long serialVersionUID = 1L;
// 
// 	private String key;
// 
// 	private LogType type;
// 
// 	private String url;
// 
// 	private String path;
// 
// 	private String method;
// 
// 	private RequestLogBean request;
// 
// 	private ResponseLogBean response;
// 
// 	private Date date = new Date();
// 
// 	protected LogBean() {
// 	}
// 
// 	public LogBean(UUID key, LogType type) {
// 		this.key = key.toString();
// 		this.type = type;
// 	}
// 
// }
// 
// Path: src/main/java/org/mockenize/repository/RequestLogRepository.java
// @Repository
// public class RequestLogRepository {
// 
//     private static final String CACHE_KEY = "request-log";
// 
//     private final IQueue<Object> queue;
// 
//     @Autowired
//     public RequestLogRepository(HazelcastInstance hazelcastInstance) {
//         queue = hazelcastInstance.getQueue(CACHE_KEY);
//     }
// 
//     public void save(LogBean requestLogBean) {
//         queue.add(requestLogBean);
//     }
// }


import org.mockenize.model.LogBean;
import org.mockenize.repository.RequestLogRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
package org.mockenize.service;


@Service
public class RequestLogService {

    @Autowired
// Path: src/main/java/org/mockenize/model/LogBean.java
// @Data
// public class LogBean implements Serializable, Cacheable {
// 
// 	private static final long serialVersionUID = 1L;
// 
// 	private String key;
// 
// 	private LogType type;
// 
// 	private String url;
// 
// 	private String path;
// 
// 	private String method;
// 
// 	private RequestLogBean request;
// 
// 	private ResponseLogBean response;
// 
// 	private Date date = new Date();
// 
// 	protected LogBean() {
// 	}
// 
// 	public LogBean(UUID key, LogType type) {
// 		this.key = key.toString();
// 		this.type = type;
// 	}
// 
// }
// 
// Path: src/main/java/org/mockenize/repository/RequestLogRepository.java
// @Repository
// public class RequestLogRepository {
// 
//     private static final String CACHE_KEY = "request-log";
// 
//     private final IQueue<Object> queue;
// 
//     @Autowired
//     public RequestLogRepository(HazelcastInstance hazelcastInstance) {
//         queue = hazelcastInstance.getQueue(CACHE_KEY);
//     }
// 
//     public void save(LogBean requestLogBean) {
//         queue.add(requestLogBean);
//     }
// }


// Path: src/main/java/org/mockenize/service/RequestLogService.java
import org.mockenize.model.LogBean;
import org.mockenize.repository.RequestLogRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

package org.mockenize.service;


@Service
public class RequestLogService {

    @Autowired
    private RequestLogRepository requestLogRepository;