@RestController
@RequestMapping(value="/servers/{serverName}/open-metadata/access-services/governance-engine/users/{userId}")
public class GovernanceEngineOMASResource
extends Object
| Constructor and Description |
|---|
GovernanceEngineOMASResource() |
| Modifier and Type | Method and Description |
|---|---|
org.odpi.openmetadata.accessservices.governanceengine.api.objects.GovernanceClassificationDefListAPIResponse |
getGovernanceClassificationDefs(String serverName,
String userId,
List<String> classification)
Returns the list of governance tags for the enforcement engine
|
org.odpi.openmetadata.accessservices.governanceengine.api.objects.GovernedAssetAPIResponse |
getGovernedAsset(String serverName,
String userId,
String assetGuid)
Returns a single governed asset
|
@RequestMapping(method=GET,
path="/classificationdefs")
public org.odpi.openmetadata.accessservices.governanceengine.api.objects.GovernanceClassificationDefListAPIResponse getGovernanceClassificationDefs(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestParam(value="classification",required=false)
List<String> classification)
These are the definitions - so tell us the name, guid, attributes associated with the tag. The security engine will want to know about these tags to assist in policy authoring/validation, as well as know when they change, since any existing assets classified with the tags are affected
userId - - String - userId of user making request.classification - - this may be the qualifiedName or displayName of the connection.@RequestMapping(method=GET,
path="/assets/{assetGuid}")
public org.odpi.openmetadata.accessservices.governanceengine.api.objects.GovernedAssetAPIResponse getGovernedAsset(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String assetGuid)
These include the tag associations but not the definitions of those tags
userId - - String - userId of user making request.assetGuid - - Guid of the asset component to retrieveCopyright © 2018–2019 ODPi. All rights reserved.