Subversion Repositories SmartDukaan

Rev

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

Rev 22273 Rev 22286
Line 6... Line 6...
6
import java.util.List;
6
import java.util.List;
7
import java.util.Map;
7
import java.util.Map;
8
 
8
 
9
import javax.servlet.http.HttpServletRequest;
9
import javax.servlet.http.HttpServletRequest;
10
 
10
 
11
import org.apache.commons.lang.ArrayUtils;
-
 
12
import org.slf4j.Logger;
11
import org.slf4j.Logger;
13
import org.slf4j.LoggerFactory;
12
import org.slf4j.LoggerFactory;
14
import org.springframework.beans.factory.annotation.Autowired;
13
import org.springframework.beans.factory.annotation.Autowired;
15
import org.springframework.beans.factory.annotation.Value;
14
import org.springframework.beans.factory.annotation.Value;
16
import org.springframework.http.HttpStatus;
15
import org.springframework.http.HttpStatus;
17
import org.springframework.http.MediaType;
16
import org.springframework.http.MediaType;
18
import org.springframework.http.ResponseEntity;
17
import org.springframework.http.ResponseEntity;
19
import org.springframework.stereotype.Controller;
18
import org.springframework.stereotype.Controller;
-
 
19
import org.springframework.transaction.annotation.Transactional;
20
import org.springframework.web.bind.annotation.PathVariable;
20
import org.springframework.web.bind.annotation.PathVariable;
21
import org.springframework.web.bind.annotation.RequestMapping;
21
import org.springframework.web.bind.annotation.RequestMapping;
22
import org.springframework.web.bind.annotation.RequestMethod;
22
import org.springframework.web.bind.annotation.RequestMethod;
23
import org.springframework.web.bind.annotation.RequestParam;
23
import org.springframework.web.bind.annotation.RequestParam;
24
 
24
 
Line 43... Line 43...
43
import io.swagger.annotations.ApiImplicitParam;
43
import io.swagger.annotations.ApiImplicitParam;
44
import io.swagger.annotations.ApiImplicitParams;
44
import io.swagger.annotations.ApiImplicitParams;
45
import io.swagger.annotations.ApiOperation;
45
import io.swagger.annotations.ApiOperation;
46
 
46
 
47
@Controller
47
@Controller
-
 
48
@Transactional(rollbackFor=Throwable.class)
48
public class DealsController {
49
public class DealsController {
49
 
50
 
50
	private static final Logger logger=LoggerFactory.getLogger(DealsController.class);
51
	private static final Logger logger=LoggerFactory.getLogger(DealsController.class);
51
 
52
 
52
	@Value("${python.api.host}")
53
	@Value("${python.api.host}")