@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 |
|---|---|
SoftwareServerCapabilityResponse |
createSoftwareServerCapability(String serverName,
String userId,
SoftwareServerCapabilityRequestBody requestBody)
Create a Software Server Capability entity
|
GovernedAssetAPIResponse |
getGovernedAsset(String serverName,
String userId,
String assetGuid)
Returns a single governed asset
|
GovernedAssetListAPIResponse |
getGovernedAssets(String serverName,
String userId,
List<String> type)
Returns the list of governed asset
|
SoftwareServerCapabilityResponse |
getSoftwareServerCapabilityByGUID(String serverName,
String userId,
String guid)
Fetch the Software Server Capability entity by global identifier
|
@GetMapping(path="/assets",
produces="application/json")
public GovernedAssetListAPIResponse getGovernedAssets(@PathVariable
String serverName,
@PathVariable
String userId,
@RequestParam(value="type",required=false)
List<String> type)
These include the tag associations but not the definitions of those tags
userId - - String - userId of user making request.type - - the type of the entities that are returned@GetMapping(path="/assets/{assetGuid}",
produces="application/json")
public 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 retrieve@PostMapping(path="/software-server-capabilities") public SoftwareServerCapabilityResponse createSoftwareServerCapability(@PathVariable(value="serverName") String serverName, @PathVariable(value="userId") String userId, @RequestBody SoftwareServerCapabilityRequestBody requestBody)
serverName - - String - the name of server instance to calluserId - - String - userId of user making request.requestBody - - SoftwareServerCapabilityRequestBody@GetMapping(path="/software-server-capabilities/{guid}")
public SoftwareServerCapabilityResponse getSoftwareServerCapabilityByGUID(@PathVariable
String serverName,
@PathVariable
String userId,
@PathVariable
String guid)
serverName - name of server instance to calluserId - the name of the calling userguid - guid of the software serverCopyright © 2018–2020 ODPi. All rights reserved.