public class GovernanceEngineRESTClient extends OCFRESTClient
auditLog, exceptionHandler, serverName, serverPlatformURLRoot| Constructor and Description |
|---|
GovernanceEngineRESTClient(String serverName,
String serverPlatformURLRoot)
Constructor for no authentication.
|
GovernanceEngineRESTClient(String serverName,
String serverPlatformURLRoot,
AuditLog auditLog)
Constructor for no authentication with audit log.
|
GovernanceEngineRESTClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password)
Constructor for simple userId and password authentication.
|
GovernanceEngineRESTClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
AuditLog auditLog)
Constructor for simple userId and password authentication with audit log.
|
| Modifier and Type | Method and Description |
|---|---|
ElementHeaderResponse |
callElementHeaderPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ElementHeaderResponse object.
|
ElementHeadersResponse |
callElementHeadersPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a ElementHeadersResponse object.
|
GovernanceActionElementResponse |
callGovernanceActionGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceActionElementResponse object.
|
GovernanceActionProcessElementsResponse |
callGovernanceActionProcessElementsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GovernanceActionProcessElementsResponse object.
|
GovernanceActionProcessElementsResponse |
callGovernanceActionProcessesGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceActionProcessElementsResponse object.
|
GovernanceActionProcessElementResponse |
callGovernanceActionProcessGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceActionProcessElementResponse object.
|
GovernanceActionElementsResponse |
callGovernanceActionsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceActionElementsResponse object.
|
GovernanceActionTypeElementsResponse |
callGovernanceActionTypeElementsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GovernanceActionTypeElementsResponse object.
|
GovernanceActionTypeElementResponse |
callGovernanceActionTypeGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceActionTypeElementResponse object.
|
GovernanceActionTypeElementsResponse |
callGovernanceActionTypesGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceActionTypeElementsResponse object.
|
GovernanceEngineElementResponse |
callGovernanceEngineGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceEngineElementResponse object.
|
GovernanceEngineElementResponse |
callGovernanceEnginePostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a GovernanceEngineElementResponse object.
|
GovernanceEngineElementsResponse |
callGovernanceEnginesGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceEngineElementsResponse object.
|
GovernanceServiceElementResponse |
callGovernanceServiceGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceServiceElementResponse object.
|
GovernanceServiceElementsResponse |
callGovernanceServicesGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a GovernanceServiceElementsResponse object.
|
NextGovernanceActionTypeElementsResponse |
callNextGovernanceActionTypesGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a NextGovernanceActionTypeElementsResponse object.
|
OpenMetadataElementResponse |
callOpenMetadataElementGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a OpenMetadataElementResponse object.
|
OpenMetadataElementsResponse |
callOpenMetadataElementsGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a OpenMetadataElementsResponse object.
|
OpenMetadataElementsResponse |
callOpenMetadataElementsPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a OpenMetadataElementsResponse object.
|
RegisteredGovernanceServiceResponse |
callRegisteredGovernanceServiceGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a RegisteredGovernanceServiceResponse object.
|
RelatedMetadataElementListResponse |
callRelatedMetadataElementListGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a RelatedMetadataElementListResponse object.
|
RelatedMetadataElementListResponse |
callRelatedMetadataElementListPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a RelatedMetadataElementListResponse object.
|
RelatedMetadataElementsListResponse |
callRelatedMetadataElementsListGetRESTCall(String methodName,
String urlTemplate,
Object... params)
Issue a GET REST call that returns a RelatedMetadataElementsListResponse object.
|
RelatedMetadataElementsListResponse |
callRelatedMetadataElementsListPostRESTCall(String methodName,
String urlTemplate,
Object requestBody,
Object... params)
Issue a POST REST call that returns a RelatedMetadataElementsListResponse object.
|
callAssetGetRESTCall, callAssetsGetRESTCall, callAssetsPostRESTCall, callConnectionGetRESTCall, callSchemaTypeGetRESTCall, callTagGetRESTCall, callTagListGetRESTCall, callTagListPostRESTCallcallConnectorTypeGetRESTCall, callCountGetRESTCall, callGUIDGetRESTCall, callGUIDListGetRESTCall, callGUIDListPostRESTCall, callGUIDPostRESTCall, callNameListGetRESTCall, callStringMapGetRESTCall, callVoidGetRESTCall, callVoidPostRESTCallcallDeleteRESTCall, callDeleteRESTCall, callGetRESTCall, callGetRESTCall, callGetRESTCallNoParams, callPostRESTCall, callPostRESTCall, callPostRESTCallNoParams, callPutRESTCall, callPutRESTCallpublic GovernanceEngineRESTClient(String serverName, String serverPlatformURLRoot, AuditLog auditLog) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.auditLog - destination for log messages.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceEngineRESTClient(String serverName, String serverPlatformURLRoot) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceEngineRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.userId - user id for the HTTP requestpassword - password for the HTTP requestauditLog - destination for log messages.InvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceEngineRESTClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws InvalidParameterException
serverName - name of the OMAG Server to callserverPlatformURLRoot - URL root of the server manager where the OMAG Server is running.userId - user id for the HTTP requestpassword - password for the HTTP requestInvalidParameterException - there is a problem creating the client-side components to issue any
REST API calls.public GovernanceEngineElementResponse callGovernanceEngineGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being calledurlTemplate - template of the URL for the REST API call with place-holders for the parametersparams - a list of parameters that are slotted into the url templateInvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceEngineElementResponse callGovernanceEnginePostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being calledurlTemplate - template of the URL for the REST API call with place-holders for the parametersrequestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url templateInvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceEngineElementsResponse callGovernanceEnginesGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceServiceElementResponse callGovernanceServiceGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceServiceElementsResponse callGovernanceServicesGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public RegisteredGovernanceServiceResponse callRegisteredGovernanceServiceGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ElementHeaderResponse callElementHeaderPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public ElementHeadersResponse callElementHeadersPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public OpenMetadataElementsResponse callOpenMetadataElementsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public OpenMetadataElementsResponse callOpenMetadataElementsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public OpenMetadataElementResponse callOpenMetadataElementGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public RelatedMetadataElementsListResponse callRelatedMetadataElementsListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public RelatedMetadataElementsListResponse callRelatedMetadataElementsListGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public RelatedMetadataElementListResponse callRelatedMetadataElementListPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public RelatedMetadataElementListResponse callRelatedMetadataElementListGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionElementResponse callGovernanceActionGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionElementsResponse callGovernanceActionsGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionTypeElementResponse callGovernanceActionTypeGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionTypeElementsResponse callGovernanceActionTypesGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionTypeElementsResponse callGovernanceActionTypeElementsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public NextGovernanceActionTypeElementsResponse callNextGovernanceActionTypesGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionProcessElementResponse callGovernanceActionProcessGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionProcessElementsResponse callGovernanceActionProcessesGetRESTCall(String methodName, String urlTemplate, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.params - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.public GovernanceActionProcessElementsResponse callGovernanceActionProcessElementsPostRESTCall(String methodName, String urlTemplate, Object requestBody, Object... params) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
methodName - name of the method being called.urlTemplate - template of the URL for the REST API call with place-holders for the parameters.requestBody - object that passes additional parametersparams - a list of parameters that are slotted into the url template.InvalidParameterException - one of the parameters is invalid.UserNotAuthorizedException - the user is not authorized to make this request.PropertyServerException - the repository is not available or not working properly.Copyright © 2018–2021 LF AI & Data Foundation. All rights reserved.