Class CommunityProfileRESTServices
java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.server.CommunityProfileRESTServices
The DataManagerRESTServices provides the server-side implementation of the services
that are generic for all types of data managers.
-
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
-
CommunityProfileRESTServices
public CommunityProfileRESTServices()Default constructor
-
-
Method Details
-
getOutTopicConnection
public OCFConnectionResponse getOutTopicConnection(String serverName, String userId, 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
public GUIDResponse createMetadataSource(String serverName, String userId, 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
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
public MetadataSourceResponse getMetadataSource(String serverName, String userId, 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
public VoidResponse addUserProfileManagerClassification(String serverName, String userId, String metadataSourceGUID, 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
public VoidResponse 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.- 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
public VoidResponse addMasterDataManagerClassification(String serverName, String userId, String metadataSourceGUID, 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
-