Class TexViewRESTResource
java.lang.Object
org.odpi.openmetadata.viewservices.tex.server.spring.TexViewRESTResource
@RestController
@RequestMapping("/servers/{viewServerName}/open-metadata/view-services/tex/users/{userId}")
public class TexViewRESTResource
extends Object
The TexViewRESTResource provides the Spring API endpoints of the Type Explorer Open Metadata View Service (OMVS).
This interface provides a service for enterprise architects.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetResourceEndpoints
(String viewServerName, String userId) Get the configured resource endpointsgetTypeExplorer
(String viewServerName, String userId, TexTypesRequestBody body) Load type information
-
Constructor Details
-
TexViewRESTResource
public TexViewRESTResource()Default constructor
-
-
Method Details
-
getResourceEndpoints
@GetMapping("/resource-endpoints") public TexResourceEndpointListResponse getResourceEndpoints(@PathVariable String viewServerName, @PathVariable String userId) Get the configured resource endpoints- Parameters:
viewServerName
- name of the server running the view-service.userId
- user account under which to conduct operation.- Returns:
- response object containing the list of resource endpoints or exception information
-
getTypeExplorer
@PostMapping("/types") public TypeExplorerResponse getTypeExplorer(@PathVariable String viewServerName, @PathVariable String userId, @RequestBody TexTypesRequestBody body) Load type informationLoad type information from the repository server. This is used to populate filters.
- Parameters:
viewServerName
- name of the server running the view-service.userId
- user account under which to conduct operation.body
- request body containing parameters to formulate repository request- Returns:
- response object containing the repository's type information or exception information
-