@RestController
@RequestMapping(value="/v1/{tenant}/conf")
public class ConfRoute
extends Object
| Constructor and Description |
|---|
ConfRoute() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<byte[]> |
getTenantConfFile(String tenant,
javax.servlet.http.HttpServletRequest request)
Get file content in conf/{path}
|
org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> |
getTenantConfTree(javax.servlet.http.HttpServletRequest req,
String tenant)
Get specific tenant configuration tree.
|
@GetMapping(produces="application/json")
public org.springframework.http.ResponseEntity<org.thales.punch.settings.api.ISettingsMap> getTenantConfTree(javax.servlet.http.HttpServletRequest req,
@PathVariable
String tenant)
tenant - tenant@GetMapping(value="**",
produces="application/json")
public org.springframework.http.ResponseEntity<byte[]> getTenantConfFile(@PathVariable
String tenant,
javax.servlet.http.HttpServletRequest request)
throws IOException
tenant - gateway's tenantrequest - request from clientIOException - .Copyright © 2023. All rights reserved.