dbf importer small fix
This commit is contained in:
parent
2c01a624af
commit
18b7909e36
1 changed files with 4 additions and 1 deletions
|
|
@ -29,8 +29,11 @@ public class DefaultController implements InitializingBean {
|
||||||
}
|
}
|
||||||
|
|
||||||
@RequestMapping(method = RequestMethod.GET, path = "/check", produces = MediaType.TEXT_PLAIN_VALUE)
|
@RequestMapping(method = RequestMethod.GET, path = "/check", produces = MediaType.TEXT_PLAIN_VALUE)
|
||||||
public void checkFolder() {
|
@ResponseBody
|
||||||
|
public String checkFolder() {
|
||||||
|
log.info("Call check method for importer controller");
|
||||||
importerService.run();
|
importerService.run();
|
||||||
|
return "dbf import complete, see log";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue