Class MetadataSourceClient
java.lang.Object
org.odpi.openmetadata.accessservices.datamanager.client.DataManagerBaseClient
org.odpi.openmetadata.accessservices.datamanager.client.MetadataSourceClient
- All Implemented Interfaces:
org.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface
public class MetadataSourceClient
extends DataManagerBaseClient
implements org.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface
MetadataSourceClient is the client for setting up the SoftwareServerCapabilities that represent metadata sources.
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataSourceClient(String serverName, String serverPlatformURLRoot) Create a new client with no authentication embedded in the HTTP request.MetadataSourceClient(String serverName, String serverPlatformURLRoot, String userId, String password) Create a new client that passes userId and password in each HTTP request.MetadataSourceClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Create a new client that passes userId and password in each HTTP request.MetadataSourceClient(String serverName, String serverPlatformURLRoot, DataManagerRESTClient restClient, int maxPageSize) Create a new client that is to be used within an OMAG Server.MetadataSourceClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Modifier and TypeMethodDescriptioncreateAPIManager(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.APIManagerProperties apiManagerProperties) Create information about the component that manages APIs.createApplication(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.ApplicationProperties applicationProperties) Create information about an application.createDatabaseManager(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.DatabaseManagerProperties databaseManagerProperties) Create information about the integration daemon that is managing the acquisition of metadata from the data manager.createDataProcessingEngine(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.DataProcessingEngineProperties engineProperties) Create information about a data processing engine - set up typeName in the properties to create subtypes such as ReportingEngine, WorkflowEngine, AnalyticsEngine, DataMovementEngine or DataVirtualizationEngine.createEventBroker(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.EventBrokerProperties eventBrokerProperties) Create information about the integration daemon that is managing the acquisition of metadata from the data manager.createFileManager(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.FileManagerProperties fileManagerProperties) Create information about an application that manages a collection of data files.createFileSystem(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.FileSystemProperties fileSystemProperties) Create information about a File System that is being used to store data files.getMetadataSourceGUID(String userId, String qualifiedName) Retrieve the unique identifier of the data manager.Methods inherited from class org.odpi.openmetadata.accessservices.datamanager.client.DataManagerBaseClient
removeReferenceable, removeReferenceable
-
Constructor Details
-
MetadataSourceClient
public MetadataSourceClient(String serverName, String serverPlatformURLRoot, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
MetadataSourceClient
public MetadataSourceClient(String serverName, String serverPlatformURLRoot) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST services- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
MetadataSourceClient
public MetadataSourceClient(String serverName, String serverPlatformURLRoot, String userId, String password, org.odpi.openmetadata.frameworks.auditlog.AuditLog auditLog) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException 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.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requestsauditLog- logging destination- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
MetadataSourceClient
public MetadataSourceClient(String serverName, String serverPlatformURLRoot, String userId, String password) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException 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.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesuserId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
MetadataSourceClient
public MetadataSourceClient(String serverName, String serverPlatformURLRoot, DataManagerRESTClient restClient, int maxPageSize) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException Create a new client that is to be used within an OMAG Server.- Parameters:
serverName- name of the server to connect toserverPlatformURLRoot- the network address of the server running the OMAS REST servicesrestClient- pre-initialized REST clientmaxPageSize- pre-initialized parameter limit- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- there is a problem with the information about the remote OMAS
-
-
Method Details
-
createAPIManager
public String createAPIManager(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.APIManagerProperties apiManagerProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about the component that manages APIs.- Specified by:
createAPIManagerin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceapiManagerProperties- description of the API manager (specify qualified name at a minimum)- Returns:
- unique identifier of the API manager's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
createDatabaseManager
public String createDatabaseManager(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.DatabaseManagerProperties databaseManagerProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about the integration daemon that is managing the acquisition of metadata from the data manager. Typically, this is Egeria's data manager integrator OMIS.- Specified by:
createDatabaseManagerin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcedatabaseManagerProperties- description of the integration daemon (specify qualified name at a minimum)- Returns:
- unique identifier of the integration daemon's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
createEventBroker
public String createEventBroker(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.EventBrokerProperties eventBrokerProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about the integration daemon that is managing the acquisition of metadata from the data manager. Typically, this is Egeria's data manager proxy.- Specified by:
createEventBrokerin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceeventBrokerProperties- description of the event broker (specify qualified name at a minimum)- Returns:
- unique identifier of the event broker's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
createFileSystem
public String createFileSystem(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.FileSystemProperties fileSystemProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about a File System that is being used to store data files.- Specified by:
createFileSystemin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcefileSystemProperties- description of the file system- Returns:
- unique identifier of the file system's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
createFileManager
public String createFileManager(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.FileManagerProperties fileManagerProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about an application that manages a collection of data files.- Specified by:
createFileManagerin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourcefileManagerProperties- description of the- Returns:
- unique identifier of the file manager's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
createApplication
public String createApplication(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.ApplicationProperties applicationProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about an application.- Specified by:
createApplicationin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceapplicationProperties- description of the application (specify qualified name at a minimum)- Returns:
- unique identifier of the application's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
createDataProcessingEngine
public String createDataProcessingEngine(String userId, String externalSourceGUID, String externalSourceName, org.odpi.openmetadata.frameworks.openmetadata.properties.softwarecapabilities.DataProcessingEngineProperties engineProperties) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Create information about a data processing engine - set up typeName in the properties to create subtypes such as ReportingEngine, WorkflowEngine, AnalyticsEngine, DataMovementEngine or DataVirtualizationEngine.- Specified by:
createDataProcessingEnginein interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userexternalSourceGUID- guid of the software server capability entity that represented the external source - null for localexternalSourceName- name of the software server capability entity that represented the external sourceengineProperties- description of the engine (specify qualified name at a minimum)- Returns:
- unique identifier of the engine's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-
getMetadataSourceGUID
public String getMetadataSourceGUID(String userId, String qualifiedName) throws org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException, org.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException Retrieve the unique identifier of the data manager.- Specified by:
getMetadataSourceGUIDin interfaceorg.odpi.openmetadata.accessservices.datamanager.api.MetadataSourceInterface- Parameters:
userId- calling userqualifiedName- unique name of the integration daemon- Returns:
- unique identifier of the data manager's software server capability
- Throws:
org.odpi.openmetadata.frameworks.openmetadata.ffdc.InvalidParameterException- the bean properties are invalidorg.odpi.openmetadata.frameworks.openmetadata.ffdc.UserNotAuthorizedException- user not authorized to issue this requestorg.odpi.openmetadata.frameworks.openmetadata.ffdc.PropertyServerException- problem accessing the property server
-