Class ServerConfigController

java.lang.Object
org.tailormap.api.controller.admin.ServerConfigController

@RestController public class ServerConfigController extends Object
Controller for getting some config properties for admins without exposing all configuration properties via the Actuator configprops endpoint, which can include passwords and other confidential values.
  • Constructor Details

    • ServerConfigController

      public ServerConfigController(jakarta.servlet.MultipartConfigElement multipartConfigElement)
  • Method Details

    • get

      @GetMapping(path="${tailormap-api.admin.base-path}/server/config") public org.springframework.http.ResponseEntity<Map<String,Object>> get()