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 an interfaces for enterprise architects.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.odpi.openmetadata.viewservices.tex.api.rest.TexResourceEndpointListResponsegetResourceEndpoints(String viewServerName, String userId) Get the configured resource endpointsorg.odpi.openmetadata.viewservices.tex.api.rest.TypeExplorerResponsegetTypeExplorer(String viewServerName, String userId, org.odpi.openmetadata.viewservices.tex.api.rest.TexTypesRequestBody body) Load type information
-
Constructor Details
-
TexViewRESTResource
public TexViewRESTResource()Default constructor
-
-
Method Details
-
getResourceEndpoints
@GetMapping("/resource-endpoints") public org.odpi.openmetadata.viewservices.tex.api.rest.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 org.odpi.openmetadata.viewservices.tex.api.rest.TypeExplorerResponse getTypeExplorer(@PathVariable String viewServerName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.viewservices.tex.api.rest.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
-