@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/governance-engine/users/{userId}")
public class EngineConfigurationResource
extends Object
| Constructor and Description |
|---|
EngineConfigurationResource() |
| 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 guid)
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 guid,
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 |
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.
|
@PostMapping(path="/governance-engines/new/{typeName}")
public GUIDResponse createGovernanceEngine(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String typeName,
@RequestBody
NewGovernanceEngineRequestBody requestBody)
serverName - name of the service to route the request touserId - identifier of calling usertypeName - 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.@GetMapping(path="/governance-engines/{guid}")
public GovernanceEngineElementResponse getGovernanceEngineByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
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.@GetMapping(path="/governance-engines/by-name/{name}")
public GovernanceEngineElementResponse getGovernanceEngineByName(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
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).@GetMapping(path="/governance-engines") public GovernanceEngineElementsResponse getAllGovernanceEngines(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startingFrom, @RequestParam 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.@PostMapping(path="/governance-engines/{guid}/update")
public VoidResponse updateGovernanceEngine(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
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.@PostMapping(path="/governance-engines/{guid}/delete")
public VoidResponse deleteGovernanceEngine(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
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.@PostMapping(path="/governance-services/new/{typeName}")
public GUIDResponse createGovernanceService(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String typeName,
@RequestBody
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.@GetMapping(path="/governance-services/{guid}")
public GovernanceServiceElementResponse getGovernanceServiceByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
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.@GetMapping(path="/governance-services/by-name/{name}")
public GovernanceServiceElementResponse getGovernanceServiceByName(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
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).@GetMapping(path="/governance-services") public GovernanceServiceElementsResponse getAllGovernanceServices(@PathVariable String serverName, @PathVariable String userId, @RequestParam int startingFrom, @RequestParam 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.@GetMapping(path="/governance-services/{guid}/registrations")
public GUIDListResponse getGovernanceServiceRegistrations(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - governance service to search for.@PostMapping(path="/governance-services/{guid}/update")
public VoidResponse updateGovernanceService(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
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.@PostMapping(path="/governance-services/{guid}/delete")
public VoidResponse deleteGovernanceService(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
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.@PostMapping(path="/governance-engines/{guid}/governance-services")
public VoidResponse registerGovernanceServiceWithEngine(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid,
@RequestBody
GovernanceServiceRegistrationRequestBody requestBody)
serverName - name of the service to route the request to.userId - identifier of calling user.guid - unique identifier of the governance engine.requestBody - containing:
guid - unique identifier of the governance service;
governanceRequestTypes - list of asset governance types that this governance service is able to process.@GetMapping(path="/governance-engines/{governanceEngineGUID}/governance-services/{governanceServiceGUID}")
public RegisteredGovernanceServiceResponse getRegisteredGovernanceService(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceEngineGUID,
@PathVariable
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.@GetMapping(path="/governance-engines/{governanceEngineGUID}/governance-services")
public GUIDListResponse getRegisteredGovernanceServices(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceEngineGUID,
@RequestParam
int startingFrom,
@RequestParam
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.@PostMapping(path="/governance-engines/{governanceEngineGUID}/governance-services/{governanceServiceGUID}/delete")
public VoidResponse unregisterGovernanceServiceFromEngine(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String governanceEngineGUID,
@PathVariable
String governanceServiceGUID,
@RequestBody(required=false)
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.