Class OldServerOriginResource
java.lang.Object
org.odpi.openmetadata.platformservices.server.spring.OldServerOriginResource
@RestController
@RequestMapping("/open-metadata/admin-services/users/{userId}")
@Deprecated
public class OldServerOriginResource
extends Object
Deprecated.
OldServerOriginResource provides the Spring wrapper for the origin service that helps the client
discover the type of the server.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetServerOrigin
(String userId) Deprecated.getServerOrigin
(String userId, String serverName) Deprecated.
-
Constructor Details
-
OldServerOriginResource
public OldServerOriginResource()Deprecated.
-
-
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
-