public class CatalogIntegrator extends Object implements CatalogIntegratorAPI
| Constructor and Description |
|---|
CatalogIntegrator(String serverName,
String serverPlatformRootURL)
Create a new client with no authentication embedded in the HTTP request.
|
CatalogIntegrator(String serverName,
String serverPlatformRootURL,
AuditLog auditLog)
Create a new client with no authentication embedded in the HTTP request.
|
CatalogIntegrator(String serverName,
String serverPlatformRootURL,
String userId,
String password)
Create a new client that passes userId and password in each HTTP request.
|
CatalogIntegrator(String serverName,
String serverPlatformRootURL,
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 |
|---|---|
ConnectorType |
validateConnector(String userId,
String connectorProviderClassName)
Validate the connector and return its connector type.
|
public CatalogIntegrator(String serverName, String serverPlatformRootURL, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - 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 CatalogIntegrator(String serverName, String serverPlatformRootURL) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - 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 CatalogIntegrator(String serverName, String serverPlatformRootURL, String userId, String password, AuditLog auditLog) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - 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 CatalogIntegrator(String serverName, String serverPlatformRootURL, String userId, String password) throws InvalidParameterException
serverName - name of the server to connect toserverPlatformRootURL - 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 ConnectorType validateConnector(String userId, String connectorProviderClassName) throws InvalidParameterException, UserNotAuthorizedException, PropertyServerException
validateConnector in interface CatalogIntegratorAPIuserId - calling userconnectorProviderClassName - name of a specific connector or null for all connectorsInvalidParameterException - the connector provider class name is not a valid connector fo this serviceUserNotAuthorizedException - user not authorized to issue this requestPropertyServerException - there was a problem detected by the integration serviceCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.