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