Package org.appng.appngizer.controller
Class PlatformController
- java.lang.Object
-
- org.appng.appngizer.controller.ControllerBase
-
- org.appng.appngizer.controller.PlatformController
-
@RestController public class PlatformController extends ControllerBase
-
-
Field Summary
-
Fields inherited from class org.appng.appngizer.controller.ControllerBase
configurer, context, coreService, databaseService, session, templateService
-
-
Constructor Summary
Constructors Constructor Description PlatformController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.catalina.Context
getAppNGContext()
org.springframework.http.ResponseEntity<Properties>
listEnvironment()
org.springframework.http.ResponseEntity<Properties>
listSystemProperties()
protected Properties
mapProps(Map<?,?> properties)
org.springframework.http.ResponseEntity<Void>
reloadPlatform()
org.springframework.http.ResponseEntity<Platform>
showPlatform()
-
Methods inherited from class org.appng.appngizer.controller.ControllerBase
getDatabaseStatus, getSharedSecret, onBusinessException, onConstraintViolationException
-
-
-
-
Method Detail
-
showPlatform
@GetMapping("/platform") public org.springframework.http.ResponseEntity<Platform> showPlatform()
-
listSystemProperties
@GetMapping("/platform/system") public org.springframework.http.ResponseEntity<Properties> listSystemProperties()
-
listEnvironment
@GetMapping("/platform/environment") public org.springframework.http.ResponseEntity<Properties> listEnvironment()
-
reloadPlatform
@PostMapping("/platform/reload") public org.springframework.http.ResponseEntity<Void> reloadPlatform()
-
getAppNGContext
protected org.apache.catalina.Context getAppNGContext()
-
mapProps
protected Properties mapProps(Map<?,?> properties)
-
-