public class GovernanceExchangeClient extends ExchangeClientBase implements GovernanceExchangeInterface
| Constructor and Description |
|---|
GovernanceExchangeClient(String serverName,
String serverPlatformURLRoot)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceExchangeClient(String serverName,
String serverPlatformURLRoot,
AssetManagerRESTClient restClient,
int maxPageSize,
AuditLog auditLog)
Create a new client that is going to be used in an OMAG Server.
|
GovernanceExchangeClient(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
GovernanceExchangeClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
GovernanceExchangeClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
AuditLog auditLog)
Create a new client that passes userId and password in each HTTP request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addElementToSubjectArea(String userId,
String assetManagerGUID,
String assetManagerName,
String glossaryCategoryGUID,
String glossaryCategoryExternalIdentifier,
String subjectAreaName,
String methodName)
Classify the element to asset that the definitions it represents are part of a subject area definition.
|
void |
removeElementFromSubjectArea(String userId,
String assetManagerGUID,
String assetManagerName,
String openMetadataGUID,
String externalElementIdentifier,
String methodName)
Remove the subject area designation from the identified element.
|
public GovernanceExchangeClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceExchangeClient(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 - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceExchangeClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceExchangeClient(String serverName, String serverPlatformURLRoot, AssetManagerRESTClient restClient, int maxPageSize, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversrestClient - client that issues the REST API callsmaxPageSize - maximum number of results supported by this serverauditLog - logging destinationInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceExchangeClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformURLRoot - the network address of the server running the OMAS REST serversuserId - caller's userId embedded in all HTTP requestspassword - caller's userId embedded in all HTTP requestsInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public void addElementToSubjectArea(String userId, String assetManagerGUID, String assetManagerName, String glossaryCategoryGUID, String glossaryCategoryExternalIdentifier, String subjectAreaName, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
addElementToSubjectArea in interface GovernanceExchangeInterfaceuserId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the callerglossaryCategoryGUID - unique identifier of the metadata element to updateglossaryCategoryExternalIdentifier - unique identifier of the glossary category in the external asset managersubjectAreaName - qualified name of subject areamethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)public void removeElementFromSubjectArea(String userId, String assetManagerGUID, String assetManagerName, String openMetadataGUID, String externalElementIdentifier, String methodName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
removeElementFromSubjectArea in interface GovernanceExchangeInterfaceuserId - calling userassetManagerGUID - unique identifier of software server capability representing the callerassetManagerName - unique name of software server capability representing the calleropenMetadataGUID - unique identifier of the metadata element to updateexternalElementIdentifier - unique identifier of the equivalent element in the external asset managermethodName - calling methodInvalidParameterException - one of the parameters is invalidUserNotAuthorizedException - the user is not authorized to issue this requestPropertyServerException - there is a problem reported in the open metadata server(s)Copyright © 2018–2020 ODPi. All rights reserved.