Class OpenIntegrationRESTServices

java.lang.Object
org.odpi.openmetadata.frameworkservices.oif.server.OpenIntegrationRESTServices

public class OpenIntegrationRESTServices extends Object
The OpenIntegrationRESTServices provides the server-side implementation of the services used by the governance engine as it is managing requests to execute open governance services in the governance server. These services align with the interface definitions from the Open Integration Framework (OIF).
  • Constructor Details

    • OpenIntegrationRESTServices

      public OpenIntegrationRESTServices()
      Default constructor
  • Method Details

    • getMetadataSourceGUID

      public GUIDResponse getMetadataSourceGUID(String serverName, String serviceURLMarker, String userId, NameRequestBody requestBody)
      Retrieve the unique identifier of the external metadata source.
      Parameters:
      serverName - name of the server to route the request to.
      serviceURLMarker - the identifier of the access service (for example asset-owner for the Asset Owner OMAS)
      userId - calling user
      requestBody - unique name of the software capability
      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
    • createMetadataSource

      public GUIDResponse createMetadataSource(String serverName, String serviceURLMarker, String userId, MetadataSourceRequestBody requestBody)
      Create a new metadata element to represent a software capability. This describes the metadata source.
      Parameters:
      serverName - name of the server to route the request to.
      serviceURLMarker - the identifier of the access service (for example asset-owner for the Asset Owner OMAS)
      userId - calling user
      requestBody - properties of the software capability
      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