Subversion Repositories SmartDukaan

Rev

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

Rev 21812 Rev 22011
Line 10... Line 10...
10
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
10
import org.springframework.web.servlet.config.annotation.ResourceHandlerRegistry;
11
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
11
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;
12
 
12
 
13
import com.spice.profitmandi.common.model.ProfitMandiConstants;
13
import com.spice.profitmandi.common.model.ProfitMandiConstants;
14
import com.spice.profitmandi.common.web.interceptor.SimpleCORSInterceptor;
14
import com.spice.profitmandi.common.web.interceptor.SimpleCORSInterceptor;
15
import com.spice.profitmandi.web.interceptor.ApiRequestInterceptor;
-
 
16
import com.spice.profitmandi.web.interceptor.AuthenticationInterceptor;
15
import com.spice.profitmandi.web.interceptor.AuthenticationInterceptor;
17
import com.spice.profitmandi.web.interceptor.CreateRetailerRequestInterceptor;
-
 
18
import com.spice.profitmandi.web.interceptor.CreateShopRequestInterceptor;
-
 
19
import com.spice.profitmandi.web.interceptor.CreateUserRequestInterceptor;
-
 
20
import com.spice.profitmandi.web.interceptor.GoogleLoginRequestInterceptor;
16
import com.spice.profitmandi.web.interceptor.GoogleLoginRequestInterceptor;
21
import com.spice.profitmandi.web.interceptor.RoleRequestInterceptor;
-
 
22
 
17
 
23
import springfox.documentation.builders.PathSelectors;
18
import springfox.documentation.builders.PathSelectors;
24
import springfox.documentation.builders.RequestHandlerSelectors;
19
import springfox.documentation.builders.RequestHandlerSelectors;
25
import springfox.documentation.service.ApiInfo;
20
import springfox.documentation.service.ApiInfo;
26
import springfox.documentation.spi.DocumentationType;
21
import springfox.documentation.spi.DocumentationType;
Line 35... Line 30...
35
	
30
	
36
	private static final String RESOURCES_PATTERN="/resources/**";
31
	private static final String RESOURCES_PATTERN="/resources/**";
37
	private static final String RESOURCES_LOCATION="/resources/";
32
	private static final String RESOURCES_LOCATION="/resources/";
38
	
33
	
39
	@Autowired
34
	@Autowired
40
	ApiRequestInterceptor apiRequestInterceptor;
-
 
41
	
-
 
42
	@Autowired
-
 
43
	RoleRequestInterceptor roleRequestInterceptor;
-
 
44
	
-
 
45
	@Autowired
-
 
46
	GoogleLoginRequestInterceptor googleLoginRequestInterceptor;
35
	GoogleLoginRequestInterceptor googleLoginRequestInterceptor;
47
	
36
	
48
	@Autowired
37
	@Autowired
49
	CreateUserRequestInterceptor createUserRequestInterceptor;
-
 
50
	
-
 
51
	@Autowired
-
 
52
	SimpleCORSInterceptor simpleCORSInterceptor;
38
	SimpleCORSInterceptor simpleCORSInterceptor;
53
	
-
 
54
	@Autowired
-
 
55
	CreateRetailerRequestInterceptor createRetailerRequestInterceptor;
-
 
56
	
-
 
57
	@Autowired
-
 
58
	CreateShopRequestInterceptor createShopRequestInterceptor;
-
 
59
 
39
 
60
	@Autowired
40
	@Autowired
61
	AuthenticationInterceptor authenticationInterceptor;
41
	AuthenticationInterceptor authenticationInterceptor;
62
	
42
	
63
	@Bean
43
	@Bean