![JAR search and dependency download from the Maven repository](/logo.png)
org.odpi.openmetadata.accessservices.datascience.client.GovernanceConfigurationClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of data-science-client Show documentation
Show all versions of data-science-client Show documentation
Client library for the Data Science Open Metadata Access Service (OMAS).
/* SPDX-License-Identifier: Apache-2.0 */
/* Copyright Contributors to the ODPi Egeria project. */
package org.odpi.openmetadata.accessservices.datascience.client;
import org.odpi.openmetadata.adminservices.configuration.registration.AccessServiceDescription;
import org.odpi.openmetadata.frameworks.auditlog.AuditLog;
import org.odpi.openmetadata.frameworks.connectors.ffdc.InvalidParameterException;
import org.odpi.openmetadata.frameworkservices.gaf.client.GovernanceConfigurationClientBase;
import org.odpi.openmetadata.frameworkservices.gaf.client.rest.GAFRESTClient;
/**
* GovernanceConfigurationClient supports the configuration of Governance Server and governance services.
*/
public class GovernanceConfigurationClient extends GovernanceConfigurationClientBase
{
private final static String serviceURLMarker = AccessServiceDescription.DATA_SCIENCE_OMAS.getAccessServiceURLMarker();
/**
* Create a new client with no authentication embedded in the HTTP request.
*
* @param serverName name of the server to connect to
* @param serverPlatformURLRoot the network address of the server running the OMAS REST services
* @param maxPageSize pre-initialized parameter limit
* @throws InvalidParameterException there is a problem creating the client-side components to issue any
* REST API calls.
*/
public GovernanceConfigurationClient(String serverName,
String serverPlatformURLRoot,
int maxPageSize) throws InvalidParameterException
{
super(serverName, serverPlatformURLRoot, serviceURLMarker, maxPageSize);
}
/**
* Create a new client that passes userId and password in each HTTP request. This is the
* userId/password of the calling server. The end user's userId is sent on each request.
*
* @param serverName name of the server to connect to
* @param serverPlatformURLRoot the network address of the server running the OMAS REST services
* @param userId caller's userId embedded in all HTTP requests
* @param password caller's userId embedded in all HTTP requests
* @param maxPageSize pre-initialized parameter limit
* @throws InvalidParameterException there is a problem creating the client-side components to issue any
* REST API calls.
*/
public GovernanceConfigurationClient(String serverName,
String serverPlatformURLRoot,
String userId,
String password,
int maxPageSize) throws InvalidParameterException
{
super(serverName, serverPlatformURLRoot, serviceURLMarker, userId, password, maxPageSize);
}
/**
* Create a new client that passes userId and password in each HTTP request. This is the
* userId/password of the calling server. The end user's userId is sent on each request.
*
* @param serverName name of the server to connect to
* @param serverPlatformURLRoot the network address of the server running the OMAS REST services
* @param restClient pre-initialized REST client
* @param maxPageSize pre-initialized parameter limit
* @param auditLog logging destination
* @throws InvalidParameterException there is a problem with the information about the remote OMAS
*/
public GovernanceConfigurationClient(String serverName,
String serverPlatformURLRoot,
GAFRESTClient restClient,
int maxPageSize,
AuditLog auditLog) throws InvalidParameterException
{
super(serverName, serverPlatformURLRoot, serviceURLMarker, restClient, maxPageSize, auditLog);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy