Class OMAGServerPlatformOriginResource
java.lang.Object
org.odpi.openmetadata.platformservices.server.spring.OMAGServerPlatformOriginResource
@RestController
@RequestMapping("/open-metadata/platform-services/server-platform")
public class OMAGServerPlatformOriginResource
extends Object
OMAGServerPlatformOriginResource 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 TypeMethodDescriptionRetrieve the name of the organization running this platform.Return the origin of this server platform implementation.
-
Constructor Details
-
OMAGServerPlatformOriginResource
public OMAGServerPlatformOriginResource()
-
-
Method Details
-
getServerPlatformOrigin
@GetMapping(path="/origin") public String getServerPlatformOrigin() throws UserNotAuthorizedExceptionReturn the origin of this server platform implementation.- Returns:
- String description
- Throws:
UserNotAuthorizedException
-
getServerPlatformOrganizationName
@GetMapping(path="/organization-name") public String getServerPlatformOrganizationName() throws UserNotAuthorizedExceptionRetrieve the name of the organization running this platform.- Returns:
- String description
- Throws:
UserNotAuthorizedException
-