@Controller @RequestMapping(value="/{version}/migration") @LoginStatusChecker(required=false) public class MigrationResource extends java.lang.Object
数据迁移
构造器和说明 |
---|
MigrationResource() |
限定符和类型 | 方法和说明 |
---|---|
Response |
checkDataExist(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getDialectClasses(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getFineDBConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
getStatus(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
java.lang.String |
page(javax.servlet.http.HttpServletRequest req) |
Response |
startTransfer(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version) |
Response |
testDBConnection(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
DBConfigBean config) |
Response |
updateFineDBConfig(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res,
java.lang.String version,
DBConfigBean config) |
@RequestMapping(value="/dialect", method=GET) @ResponseBody public Response getDialectClasses(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/status", method=GET) @ResponseBody public Response getStatus(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/config/finedb", method=GET) @ResponseBody public Response getFineDBConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/action", method=PUT) @ResponseBody public Response startTransfer(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/check", method=PUT) @ResponseBody public Response checkDataExist(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/test", method=PUT) @ResponseBody public Response testDBConnection(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody DBConfigBean config) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/config/finedb", method=POST) @ResponseBody public Response updateFineDBConfig(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res, @PathVariable(value="version") java.lang.String version, @RequestBody DBConfigBean config) throws java.lang.Exception
java.lang.Exception
@RequestMapping(value="/page", method=GET, produces="text/html") @ResponseBody public java.lang.String page(javax.servlet.http.HttpServletRequest req) throws java.lang.Exception
java.lang.Exception