public class GovernanceEngine extends Object implements GovernanceEngineInterface
| Constructor and Description |
|---|
GovernanceEngine(String serverName,
String newServerURL)
Create a new GovernanceEngine client.
|
| Modifier and Type | Method and Description |
|---|---|
SoftwareServerCapability |
createSoftwareServerCapability(String userId,
SoftwareServerCapability softwareServerCapability)
Create a Software Server Capability entity
|
GovernedAsset |
getGovernedAsset(String userId,
String assetGuid) |
List<GovernedAsset> |
getGovernedAssetList(String userId,
String classification,
String type) |
SoftwareServerCapability |
getSoftwareServerCapabilityByGUID(String userId,
String guid)
Fetch the Software Server Capability entity by global identifier
|
public List<GovernedAsset> getGovernedAssetList(String userId, String classification, String type) throws InvalidParameterException
getGovernedAssetList in interface GovernanceEngineInterfaceuserId - - String - userId of user making request.classification - - String - name of base classification typetype - - String - root asset typeInvalidParameterException - - one of the parameters is null or invalid.public GovernedAsset getGovernedAsset(String userId, String assetGuid) throws InvalidParameterException
getGovernedAsset in interface GovernanceEngineInterfaceuserId - - String - userId of user making request.assetGuid - - String - guid of asset componentInvalidParameterException - - one of the parameters is null or invalidpublic SoftwareServerCapability createSoftwareServerCapability(String userId, SoftwareServerCapability softwareServerCapability) throws InvalidParameterException
createSoftwareServerCapability in interface GovernanceEngineInterfaceuserId - - String - userId of user making request.softwareServerCapability - - SoftwareServerCapabilityRequestBodyInvalidParameterExceptionpublic SoftwareServerCapability getSoftwareServerCapabilityByGUID(String userId, String guid) throws InvalidParameterException
getSoftwareServerCapabilityByGUID in interface GovernanceEngineInterfaceuserId - the name of the calling userguid - guid of the software serverInvalidParameterExceptionCopyright © 2018–2020 ODPi. All rights reserved.