@RestController public class DatabaseController extends ControllerBase
| Constructor and Description |
|---|
DatabaseController() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addApplicationLink(String site,
DatabaseConnection dbc,
Database fromDomain) |
org.springframework.http.ResponseEntity<Database> |
getDatabaseConnection(String name,
Integer id) |
org.springframework.http.ResponseEntity<Database> |
getDatabaseConnectionForApplication(String site,
String app) |
org.springframework.http.ResponseEntity<Databases> |
getDatabaseConnections(String name) |
org.springframework.http.ResponseEntity<Database> |
info() |
protected org.springframework.http.ResponseEntity<Database> |
info(DatabaseConnection platformConnection) |
org.springframework.http.ResponseEntity<Database> |
initialize() |
org.springframework.http.ResponseEntity<Database> |
updateDatabaseConnection(String name,
Integer id,
Database database) |
org.springframework.http.ResponseEntity<Database> |
updateDatabaseConnectionforApplication(String site,
String app,
Database database) |
getDatabaseStatus, getSharedSecret, onBusinessException@RequestMapping(value="/platform/database",
method=GET)
public org.springframework.http.ResponseEntity<Database> info()
throws Exception
Exception@RequestMapping(value="/platform/database/initialize",
method=POST)
public org.springframework.http.ResponseEntity<Database> initialize()
throws Exception
Exceptionprotected org.springframework.http.ResponseEntity<Database> info(DatabaseConnection platformConnection) throws DatatypeConfigurationException
DatatypeConfigurationException@RequestMapping(value="/site/{name}/database",
method=GET)
public org.springframework.http.ResponseEntity<Databases> getDatabaseConnections(@PathVariable(value="name")
String name)
protected void addApplicationLink(String site, DatabaseConnection dbc, Database fromDomain)
@RequestMapping(value="/site/{site}/application/{app}/database",
method=GET)
public org.springframework.http.ResponseEntity<Database> getDatabaseConnectionForApplication(@PathVariable(value="site")
String site,
@PathVariable(value="app")
String app)
@RequestMapping(value="/site/{site}/application/{app}/database",
method=PUT)
public org.springframework.http.ResponseEntity<Database> updateDatabaseConnectionforApplication(@PathVariable(value="site")
String site,
@PathVariable(value="app")
String app,
@RequestBody
Database database)
@RequestMapping(value="/site/{name}/database/{id}",
method=GET)
public org.springframework.http.ResponseEntity<Database> getDatabaseConnection(@PathVariable(value="name")
String name,
@PathVariable(value="id")
Integer id)
Copyright © 2011–2018 aiticon GmbH. All rights reserved.