public class GovernedAssetClient extends FFDCRESTClient implements GovernedAssetInterface
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
GovernedAssetClient(String serverName,
String serverPlatformURLRoot)
Create a new Governance Engine client.
|
GovernedAssetClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password) |
| Modifier and Type | Method and Description |
|---|---|
String |
createSoftwareServerCapability(String userId,
SoftwareServerCapabilityRequestBody softwareServerCapability)
Create a Software Server Capability entity
|
GovernedAsset |
getGovernedAsset(String userId,
String assetGuid) |
List<GovernedAsset> |
getGovernedAssetList(String userId,
String classification,
List<String> entityTypes,
Integer offset,
Integer pageSize)
Returns a list of the entities filtered by types that have the searched governed classification.
|
SoftwareServerCapability |
getSoftwareServerCapabilityByGUID(String userId,
String guid)
Returns the Software Server Capability entity by global identifier
|
callConnectorTypeGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic GovernedAssetClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversInvalidParameterException - if parameter validation failspublic GovernedAssetClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
InvalidParameterExceptionpublic List<GovernedAsset> getGovernedAssetList(String userId, String classification, List<String> entityTypes, Integer offset, Integer pageSize) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
getGovernedAssetList in interface GovernedAssetInterfaceuserId - - userId of user making request.classification - - name of base classification type (can be null)entityTypes - - String - root type of asset (can be null)offset - - offset of full collection to begin the return resultspageSize - - limit the number of the results returnedUserNotAuthorizedException - - the requesting user is not authorized to issue this request.PropertyServerException - - there is a problem retrieving information from the property server(s).InvalidParameterException - - one of the parameters is null or invalid.public GovernedAsset getGovernedAsset(String userId, String assetGuid) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
getGovernedAsset in interface GovernedAssetInterfaceuserId - - String - userId of user making request.assetGuid - - String - guid of asset componentUserNotAuthorizedException - - the requesting user is not authorized to issue this request.PropertyServerException - - there is a problem retrieving information from the property server(s).InvalidParameterException - - one of the parameters is null or invalid.public String createSoftwareServerCapability(String userId, SoftwareServerCapabilityRequestBody softwareServerCapability) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
createSoftwareServerCapability in interface GovernedAssetInterfaceuserId - - String - userId of user making request.softwareServerCapability - - SoftwareServerCapabilityRequestBodyUserNotAuthorizedException - - the requesting user is not authorized to issue this request.PropertyServerException - - there is a problem retrieving information from the property server(s).InvalidParameterException - - one of the parameters is null or invalid.public SoftwareServerCapability getSoftwareServerCapabilityByGUID(String userId, String guid) throws UserNotAuthorizedException, PropertyServerException, InvalidParameterException
getSoftwareServerCapabilityByGUID in interface GovernedAssetInterfaceuserId - - the name of the calling userguid - - guid of the software serverUserNotAuthorizedException - - the requesting user is not authorized to issue this request.PropertyServerException - - there is a problem retrieving information from the property server(s).InvalidParameterException - - one of the parameters is null or invalid.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.