Subversion Repositories SmartDukaan

Rev

Rev 23016 | Rev 23839 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 23016 Rev 23568
Line 20... Line 20...
20
import javax.mail.internet.MimeMessage;
20
import javax.mail.internet.MimeMessage;
21
import javax.servlet.http.HttpServletRequest;
21
import javax.servlet.http.HttpServletRequest;
22
 
22
 
23
import org.apache.commons.io.FileUtils;
23
import org.apache.commons.io.FileUtils;
24
import org.json.JSONObject;
24
import org.json.JSONObject;
25
import org.slf4j.Logger;
25
import org.apache.logging.log4j.Logger;
26
import org.slf4j.LoggerFactory;
26
import org.apache.logging.log4j.LogManager;
27
import org.springframework.beans.factory.annotation.Autowired;
27
import org.springframework.beans.factory.annotation.Autowired;
28
import org.springframework.beans.factory.annotation.Value;
28
import org.springframework.beans.factory.annotation.Value;
29
import org.springframework.http.ResponseEntity;
29
import org.springframework.http.ResponseEntity;
30
import org.springframework.mail.javamail.JavaMailSender;
30
import org.springframework.mail.javamail.JavaMailSender;
31
import org.springframework.mail.javamail.MimeMessageHelper;
31
import org.springframework.mail.javamail.MimeMessageHelper;
Line 73... Line 73...
73
import in.shop2020.model.v1.order.WalletReferenceType;
73
import in.shop2020.model.v1.order.WalletReferenceType;
74
 
74
 
75
@Controller
75
@Controller
76
@Transactional(rollbackFor = Throwable.class)
76
@Transactional(rollbackFor = Throwable.class)
77
public class InsuranceController {
77
public class InsuranceController {
78
	private static final Logger LOGGER = LoggerFactory.getLogger(InsuranceController.class);
78
	private static final Logger LOGGER = LogManager.getLogger(InsuranceController.class);
79
	private static final String gadgetCopsFilePath = "/GadgetCops";
79
	private static final String gadgetCopsFilePath = "/GadgetCops";
80
 
80
 
81
	@Autowired
81
	@Autowired
82
	private GadgetCopsInsuranceCalcRepository gadgetCopsInsuranceCalcRepository;
82
	private GadgetCopsInsuranceCalcRepository gadgetCopsInsuranceCalcRepository;
83
	
83