Class SecurityManagerOMASResource
- java.lang.Object
-
- org.odpi.openmetadata.accessservices.securitymanager.server.spring.SecurityManagerOMASResource
-
@RestController @RequestMapping("/servers/{serverName}/open-metadata/access-services/security-manager/users/{userId}") public class SecurityManagerOMASResource extends ObjectServer-side REST API support for security manager independent REST endpoints
-
-
Constructor Summary
Constructors Constructor Description SecurityManagerOMASResource()Instantiates a new Security Manager OMAS resource.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GUIDResponsecreateDatabaseManager(String serverName, String userId, DatabaseManagerRequestBody requestBody)Create information about the database manager (DBMS) that manages database schemas.GUIDResponsecreateFileManagerInCatalog(String serverName, String userId, FileManagerRequestBody requestBody)Files can be owned by a file manager.GUIDResponsecreateFileSystemInCatalog(String serverName, String userId, FileSystemRequestBody requestBody)Files live on a file system.GUIDResponsegetMetadataSourceGUID(String serverName, String userId, String qualifiedName)Retrieve the unique identifier of the software server capability representing a metadata source.ConnectionResponsegetOutTopicConnection(String serverName, String userId, String callerId)Return the connection object for the Security Manager OMAS's out topic.
-
-
-
Method Detail
-
getOutTopicConnection
@GetMapping(path="/topics/out-topic-connection/{callerId}") public ConnectionResponse getOutTopicConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String callerId)Return the connection object for the Security Manager OMAS's out topic.- Parameters:
serverName- name of the server to route the request touserId- identifier of calling usercallerId- unique identifier of the caller- Returns:
- connection object for the out topic or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem retrieving the discovery engine definition.
-
createFileSystemInCatalog
@PostMapping(path="/metadata-sources/filesystems") public GUIDResponse createFileSystemInCatalog(@PathVariable String serverName, @PathVariable String userId, @RequestBody FileSystemRequestBody requestBody)
Files live on a file system. This method creates a top level software server capability for a filesystem.- Parameters:
serverName- name of calling serveruserId- calling userrequestBody- properties of the file system- Returns:
- unique identifier for the file system or InvalidParameterException one of the parameters is null or invalid or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
createFileManagerInCatalog
@PostMapping(path="/metadata-sources/file-managers") public GUIDResponse createFileManagerInCatalog(@PathVariable String serverName, @PathVariable String userId, @RequestBody FileManagerRequestBody requestBody)
Files can be owned by a file manager. This method creates a top level software server capability for a file manager.- Parameters:
serverName- name of calling serveruserId- calling userrequestBody- properties of the file manager- Returns:
- unique identifier for the file system or InvalidParameterException one of the parameters is null or invalid or PropertyServerException problem accessing property server or UserNotAuthorizedException security access problem
-
createDatabaseManager
@PostMapping(path="/metadata-sources/database-managers") public GUIDResponse createDatabaseManager(@PathVariable String serverName, @PathVariable String userId, @RequestBody DatabaseManagerRequestBody requestBody)
Create information about the database manager (DBMS) that manages database schemas.- Parameters:
serverName- name of the server to route the request to.userId- calling userrequestBody- description of the integration daemon (specify qualified name at a minimum)- Returns:
- unique identifier of the database manager's software server capability or InvalidParameterException the bean properties are invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem accessing the property server
-
getMetadataSourceGUID
@GetMapping(path="metadata-sources/by-name/{qualifiedName}") public GUIDResponse getMetadataSourceGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String qualifiedName)Retrieve the unique identifier of the software server capability representing a metadata source.- Parameters:
serverName- name of the server to route the request to.userId- calling userqualifiedName- unique name of the integration daemon- Returns:
- unique identifier of the integration daemon's software server capability or InvalidParameterException the bean properties are invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem accessing the property server
-
-