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
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.viewservices.tex.api.rest.TexResourceEndpointListResponse
    getResourceEndpoints(String viewServerName, String userId)
    Get the configured resource endpoints
    org.odpi.openmetadata.viewservices.tex.api.rest.TypeExplorerResponse
    getTypeExplorer(String viewServerName, String userId, org.odpi.openmetadata.viewservices.tex.api.rest.TexTypesRequestBody body)
    Load type information

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 information

      Load 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