java.lang.Object
org.odpi.openmetadata.accessservices.governanceengine.server.spring.GroupConfigurationResource

@RestController @RequestMapping("/servers/{serverName}/open-metadata/access-services/governance-engine/users/{userId}") public class GroupConfigurationResource extends Object
GroupConfigurationResource provides the Spring wrapper for the Integration Group Configuration Services
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    addCatalogTarget(String serverName, String userId, String integrationConnectorGUID, String metadataElementGUID, org.odpi.openmetadata.accessservices.governanceengine.properties.CatalogTargetProperties requestBody)
    Add a catalog target to an integration connector.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createIntegrationConnector(String serverName, String userId, org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationConnectorProperties requestBody)
    Create an integration connector definition.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse
    createIntegrationGroup(String serverName, String userId, org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationGroupProperties requestBody)
    Create a new integration group definition.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    deleteIntegrationConnector(String serverName, String userId, String guid, org.odpi.openmetadata.accessservices.governanceengine.rest.DeleteRequestBody requestBody)
    Remove the properties of the integration connector.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    deleteIntegrationGroup(String serverName, String userId, String guid, org.odpi.openmetadata.accessservices.governanceengine.rest.DeleteRequestBody requestBody)
    Remove the properties of the integration group.
    org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationConnectorElementsResponse
    getAllIntegrationConnectors(String serverName, String userId, int startingFrom, int maximumResults)
    Return the list of integration connectors definitions that are stored.
    org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationGroupElementsResponse
    getAllIntegrationGroups(String serverName, String userId, int startingFrom, int maximumResults)
    Return the list of integration group definitions that are stored.
    org.odpi.openmetadata.accessservices.governanceengine.rest.CatalogTargetResponse
    getCatalogTarget(String serverName, String userId, String integrationConnectorGUID, String metadataElementGUID)
    Retrieve a specific catalog target associated with an integration connector.
    org.odpi.openmetadata.accessservices.governanceengine.rest.CatalogTargetsResponse
    getCatalogTargets(String serverName, String userId, String integrationConnectorGUID, int startingFrom, int maximumResults)
    Retrieve the identifiers of the metadata elements identified as catalog targets with an integration connector.
    org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationConnectorElementResponse
    getIntegrationConnectorByGUID(String serverName, String userId, String guid)
    Return the properties from an integration connector definition.
    org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationConnectorElementResponse
    getIntegrationConnectorByName(String serverName, String userId, String name)
    Return the properties from an integration connector definition.
    org.odpi.openmetadata.commonservices.ffdc.rest.GUIDListResponse
    Return the list of integration groups that a specific integration connector is registered with.
    org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationGroupElementResponse
    getIntegrationGroupByGUID(String serverName, String userId, String guid)
    Return the properties from an integration group definition.
    org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationGroupElementResponse
    getIntegrationGroupByName(String serverName, String userId, String name)
    Return the properties from an integration group definition.
    org.odpi.openmetadata.accessservices.governanceengine.rest.RegisteredIntegrationConnectorResponse
    getRegisteredIntegrationConnector(String serverName, String userId, String integrationGroupGUID, String integrationConnectorGUID)
    Retrieve a specific integration connector registered with an integration group.
    org.odpi.openmetadata.accessservices.governanceengine.rest.RegisteredIntegrationConnectorsResponse
    getRegisteredIntegrationConnectors(String serverName, String userId, String integrationGroupGUID, int startingFrom, int maximumResults)
    Retrieve the identifiers of the integration connectors registered with an integration group.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    registerIntegrationConnectorWithGroup(String serverName, String userId, String integrationGroupGUID, String integrationConnectorGUID, org.odpi.openmetadata.accessservices.governanceengine.properties.RegisteredIntegrationConnectorProperties requestBody)
    Register an integration connector with a specific integration group.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    removeCatalogTarget(String serverName, String userId, String integrationConnectorGUID, String metadataElementGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody)
    Unregister a catalog target from the integration connector.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    unregisterIntegrationConnectorFromEngine(String serverName, String userId, String integrationGroupGUID, String integrationConnectorGUID, org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody)
    Unregister an integration connector from the integration group.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    updateIntegrationConnector(String serverName, String userId, String guid, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationConnectorProperties requestBody)
    Update the properties of an existing integration connector definition.
    org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse
    updateIntegrationGroup(String serverName, String userId, String guid, boolean isMergeUpdate, org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationGroupProperties requestBody)
    Update the properties of an existing integration group definition.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • GroupConfigurationResource

      public GroupConfigurationResource()
  • Method Details

    • createIntegrationGroup

      @PostMapping(path="/integration-groups/new") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createIntegrationGroup(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationGroupProperties requestBody)
      Create a new integration group definition.
      Parameters:
      serverName - name of the service to route the request to
      userId - identifier of calling user
      requestBody - containing properties of integration group.
      Returns:
      unique identifier (guid) of the integration group definition or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getIntegrationGroupByGUID

      @GetMapping(path="/integration-groups/{guid}") public org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationGroupElementResponse getIntegrationGroupByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid)
      Return the properties from an integration group definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - unique identifier (guid) of the integration group definition.
      Returns:
      properties from the integration group definition or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getIntegrationGroupByName

      @GetMapping(path="/integration-groups/by-name/{name}") public org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationGroupElementResponse getIntegrationGroupByName(@PathVariable String serverName, @PathVariable String userId, @PathVariable String name)
      Return the properties from an integration group definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      name - qualified name or display name (if unique).
      Returns:
      properties from the integration group definition or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getAllIntegrationGroups

      @GetMapping(path="/integration-groups") public org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationGroupElementsResponse getAllIntegrationGroups(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startingFrom, @RequestParam int maximumResults)
      Return the list of integration group definitions that are stored.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      startingFrom - initial position in the stored list.
      maximumResults - maximum number of definitions to return on this call.
      Returns:
      list of integration group definitions or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • updateIntegrationGroup

      @PostMapping(path="/integration-groups/{guid}/update") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateIntegrationGroup(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid, @RequestParam boolean isMergeUpdate, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationGroupProperties requestBody)
      Update the properties of an existing integration group definition. Use the current value to keep a property value the same, or use the new value. Null means remove the property from the definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - unique identifier of the integration group - used to locate the definition.
      isMergeUpdate - should the supplied properties be merged with existing properties (true) only replacing the properties with matching names, or should the entire properties of the instance be replaced?
      requestBody - containing the new properties of the integration group.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • deleteIntegrationGroup

      @PostMapping(path="/integration-groups/{guid}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse deleteIntegrationGroup(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.rest.DeleteRequestBody requestBody)
      Remove the properties of the integration group. Both the guid and the qualified name is supplied to validate that the correct integration group is being deleted.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - unique identifier of the integration group - used to locate the definition.
      requestBody - containing the unique name for the integration group.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • createIntegrationConnector

      @PostMapping(path="/integration-connectors/new") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDResponse createIntegrationConnector(@PathVariable String serverName, @PathVariable String userId, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationConnectorProperties requestBody)
      Create an integration connector definition. The same integration connector can be associated with multiple integration groups.
      Parameters:
      serverName - name of the service to route the request to
      userId - identifier of calling user
      requestBody - containing: qualifiedName - unique name for the integration connector; displayName - display name for the integration connector; description - description of the analysis provided by the integration connector; connection - connection to instantiate the integration connector implementation.
      Returns:
      unique identifier of the integration connector or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getIntegrationConnectorByGUID

      @GetMapping(path="/integration-connectors/{guid}") public org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationConnectorElementResponse getIntegrationConnectorByGUID(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid)
      Return the properties from an integration connector definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - unique identifier (guid) of the integration connector definition.
      Returns:
      properties of the integration connector or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getIntegrationConnectorByName

      @GetMapping(path="/integration-connectors/by-name/{name}") public org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationConnectorElementResponse getIntegrationConnectorByName(@PathVariable String serverName, @PathVariable String userId, @PathVariable String name)
      Return the properties from an integration connector definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      name - qualified name or display name (if unique).
      Returns:
      properties from the integration group definition or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getAllIntegrationConnectors

      @GetMapping(path="/integration-connectors") public org.odpi.openmetadata.accessservices.governanceengine.rest.IntegrationConnectorElementsResponse getAllIntegrationConnectors(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startingFrom, @RequestParam int maximumResults)
      Return the list of integration connectors definitions that are stored.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      startingFrom - initial position in the stored list.
      maximumResults - maximum number of definitions to return on this call.
      Returns:
      list of integration connector definitions or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getIntegrationConnectorRegistrations

      @GetMapping(path="/integration-connectors/{guid}/registrations") public org.odpi.openmetadata.commonservices.ffdc.rest.GUIDListResponse getIntegrationConnectorRegistrations(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid)
      Return the list of integration groups that a specific integration connector is registered with.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - integration connector to search for.
      Returns:
      list of integration group unique identifiers (guids) or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • updateIntegrationConnector

      @PostMapping(path="/integration-connectors/{guid}/update") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse updateIntegrationConnector(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid, @RequestParam boolean isMergeUpdate, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.properties.IntegrationConnectorProperties requestBody)
      Update the properties of an existing integration connector definition. Use the current value to keep a property value the same, or use the new value. Null means remove the property from the definition.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - unique identifier of the integration connector - used to locate the definition.
      isMergeUpdate - should the supplied properties be merged with existing properties (true) only replacing the properties with matching names, or should the entire properties of the instance be replaced?
      requestBody - containing the new parameters for the integration connector.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • deleteIntegrationConnector

      @PostMapping(path="/integration-connectors/{guid}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse deleteIntegrationConnector(@PathVariable String serverName, @PathVariable String userId, @PathVariable String guid, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.rest.DeleteRequestBody requestBody)
      Remove the properties of the integration connector. Both the guid and the qualified name is supplied to validate that the correct integration connector is being deleted. The integration connector is also unregistered from its integration groups.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      guid - unique identifier of the integration connector - used to locate the definition.
      requestBody - containing the unique name for the integration connector.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • registerIntegrationConnectorWithGroup

      @PostMapping(path="/integration-groups/{integrationGroupGUID}/integration-connectors/{integrationConnectorGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse registerIntegrationConnectorWithGroup(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationGroupGUID, @PathVariable String integrationConnectorGUID, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.properties.RegisteredIntegrationConnectorProperties requestBody)
      Register an integration connector with a specific integration group.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationGroupGUID - unique identifier of the integration group.
      integrationConnectorGUID - unique identifier of the integration connector.
      requestBody - containing: integrationGroupGUID - unique identifier of the integration connector; governanceRequestTypes - list of asset governance types that this integration connector is able to process.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getRegisteredIntegrationConnector

      @GetMapping(path="/integration-groups/{integrationGroupGUID}/integration-connectors/{integrationConnectorGUID}") public org.odpi.openmetadata.accessservices.governanceengine.rest.RegisteredIntegrationConnectorResponse getRegisteredIntegrationConnector(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationGroupGUID, @PathVariable String integrationConnectorGUID)
      Retrieve a specific integration connector registered with an integration group.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationGroupGUID - unique identifier of the integration group.
      integrationConnectorGUID - unique identifier of the integration connector.
      Returns:
      details of the integration connector and the asset types it is registered for or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • getRegisteredIntegrationConnectors

      @GetMapping(path="/integration-groups/{integrationGroupGUID}/integration-connectors") public org.odpi.openmetadata.accessservices.governanceengine.rest.RegisteredIntegrationConnectorsResponse getRegisteredIntegrationConnectors(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationGroupGUID, @RequestParam int startingFrom, @RequestParam int maximumResults)
      Retrieve the identifiers of the integration connectors registered with an integration group.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationGroupGUID - unique identifier of the integration group.
      startingFrom - initial position in the stored list.
      maximumResults - maximum number of definitions to return on this call.
      Returns:
      list of unique identifiers or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • unregisterIntegrationConnectorFromEngine

      @PostMapping(path="/integration-groups/{integrationGroupGUID}/integration-connectors/{integrationConnectorGUID}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse unregisterIntegrationConnectorFromEngine(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationGroupGUID, @PathVariable String integrationConnectorGUID, @RequestBody(required=false) org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody)
      Unregister an integration connector from the integration group.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationGroupGUID - unique identifier of the integration group.
      integrationConnectorGUID - unique identifier of the integration connector.
      requestBody - null request body.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration group definition.
    • addCatalogTarget

      @PostMapping(path="/integration-connectors/{integrationConnectorGUID}/catalog-targets/{metadataElementGUID}") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse addCatalogTarget(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationConnectorGUID, @PathVariable String metadataElementGUID, @RequestBody org.odpi.openmetadata.accessservices.governanceengine.properties.CatalogTargetProperties requestBody)
      Add a catalog target to an integration connector.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationConnectorGUID - unique identifier of the integration service.
      metadataElementGUID - unique identifier of the metadata element that is a catalog target.
      requestBody - properties for the relationship.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the catalog target definition.
    • getCatalogTarget

      @GetMapping(path="/integration-connectors/{integrationConnectorGUID}/catalog-targets/{metadataElementGUID}") public org.odpi.openmetadata.accessservices.governanceengine.rest.CatalogTargetResponse getCatalogTarget(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationConnectorGUID, @PathVariable String metadataElementGUID)
      Retrieve a specific catalog target associated with an integration connector.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationConnectorGUID - unique identifier of the integration service.
      metadataElementGUID - unique identifier of the metadata element that is a catalog target.
      Returns:
      details of the governance service and the asset types it is registered for or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration connector definition.
    • getCatalogTargets

      @GetMapping(path="/integration-connectors/{integrationConnectorGUID}/catalog-targets") public org.odpi.openmetadata.accessservices.governanceengine.rest.CatalogTargetsResponse getCatalogTargets(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationConnectorGUID, @RequestParam int startingFrom, @RequestParam int maximumResults)
      Retrieve the identifiers of the metadata elements identified as catalog targets with an integration connector.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationConnectorGUID - unique identifier of the integration connector.
      startingFrom - initial position in the stored list.
      maximumResults - maximum number of definitions to return on this call.
      Returns:
      list of unique identifiers or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration connector definition.
    • removeCatalogTarget

      @PostMapping(path="/integration-connectors/{integrationConnectorGUID}/catalog-targets/{metadataElementGUID}/delete") public org.odpi.openmetadata.commonservices.ffdc.rest.VoidResponse removeCatalogTarget(@PathVariable String serverName, @PathVariable String userId, @PathVariable String integrationConnectorGUID, @PathVariable String metadataElementGUID, @RequestBody org.odpi.openmetadata.commonservices.ffdc.rest.NullRequestBody requestBody)
      Unregister a catalog target from the integration connector.
      Parameters:
      serverName - name of the service to route the request to.
      userId - identifier of calling user.
      integrationConnectorGUID - unique identifier of the integration connector.
      metadataElementGUID - unique identifier of the governance service.
      requestBody - null request body.
      Returns:
      void or InvalidParameterException one of the parameters is null or invalid or UserNotAuthorizedException user not authorized to issue this request or PropertyServerException problem storing the integration connector definition.