@RestController @SpringBootApplication public class ConfigServer extends Object
EnvironmentController
see: ConfigServerMvcConfiguration
Modifier and Type | Class and Description |
---|---|
protected class |
ConfigServer.ConfigServerConfiguration |
static class |
ConfigServer.HealthIndicatorConfiguration |
Constructor and Description |
---|
ConfigServer() |
Modifier and Type | Method and Description |
---|---|
String |
encryptParentPassword(String application,
String parentApplication,
String parentPassword) |
org.springframework.http.ResponseEntity<String> |
getDeployKeyPublic() |
String |
index() |
static void |
main(String... args) |
public static void main(String... args)
@ResponseBody @RequestMapping(path={"/","${spring.cloud.config.server.prefix:}/"}, method=GET) public String index()
@ResponseBody @RequestMapping(path="${spring.cloud.config.server.prefix:}/deployKeyPublic", method=GET) public org.springframework.http.ResponseEntity<String> getDeployKeyPublic()
@ResponseBody @RequestMapping(path="${spring.cloud.config.server.prefix:}/encryptParentPassword", method=POST, consumes="application/x-www-form-urlencoded") public String encryptParentPassword(@RequestParam(value="application") String application, @RequestParam(value="parentApplication") String parentApplication, @RequestParam(value="parentPassword") String parentPassword)
Copyright © 2018. All rights reserved.