Class CconfigQueryController
java.lang.Object
org.chenile.http.handler.ControllerSupport
org.chenile.cconfig.configuration.controller.CconfigQueryController
@RestController
@ChenileController(value="cconfigQueryService",
serviceName="_cconfigQueryService_",
healthCheckerName="cconfigHealthChecker")
public class CconfigQueryController
extends ControllerSupport
-
Field Summary
Fields inherited from class ControllerSupport
service -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAllKeys(HttpServletRequest httpServletRequest, String module) value(HttpServletRequest httpServletRequest, String module, String key) Methods inherited from class ControllerSupport
process, process
-
Constructor Details
-
CconfigQueryController
public CconfigQueryController()
-
-
Method Details
-
getAllKeys
@GetMapping("/config/{module}") public ResponseEntity<GenericResponse<Map<String,Object>>> getAllKeys(HttpServletRequest httpServletRequest, @PathVariable("module") String module) -
value
@GetMapping("/config/{module}/{key}") public ResponseEntity<GenericResponse<Map<String,Object>>> value(HttpServletRequest httpServletRequest, @PathVariable("module") String module, @PathVariable("key") String key)
-