Class ServerOriginResource
- java.lang.Object
-
- org.odpi.openmetadata.adminservices.spring.ServerOriginResource
-
@RestController @RequestMapping("/open-metadata/admin-services/users/{userId}") public class ServerOriginResource extends ObjectServerOriginResource provides the Spring wrapper for the origin service that helps the client discover the type of the server.
-
-
Constructor Summary
Constructors Constructor Description ServerOriginResource()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description StringgetServerOrigin(String userId)Deprecated.StringgetServerOrigin(String userId, String serverName)Deprecated.
-
-
-
Method Detail
-
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
-
-