public interface GovernanceEngineConfiguration
| Modifier and Type | Method and Description |
|---|---|
String |
createGovernanceEngine(String userId,
String qualifiedName,
String displayName,
String description)
Create a new governance engine definition.
|
String |
createGovernanceService(String userId,
String qualifiedName,
String displayName,
String description,
Connection connection)
Create a governance service definition.
|
void |
deleteGovernanceEngine(String userId,
String guid,
String qualifiedName)
Remove the properties of the governance engine.
|
void |
deleteGovernanceService(String userId,
String guid,
String qualifiedName)
Remove the properties of the governance service.
|
List<GovernanceEngineElement> |
getAllGovernanceEngines(String userId,
int startingFrom,
int maximumResults)
Return the list of governance engine definitions that are stored.
|
List<GovernanceServiceElement> |
getAllGovernanceServices(String userId,
int startingFrom,
int maximumResults)
Return the list of governance services definitions that are stored.
|
GovernanceEngineElement |
getGovernanceEngineByGUID(String userId,
String guid)
Return the properties from a governance engine definition.
|
GovernanceEngineElement |
getGovernanceEngineByName(String userId,
String name)
Return the properties from a governance engine definition.
|
GovernanceServiceElement |
getGovernanceServiceByGUID(String userId,
String guid)
Return the properties from a governance service definition.
|
GovernanceServiceElement |
getGovernanceServiceByName(String userId,
String name)
Return the properties from a governance service definition.
|
List<String> |
getGovernanceServiceRegistrations(String userId,
String governanceServiceGUID)
Return the list of governance engines that a specific governance service is registered with.
|
RegisteredGovernanceServiceElement |
getRegisteredGovernanceService(String userId,
String governanceEngineGUID,
String governanceServiceGUID)
Retrieve a specific governance service registered with a governance engine.
|
List<String> |
getRegisteredGovernanceServices(String userId,
String governanceEngineGUID,
int startingFrom,
int maximumResults)
Retrieve the identifiers of the governance services registered with a governance engine.
|
void |
registerGovernanceServiceWithEngine(String userId,
String governanceEngineGUID,
String governanceServiceGUID,
String requestType,
Map<String,String> requestParameters)
Register a governance service with a specific governance engine.
|
void |
unregisterGovernanceServiceFromEngine(String userId,
String governanceEngineGUID,
String governanceServiceGUID)
Unregister a governance service from the governance engine.
|
void |
updateGovernanceEngine(String userId,
String guid,
String qualifiedName,
String displayName,
String description,
String typeDescription,
String version,
String patchLevel,
String source,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties)
Update the properties of an existing governance engine definition.
|
void |
updateGovernanceService(String userId,
String guid,
String qualifiedName,
String displayName,
String description,
Connection connection,
Map<String,String> additionalProperties,
Map<String,Object> extendedProperties)
Update the properties of an existing governance service definition.
|
String createGovernanceEngine(String userId, String qualifiedName, String displayName, String description) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userqualifiedName - unique name for the governance engine.displayName - display name for messages and user interfaces.description - description of the types of governance services that will be associated with
this governance engine.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem storing the governance engine definition.GovernanceEngineElement getGovernanceEngineByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userguid - unique identifier (guid) of the governance engine definition.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance engine definition.GovernanceEngineElement getGovernanceEngineByName(String userId, String name) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling username - qualified name or display name (if unique).InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance engine definition.List<GovernanceEngineElement> getAllGovernanceEngines(String userId, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userstartingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance engine definitions.void updateGovernanceEngine(String userId, String guid, String qualifiedName, String displayName, String description, String typeDescription, String version, String patchLevel, String source, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userguid - unique identifier of the governance engine - used to locate the definition.qualifiedName - new value for unique name of governance engine.displayName - new value for the display name.description - new description for the governance engine.typeDescription - new description of the type ofg governance engine.version - new version number for the governance engine implementation.patchLevel - new patch level for the governance engine implementation.source - new source description for the implementation of the governance engine.additionalProperties - additional properties for the governance engine.extendedProperties - properties to populate the subtype of the governance engine.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem storing the governance engine definition.void deleteGovernanceEngine(String userId, String guid, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userguid - unique identifier of the governance engine - used to locate the definition.qualifiedName - unique name for the governance engine.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance engine definition.String createGovernanceService(String userId, String qualifiedName, String displayName, String description, Connection connection) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userqualifiedName - unique name for the governance service.displayName - display name for the governance service.description - description of the analysis provided by the governance service.connection - connection to instanciate the governance service implementation.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem storing the governance service definition.GovernanceServiceElement getGovernanceServiceByGUID(String userId, String guid) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userguid - unique identifier (guid) of the governance service definition.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance service definition.GovernanceServiceElement getGovernanceServiceByName(String userId, String name) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling username - qualified name or display name (if unique).InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance engine definition.List<GovernanceServiceElement> getAllGovernanceServices(String userId, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userstartingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance service definitions.List<String> getGovernanceServiceRegistrations(String userId, String governanceServiceGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling usergovernanceServiceGUID - governance service to search for.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.void updateGovernanceService(String userId, String guid, String qualifiedName, String displayName, String description, Connection connection, Map<String,String> additionalProperties, Map<String,Object> extendedProperties) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userguid - unique identifier of the governance service - used to locate the definition.qualifiedName - new value for unique name of governance service.displayName - new value for the display name.description - new value for the description.connection - connection used to create an instance of this governance service.additionalProperties - additional properties for the governance engine.extendedProperties - properties to populate the subtype of the governance service.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem storing the governance service definition.void deleteGovernanceService(String userId, String guid, String qualifiedName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling userguid - unique identifier of the governance service - used to locate the definition.qualifiedName - unique name for the governance service.InvalidParameterException - one of the parameters is null or invalid.UserNotAuthorizedException - user not authorized to issue this request.PropertyServerException - problem retrieving the governance service definition.void registerGovernanceServiceWithEngine(String userId, String governanceEngineGUID, String governanceServiceGUID, String requestType, Map<String,String> requestParameters) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling usergovernanceEngineGUID - unique identifier of the governance engine.governanceServiceGUID - unique identifier of the governance service.requestType - request type that this governance service is able to process.requestParameters - list of parameters that are passed the the governance service (via
the context). These values can be overridden on the actual governance service request.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.RegisteredGovernanceServiceElement getRegisteredGovernanceService(String userId, String governanceEngineGUID, String governanceServiceGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling usergovernanceEngineGUID - unique identifier of the governance engine.governanceServiceGUID - unique identifier of the governance service.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.List<String> getRegisteredGovernanceServices(String userId, String governanceEngineGUID, int startingFrom, int maximumResults) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
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.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.void unregisterGovernanceServiceFromEngine(String userId, String governanceEngineGUID, String governanceServiceGUID) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
userId - identifier of calling usergovernanceEngineGUID - unique identifier of the governance engine.governanceServiceGUID - unique identifier of the governance service.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.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.