Class CommunityProfileResource
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.server.spring.CommunityProfileResource
@RestController
@RequestMapping("/servers/{serverName}/open-metadata/access-services/community-profile/users/{userId}")
public class CommunityProfileResource
extends Object
UserIdentityResource provides the APIs for maintaining user identities and their relationships with profiles.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddMasterDataManagerClassification
(String serverName, String userId, String metadataSourceGUID, NullRequestBody requestBody) Update classification of the metadata source that is a master data manager for user profile information.addUserAccessDirectoryClassification
(String serverName, String userId, String metadataSourceGUID, NullRequestBody requestBody) Update classification of the metadata source that is providing a user access directory information such as the groups and access rights of a user Id.addUserProfileManagerClassification
(String serverName, String userId, String metadataSourceGUID, NullRequestBody requestBody) Update classification of the metadata source as being capable if managing user profiles.createMetadataSource
(String serverName, String userId, MetadataSourceProperties requestBody) Create information about the metadata source that is providing user profile information.getMetadataSource
(String serverName, String userId, String metadataSourceGUID) Retrieve the properties of the software server capability that describes a metadata source.getMetadataSourceGUID
(String serverName, String userId, String qualifiedName) Retrieve the unique identifier of the software server capability that describes a metadata source.getOutTopicConnection
(String serverName, String userId, String callerId) Return the connection object for the Community Profile OMAS's out topic.
-
Constructor Details
-
CommunityProfileResource
public CommunityProfileResource()
-
-
Method Details
-
getOutTopicConnection
@GetMapping(path="/topics/out-topic-connection/{callerId}") public OCFConnectionResponse getOutTopicConnection(@PathVariable String serverName, @PathVariable String userId, @PathVariable String callerId) Return the connection object for the Community Profile OMAS's out topic.- Parameters:
serverName
- name of the service to route the request to.userId
- identifier of calling user.callerId
- 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.
-
createMetadataSource
@PostMapping(path="/metadata-sources") public GUIDResponse createMetadataSource(@PathVariable String serverName, @PathVariable String userId, @RequestBody MetadataSourceProperties requestBody) Create information about the metadata source that is providing user profile information.- Parameters:
serverName
- name of calling serveruserId
- calling userrequestBody
- description of the metadata source- Returns:
- unique identifier of the user profile manager's software server capability or InvalidParameterException the bean requestBody are invalid UserNotAuthorizedException user not authorized to issue this request 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 that describes a metadata source. This could be a user profile manager, user access directory and/or a master data manager.- Parameters:
serverName
- name of calling serveruserId
- calling userqualifiedName
- unique name of the metadata source- Returns:
- unique identifier of the integration daemon's software server capability or InvalidParameterException the bean properties are invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
getMetadataSource
@GetMapping(path="/metadata-sources/{metadataSourceGUID}") public MetadataSourceResponse getMetadataSource(@PathVariable String serverName, @PathVariable String userId, @PathVariable String metadataSourceGUID) Retrieve the properties of the software server capability that describes a metadata source. This could be a user profile manager, user access directory and/or a master data manager.- Parameters:
serverName
- name of calling serveruserId
- calling usermetadataSourceGUID
- unique identifier of the metadata source- Returns:
- unique identifier of the integration daemon's software server capability or InvalidParameterException the bean properties are invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
addUserProfileManagerClassification
@PostMapping(path="/metadata-sources/{metadataSourceGUID}/user-profile-manager") public VoidResponse addUserProfileManagerClassification(@PathVariable String serverName, @PathVariable String userId, @PathVariable String metadataSourceGUID, @RequestBody(required=false) NullRequestBody requestBody) Update classification of the metadata source as being capable if managing user profiles.- Parameters:
serverName
- name of calling serveruserId
- calling usermetadataSourceGUID
- unique identifier of the metadata sourcerequestBody
- null request body- Returns:
- void or InvalidParameterException the bean properties are invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
addUserAccessDirectoryClassification
@PostMapping(path="/metadata-sources/{metadataSourceGUID}/user-access-directory") public VoidResponse addUserAccessDirectoryClassification(@PathVariable String serverName, @PathVariable String userId, @PathVariable String metadataSourceGUID, @RequestBody(required=false) NullRequestBody requestBody) Update classification of the metadata source that is providing a user access directory information such as the groups and access rights of a user Id.- Parameters:
serverName
- name of calling serveruserId
- calling usermetadataSourceGUID
- unique identifier of the metadata sourcerequestBody
- null request body- Returns:
- void or InvalidParameterException the bean properties are invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-
addMasterDataManagerClassification
@PostMapping(path="/metadata-sources/{metadataSourceGUID}/master-data-manager") public VoidResponse addMasterDataManagerClassification(@PathVariable String serverName, @PathVariable String userId, @PathVariable String metadataSourceGUID, @RequestBody(required=false) NullRequestBody requestBody) Update classification of the metadata source that is a master data manager for user profile information.- Parameters:
serverName
- name of calling serveruserId
- calling usermetadataSourceGUID
- unique identifier of the metadata sourcerequestBody
- null request body- Returns:
- void or InvalidParameterException the bean properties are invalid UserNotAuthorizedException user not authorized to issue this request PropertyServerException problem accessing the property server
-