@RestController
@RequestMapping(value="/rest",
produces={"application/xml","application/json"})
public class HerdRestController
extends HerdBaseController
| Constructor and Description |
|---|
HerdRestController() |
| Modifier and Type | Method and Description |
|---|---|
BuildInformation |
getBuildInfo()
Gets the build information.
|
TimeoutValidationResponse |
getTimeoutValidation(Integer waitForSeconds)
Validates infrastructure timeouts.
|
addPagingHttpHeaders, validateNoDuplicateQueryStringParams@RequestMapping(value="/buildInfo",
method=GET)
@Secured(value="FN_BUILD_INFO_GET")
public BuildInformation getBuildInfo()
@RequestMapping(value="/timeoutValidation",
method=GET)
@Secured(value="FN_TIMEOUT_VALIDATION_GET")
public TimeoutValidationResponse getTimeoutValidation(@RequestParam(value="waitForSeconds")
Integer waitForSeconds)
throws InterruptedException
waitForSeconds - number of seconds to wait that falls between 0 and 1800 inclusivelyInterruptedException - If the internal wait fails.Copyright © 2019. All rights reserved.