@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/information-view/users/{userId}/")
@Validated
public class InformationViewOMASResource
extends Object
| Constructor and Description |
|---|
InformationViewOMASResource() |
| Modifier and Type | Method and Description |
|---|---|
InformationViewOMASAPIResponse |
lookupExternalTool(String serverName,
String userId,
@Valid RegistrationRequestBody requestBody)
Return the SoftwareServerCapability entity for the external tool described in the payload
|
InformationViewOMASAPIResponse |
registerExternalTool(String serverName,
String userId,
@Valid RegistrationRequestBody requestBody)
Create a SoftwareServerCapability entity containing the properties submitted in the request and describing the external tool
|
InformationViewOMASAPIResponse |
retrieveDatabases(String serverName,
String userId,
@PositiveOrZero(message="startFrom should be a positive number") Integer startFrom,
@PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
Returns the list of databases
|
InformationViewOMASAPIResponse |
retrieveDataView(String serverName,
String userId,
@NotBlank(message="data view id should not be blank") String dataViewId)
Retrieve the metadata representation of the data view with the specified data view id
|
InformationViewOMASAPIResponse |
retrieveReport(String serverName,
String userId,
@NotBlank(message="report id should not be blank") String reportId)
Retrieve the report metadata representation for the report with the specified report id
|
InformationViewOMASAPIResponse |
retrieveTableColumns(String serverName,
String userId,
@NotBlank(message="guid of the table should not be blank") String tableGuid,
@PositiveOrZero(message="startFrom should be a positive number") Integer startFrom,
@PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
Retrieve list of columns for a table using pagination
|
InformationViewOMASAPIResponse |
retrieveTableContext(String serverName,
String userId,
@NotBlank(message="guid of the table should not be blank") String tableGuid)
Retrieve the full context of a table
|
InformationViewOMASAPIResponse |
retrieveTablesForDatabase(String serverName,
String userId,
@NotBlank(message="guid of the database should not be blank") String databaseGuid,
@PositiveOrZero(message="startFrom should be a positive number") int startFrom,
@PositiveOrZero(message="pageSize should be a positive number") int pageSize)
Retrieve list of tables for a database
|
InformationViewOMASAPIResponse |
submitDataView(String serverName,
String userId,
@Valid DataViewRequestBody requestBody)
Create the metadata for the data view
|
InformationViewOMASAPIResponse |
submitReport(String serverName,
String userId,
@Valid ReportRequestBody requestBody)
Save the report metadata representation
|
@PostMapping(path="/report") public InformationViewOMASAPIResponse submitReport(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @Valid @RequestBody @Valid ReportRequestBody requestBody)
serverName - unique identifier for requested server.userId - the unique identifier for the userrequestBody - The json representing the structure of the report and basic report properties@PostMapping(path="/dataview") public InformationViewOMASAPIResponse submitDataView(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @RequestBody @Valid @Valid DataViewRequestBody requestBody)
serverName - unique identifier for requested server.userId - the unique identifier for the userrequestBody - The json representing the structure of the report and basic report properties@GetMapping(path="/databases") public InformationViewOMASAPIResponse retrieveDatabases(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @PositiveOrZero(message="startFrom should be a positive number") @RequestParam @PositiveOrZero(message="startFrom should be a positive number") Integer startFrom, @PositiveOrZero(message="pageSize should be a positive number") @RequestParam @PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
serverName - unique identifier for requested server.userId - the unique identifier for the userstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to return@GetMapping(path="databases/{database}/tables")
public InformationViewOMASAPIResponse retrieveTablesForDatabase(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@NotBlank(message="guid of the database should not be blank") @PathVariable(value="database")
@NotBlank(message="guid of the database should not be blank") String databaseGuid,
@PositiveOrZero(message="startFrom should be a positive number") @RequestParam
@PositiveOrZero(message="startFrom should be a positive number") int startFrom,
@PositiveOrZero(message="pageSize should be a positive number") @RequestParam
@PositiveOrZero(message="pageSize should be a positive number") int pageSize)
serverName - unique identifier for requested server.userId - the unique identifier for the userdatabaseGuid - guid of database for which we want to retrieve the list of tablesstartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to return@GetMapping(path="tables/{table}")
public InformationViewOMASAPIResponse retrieveTableContext(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@NotBlank(message="guid of the table should not be blank") @PathVariable(value="table")
@NotBlank(message="guid of the table should not be blank") String tableGuid)
serverName - unique identifier for requested server.userId - the unique identifier for the usertableGuid - guid of the table entity@GetMapping(path="tables/{table}/columns")
public InformationViewOMASAPIResponse retrieveTableColumns(@PathVariable(value="serverName")
String serverName,
@PathVariable(value="userId")
String userId,
@NotBlank(message="guid of the table should not be blank") @PathVariable(value="table")
@NotBlank(message="guid of the table should not be blank") String tableGuid,
@PositiveOrZero(message="startFrom should be a positive number") @RequestParam
@PositiveOrZero(message="startFrom should be a positive number") Integer startFrom,
@PositiveOrZero(message="pageSize should be a positive number") @RequestParam
@PositiveOrZero(message="pageSize should be a positive number") Integer pageSize)
serverName - unique identifier for requested server.userId - the unique identifier for the usertableGuid - guid of the tablestartFrom - starting element (used in paging through large result sets)pageSize - maximum number of results to return@PostMapping(path="register") public InformationViewOMASAPIResponse registerExternalTool(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @Valid @RequestBody @Valid RegistrationRequestBody requestBody)
serverName - unique identifier for requested server.userId - the unique identifier for the userrequestBody - payload containing the registration details to create@PostMapping(path="registration/lookup") public InformationViewOMASAPIResponse lookupExternalTool(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @Valid @RequestBody @Valid RegistrationRequestBody requestBody)
serverName - unique identifier for requested server.userId - the unique identifier for the userrequestBody - payload containing the registration details to lookup@GetMapping(path="/report") public InformationViewOMASAPIResponse retrieveReport(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @NotBlank(message="report id should not be blank") @RequestParam @NotBlank(message="report id should not be blank") String reportId)
serverName - unique identifier for requested server.userId - the unique identifier for the userreportId - - id of the report to retrieve@GetMapping(path="/dataview") public InformationViewOMASAPIResponse retrieveDataView(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @NotBlank(message="data view id should not be blank") @RequestParam @NotBlank(message="data view id should not be blank") String dataViewId)
serverName - unique identifier for requested server.userId - the unique identifier for the userdataViewId - id of the data viewCopyright © 2018–2019 ODPi. All rights reserved.