@RestController @RequestMapping(value="/v1/platform") public class PlatformRoute extends Object
| Constructor and Description |
|---|
PlatformRoute(PunchplatformConfiguration punchplatformConfiguration,
EnvironmentConfiguration environmentConfiguration,
PlatformService platformService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> |
getGatewayTenant()
Get tenant configured for the gateway
|
org.springframework.http.ResponseEntity<org.thales.punch.platform.api.IPunchPlatformProperties> |
getPunchplatformProperties()
Get punchplatform.properties file
|
org.springframework.http.ResponseEntity<String> |
setUpKibana()
Sets up Kibana with dashboards and index patterns
|
org.springframework.http.ResponseEntity<String> |
uploadConfiguration()
Populates the Resource Manager with the configuration folder
|
public PlatformRoute(PunchplatformConfiguration punchplatformConfiguration, EnvironmentConfiguration environmentConfiguration, PlatformService platformService)
@GetMapping(value="/properties",
produces="application/json")
public org.springframework.http.ResponseEntity<org.thales.punch.platform.api.IPunchPlatformProperties> getPunchplatformProperties()
@GetMapping(value="/tenant",
produces="application/json")
public org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> getGatewayTenant()
@PostMapping(value="/configuration",
produces="application/json")
public org.springframework.http.ResponseEntity<String> uploadConfiguration()
throws InterruptedException
InterruptedException@PostMapping(value="/setup",
produces="application/json")
public org.springframework.http.ResponseEntity<String> setUpKibana()
throws InterruptedException
InterruptedExceptionCopyright © 2023. All rights reserved.