public class GovernanceConfigRESTServices extends Object
| Constructor and Description |
|---|
GovernanceConfigRESTServices()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
GUIDResponse |
createGovernanceEngine(String serverName,
String userId,
String typeName,
NewGovernanceEngineRequestBody requestBody)
Create a new governance engine definition.
|
GUIDResponse |
createGovernanceService(String serverName,
String userId,
String typeName,
NewGovernanceServiceRequestBody requestBody)
Create a governance service definition.
|
VoidResponse |
deleteGovernanceEngine(String serverName,
String userId,
String guid,
DeleteRequestBody requestBody)
Remove the properties of the governance engine.
|
VoidResponse |
deleteGovernanceService(String serverName,
String userId,
String guid,
DeleteRequestBody requestBody)
Remove the properties of the governance service.
|
GovernanceEngineElementsResponse |
getAllGovernanceEngines(String serverName,
String userId,
int startingFrom,
int maximumResults)
Return the list of governance engine definitions that are stored.
|
GovernanceServiceElementsResponse |
getAllGovernanceServices(String serverName,
String userId,
int startingFrom,
int maximumResults)
Return the list of governance services definitions that are stored.
|
GovernanceEngineElementResponse |
getGovernanceEngineByGUID(String serverName,
String userId,
String guid)
Return the properties from a governance engine definition.
|
GovernanceEngineElementResponse |
getGovernanceEngineByName(String serverName,
String userId,
String name)
Return the properties from a governance engine definition.
|
GovernanceServiceElementResponse |
getGovernanceServiceByGUID(String serverName,
String userId,
String guid)
Return the properties from a governance service definition.
|
GovernanceServiceElementResponse |
getGovernanceServiceByName(String serverName,
String userId,
String name)
Return the properties from a governance service definition.
|
GUIDListResponse |
getGovernanceServiceRegistrations(String serverName,
String userId,
String governanceServiceGUID)
Return the list of governance engines that a specific governance service is registered with.
|
RegisteredGovernanceServiceResponse |
getRegisteredGovernanceService(String serverName,
String userId,
String governanceEngineGUID,
String governanceServiceGUID)
Retrieve a specific governance service registered with a governance engine.
|
GUIDListResponse |
getRegisteredGovernanceServices(String serverName,
String userId,
String governanceEngineGUID,
int startingFrom,
int maximumResults)
Retrieve the identifiers of the governance services registered with a governance engine.
|
VoidResponse |
registerGovernanceServiceWithEngine(String serverName,
String userId,
String governanceEngineGUID,
GovernanceServiceRegistrationRequestBody requestBody)
Register a governance service with a specific governance engine.
|
VoidResponse |
unregisterGovernanceServiceFromEngine(String serverName,
String userId,
String governanceEngineGUID,
String governanceServiceGUID,
NullRequestBody requestBody)
Unregister a governance service from the governance engine.
|
VoidResponse |
unregisterGovernanceServiceRequestFromEngine(String serverName,
String userId,
String requestType,
String governanceEngineGUID,
String governanceServiceGUID,
NullRequestBody requestBody)
Remove a request type for a governance service from the governance engine.
|
VoidResponse |
updateGovernanceEngine(String serverName,
String userId,
String guid,
UpdateGovernanceEngineRequestBody requestBody)
Update the properties of an existing governance engine definition.
|
VoidResponse |
updateGovernanceService(String serverName,
String userId,
String guid,
UpdateGovernanceServiceRequestBody requestBody)
Update the properties of an existing governance service definition.
|
public GovernanceConfigRESTServices()
public GUIDResponse createGovernanceEngine(String serverName, String userId, String typeName, NewGovernanceEngineRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.typeName - type of governance enginerequestBody - containing:
qualifiedName - unique name for the governance engine;
displayName - display name for messages and user interfaces;
description - description of the types of governance services that wil be associated with
this governance engine.public GovernanceEngineElementResponse getGovernanceEngineByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier (guid) of the governance engine definition.public GovernanceEngineElementResponse getGovernanceEngineByName(String serverName, String userId, String name)
serverName - name of the service to route the request to.userId - identifier of calling user.name - qualified name or display name (if unique).public GovernanceEngineElementsResponse getAllGovernanceEngines(String serverName, String userId, int startingFrom, int maximumResults)
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.public VoidResponse updateGovernanceEngine(String serverName, String userId, String guid, UpdateGovernanceEngineRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier of the governance engine - used to locate the definition.requestBody - containing the new properties of the governance engine.public VoidResponse deleteGovernanceEngine(String serverName, String userId, String guid, DeleteRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier of the governance engine - used to locate the definition.requestBody - containing the unique name for the governance engine.public GUIDResponse createGovernanceService(String serverName, String userId, String typeName, NewGovernanceServiceRequestBody requestBody)
serverName - name of the service to route the request touserId - identifier of calling usertypeName - type of governance servicerequestBody - containing:
qualifiedName - 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 instantiate the governance service implementation.public GovernanceServiceElementResponse getGovernanceServiceByGUID(String serverName, String userId, String guid)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier (guid) of the governance service definition.public GovernanceServiceElementResponse getGovernanceServiceByName(String serverName, String userId, String name)
serverName - name of the service to route the request to.userId - identifier of calling user.name - qualified name or display name (if unique).public GovernanceServiceElementsResponse getAllGovernanceServices(String serverName, String userId, int startingFrom, int maximumResults)
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.public GUIDListResponse getGovernanceServiceRegistrations(String serverName, String userId, String governanceServiceGUID)
serverName - name of the service to route the request to.userId - identifier of calling user.governanceServiceGUID - governance service to search for.public VoidResponse updateGovernanceService(String serverName, String userId, String guid, UpdateGovernanceServiceRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier of the governance service - used to locate the definition.requestBody - containing the new parameters for the governance service.public VoidResponse deleteGovernanceService(String serverName, String userId, String guid, DeleteRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier of the governance service - used to locate the definition.requestBody - containing the unique name for the governance service.public VoidResponse registerGovernanceServiceWithEngine(String serverName, String userId, String governanceEngineGUID, GovernanceServiceRegistrationRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.governanceEngineGUID - unique identifier of the governance engine.requestBody - containing:
governanceServiceGUID - unique identifier of the governance service;
governanceRequestTypes - list of asset types that this governance service is able to process.public RegisteredGovernanceServiceResponse getRegisteredGovernanceService(String serverName, String userId, String governanceEngineGUID, String governanceServiceGUID)
serverName - name of the service to route the request to.userId - identifier of calling user.governanceEngineGUID - unique identifier of the governance engine.governanceServiceGUID - unique identifier of the governance service.public GUIDListResponse getRegisteredGovernanceServices(String serverName, String userId, String governanceEngineGUID, int startingFrom, int maximumResults)
serverName - name of the service to route the request to.userId - identifier of calling user.governanceEngineGUID - unique identifier of the governance engine.startingFrom - initial position in the stored list.maximumResults - maximum number of definitions to return on this call.public VoidResponse unregisterGovernanceServiceRequestFromEngine(String serverName, String userId, String requestType, String governanceEngineGUID, String governanceServiceGUID, NullRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.requestType - calling requestgovernanceEngineGUID - unique identifier of the governance engine.governanceServiceGUID - unique identifier of the governance service.requestBody - null request body.public VoidResponse unregisterGovernanceServiceFromEngine(String serverName, String userId, String governanceEngineGUID, String governanceServiceGUID, NullRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.governanceEngineGUID - unique identifier of the governance engine.governanceServiceGUID - unique identifier of the governance service.requestBody - null request body.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.