Skip to content

Commit

Permalink
Removed myapp properties (#89)
Browse files Browse the repository at this point in the history
* Added limit condition while fetching Item stock entry details in eaushadha API

* Minor modifications in 1097 referral sms template

* Added institute name along with referral SMS

* Removed myapp propeties and minor change in interceptor.

---------

Co-authored-by: Devika <[email protected]>
  • Loading branch information
devikasuresh20 and Devika authored Feb 17, 2024
1 parent 988697d commit a76c4df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 49 deletions.

This file was deleted.

17 changes: 5 additions & 12 deletions src/main/java/com/iemr/common/config/InterceptorConfig.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,21 +29,14 @@
import com.iemr.common.utils.http.HTTPRequestInterceptor;

@Configuration
public class InterceptorConfig extends WebMvcConfigurerAdapter
{
public class InterceptorConfig extends WebMvcConfigurerAdapter {

@Autowired
HTTPRequestInterceptor requestInterceptor;

// @Override
// public void addInterceptors(InterceptorRegistry registry)
// {
// registry.addInterceptor(requestInterceptor);
// }

@Override
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(new BlockingHttpMethodInterceptor())
.addPathPatterns("/**");
}
public void addInterceptors(InterceptorRegistry registry) {
registry.addInterceptor(requestInterceptor);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
import io.swagger.annotations.ApiOperation;
import io.swagger.annotations.ApiParam;

@PropertySource("classpath:myapp.properties")
@RestController
@RequestMapping(value = "/carestream")
public class CareStreamCreateOrderController {
Expand Down

0 comments on commit a76c4df

Please sign in to comment.