@Validated
@Controller
public class RouteController
extends java.lang.Object
implements com.xforceplus.route.api.RouteApi, com.xforceplus.api.global.autoscan.AutoscanApi
| 构造器和说明 |
|---|
RouteController(RouteService routeService,
AutoscanRecordService autoscanRecordService) |
| 限定符和类型 | 方法和说明 |
|---|---|
com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> |
batchScan(com.xforceplus.tenant.security.autoscan.model.AutoScanBody autoScanBody)
根据路由id扫描接口
|
com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> |
check(long id,
java.lang.String healthPath) |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<com.xforceplus.entity.Route> |
create(com.xforceplus.route.api.common.model.RouteModel.Request.Save routeForm) |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> |
delete(long id) |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<org.springframework.data.domain.Page<io.geewit.data.jpa.envers.domain.ComparedRevision<com.xforceplus.entity.Route,java.lang.String>>> |
histories(long id,
org.springframework.data.domain.Pageable pageable) |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.util.List<com.xforceplus.entity.Route>> |
list(com.xforceplus.route.api.common.model.RouteModel.Request.Query query,
org.springframework.data.domain.Sort sort) |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<org.springframework.data.domain.Page<com.xforceplus.entity.Route>> |
page(com.xforceplus.route.api.common.model.RouteModel.Request.Query query,
org.springframework.data.domain.Pageable pageable) |
java.lang.String |
refresh() |
java.lang.String |
refreshCount(java.lang.String refreshId) |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> |
refreshHash() |
com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> |
scan(java.lang.Long routeId)
根据路由id扫描接口
|
com.xforceplus.tenant.security.core.api.response.ResponseEntity<com.xforceplus.entity.Route> |
update(long id,
com.xforceplus.route.api.common.model.RouteModel.Request.Save routeForm) |
public RouteController(RouteService routeService, AutoscanRecordService autoscanRecordService)
public com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.util.List<com.xforceplus.entity.Route>> list(com.xforceplus.route.api.common.model.RouteModel.Request.Query query,
org.springframework.data.domain.Sort sort)
list 在接口中 com.xforceplus.route.api.RouteApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<org.springframework.data.domain.Page<com.xforceplus.entity.Route>> page(com.xforceplus.route.api.common.model.RouteModel.Request.Query query,
org.springframework.data.domain.Pageable pageable)
page 在接口中 com.xforceplus.route.api.RouteApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<com.xforceplus.entity.Route> create(com.xforceplus.route.api.common.model.RouteModel.Request.Save routeForm)
create 在接口中 com.xforceplus.route.api.RouteApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<com.xforceplus.entity.Route> update(long id,
com.xforceplus.route.api.common.model.RouteModel.Request.Save routeForm)
update 在接口中 com.xforceplus.route.api.RouteApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> delete(long id)
delete 在接口中 com.xforceplus.route.api.RouteApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> check(long id,
java.lang.String healthPath)
check 在接口中 com.xforceplus.route.api.RouteApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<org.springframework.data.domain.Page<io.geewit.data.jpa.envers.domain.ComparedRevision<com.xforceplus.entity.Route,java.lang.String>>> histories(long id,
org.springframework.data.domain.Pageable pageable)
histories 在接口中 com.xforceplus.route.api.RouteApi@ResponseBody
@RequestMapping(name="\u5237\u65b0\u8def\u7531Hash",
value="${xforce.route.service.url.prefix:/api}/global${xforce.route.service.version:}/routes/refresh/hash",
method=POST)
public com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> refreshHash()
@ResponseBody
@RequestMapping(name="\u5237\u65b0\u8def\u7531",
value="${xforce.route.service.url.prefix:/api}/global${xforce.route.service.version:}/routes/refresh",
method=POST)
public java.lang.String refresh()
@ResponseBody
@RequestMapping(name="\u5237\u65b0\u8def\u7531",
value="${xforce.route.service.url.prefix:/api}/global${xforce.route.service.version:}/routes/refresh/{refreshId}",
method=GET)
public java.lang.String refreshCount(@PathVariable(value="refreshId")
java.lang.String refreshId)
public com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> scan(@PathVariable
java.lang.Long routeId)
scan 在接口中 com.xforceplus.api.global.autoscan.AutoscanApipublic com.xforceplus.tenant.security.core.api.response.ResponseEntity<java.lang.String> batchScan(@RequestBody
com.xforceplus.tenant.security.autoscan.model.AutoScanBody autoScanBody)
batchScan 在接口中 com.xforceplus.api.global.autoscan.AutoscanApi