Class CommunityProfileRESTServices

java.lang.Object
org.odpi.openmetadata.accessservices.communityprofile.server.CommunityProfileRESTServices

public class CommunityProfileRESTServices extends Object
The DataManagerRESTServices provides the server-side implementation of the services that are generic for all types of data managers.
  • Constructor Details

    • CommunityProfileRESTServices

      public CommunityProfileRESTServices()
      Default constructor
  • Method Details

    • getOutTopicConnection

      public ConnectionResponse 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 server
      userId - calling user
      requestBody - 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

      public GUIDResponse getMetadataSourceGUID(String serverName, String userId, 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 server
      userId - calling user
      qualifiedName - 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 server
      userId - calling user
      metadataSourceGUID - 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 server
      userId - calling user
      metadataSourceGUID - unique identifier of the metadata source
      requestBody - 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 server
      userId - calling user
      metadataSourceGUID - unique identifier of the metadata source
      requestBody - 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 server
      userId - calling user
      metadataSourceGUID - unique identifier of the metadata source
      requestBody - 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