Class GovernanceConfiguration
java.lang.Object
org.odpi.openmetadata.frameworks.opengovernance.client.GovernanceConfiguration
- Direct Known Subclasses:
GovernanceConfigurationClientBase
GovernanceConfiguration supports the configuration of governance engine and governance services.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionGovernanceConfiguration(String serverName, String serverPlatformURLRoot, String serviceURLMarker) Constructor called by the subclasses. -
Method Summary
Modifier and TypeMethodDescriptionabstract GovernanceEngineElementgetGovernanceEngineByName(String userId, String name) Return the properties from a governance engine definition.getIntegrationConnectorRegistrations(String userId, String integrationConnectorGUID) Return the list of integration groups that a specific integration connector is registered with.abstract IntegrationGroupElementgetIntegrationGroupByName(String userId, String name) Return the properties from an integration group definition.abstract RegisteredGovernanceServiceElementgetRegisteredGovernanceService(String userId, String governanceEngineGUID, String governanceServiceGUID) Retrieve a specific governance service registered with a governance engine.abstract List<RegisteredGovernanceServiceElement>getRegisteredGovernanceServices(String userId, String governanceEngineGUID, int startingFrom, int maximumResults) Retrieve the identifiers of the governance services registered with a governance engine.getRegisteredIntegrationConnector(String userId, String integrationGroupGUID, String integrationConnectorGUID) Retrieve a specific integration connector registered with an integration group.abstract List<RegisteredIntegrationConnectorElement>getRegisteredIntegrationConnectors(String userId, String integrationGroupGUID, int startingFrom, int maximumResults) Retrieve the identifiers of the integration connectors registered with an integration group.
-
Field Details
-
serverName
-
serverPlatformURLRoot
-
serviceURLMarker
-
-
Constructor Details
-
GovernanceConfiguration
public GovernanceConfiguration(String serverName, String serverPlatformURLRoot, String serviceURLMarker) Constructor called by the subclasses.- Parameters:
serverName- remote server to callserverPlatformURLRoot- platform hosting remote serverserviceURLMarker- service that his request is being made to
-
-
Method Details
-
getGovernanceEngineByName
public abstract GovernanceEngineElement getGovernanceEngineByName(String userId, String name) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the properties from a governance engine definition.- Parameters:
userId- identifier of calling username- qualified name or display name (if unique).- Returns:
- properties from the governance engine definition.
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the governance engine definition.
-
getRegisteredGovernanceService
public abstract RegisteredGovernanceServiceElement getRegisteredGovernanceService(String userId, String governanceEngineGUID, String governanceServiceGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve a specific governance service registered with a governance engine.- Parameters:
userId- identifier of calling usergovernanceEngineGUID- unique identifier of the governance engine.governanceServiceGUID- unique identifier of the governance service.- Returns:
- details of the governance service and the asset types it is registered for.
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the governance service and/or governance engine definitions.
-
getRegisteredGovernanceServices
public abstract List<RegisteredGovernanceServiceElement> getRegisteredGovernanceServices(String userId, String governanceEngineGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the identifiers of the governance services registered with a governance engine.- Parameters:
userId- identifier of calling usergovernanceEngineGUID- unique identifier of the governance engine.startingFrom- initial position in the stored list.maximumResults- maximum number of definitions to return on this call.- Returns:
- list of unique identifiers
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the governance service and/or governance engine definitions.
-
getIntegrationGroupByName
public abstract IntegrationGroupElement getIntegrationGroupByName(String userId, String name) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the properties from an integration group definition.- Parameters:
userId- identifier of calling username- qualified name or display name (if unique).- Returns:
- properties from the integration group definition.
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the integration group definition.
-
getIntegrationConnectorRegistrations
public abstract List<String> getIntegrationConnectorRegistrations(String userId, String integrationConnectorGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Return the list of integration groups that a specific integration connector is registered with.- Parameters:
userId- identifier of calling userintegrationConnectorGUID- integration connector to search for.- Returns:
- list of integration group unique identifiers (guids)
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the integration connector and/or integration group definitions.
-
getRegisteredIntegrationConnector
public abstract RegisteredIntegrationConnectorElement getRegisteredIntegrationConnector(String userId, String integrationGroupGUID, String integrationConnectorGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve a specific integration connector registered with an integration group.- Parameters:
userId- identifier of calling userintegrationGroupGUID- 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.
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the integration connector and/or integration group definitions.
-
getRegisteredIntegrationConnectors
public abstract List<RegisteredIntegrationConnectorElement> getRegisteredIntegrationConnectors(String userId, String integrationGroupGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException Retrieve the identifiers of the integration connectors registered with an integration group.- Parameters:
userId- identifier of calling userintegrationGroupGUID- 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
- Throws:
InvalidParameterException- one of the parameters is null or invalid.UserNotAuthorizedException- user not authorized to issue this request.PropertyServerException- problem retrieving the integration connector and/or integration group definitions.
-