Class ServerOriginResource
java.lang.Object
org.odpi.openmetadata.adminservices.spring.ServerOriginResource
@RestController
@RequestMapping("/open-metadata/admin-services/users/{userId}")
public class ServerOriginResource
extends Object
ServerOriginResource provides the Spring wrapper for the origin service that helps the client
discover the type of the server.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetServerOrigin(String userId) Deprecated.getServerOrigin(String userId, String serverName) Deprecated.
-
Constructor Details
-
ServerOriginResource
public ServerOriginResource()
-
-
Method Details
-
getServerOrigin
@GetMapping(path="/servers/{serverName}/server-origin") @Deprecated public String getServerOrigin(@PathVariable String userId, @PathVariable String serverName) Deprecated.Return the origin of this server implementation.- Parameters:
userId- name of the user making the requestserverName- name of the server that the request is for- Returns:
- String description
-
getServerOrigin
@GetMapping(path="/server-origin") @Deprecated public String getServerOrigin(@PathVariable String userId) Deprecated.Return the origin of this server implementation.- Parameters:
userId- name of the user making the request- Returns:
- String description
-