Class EgeriaOpenMetadataStoreClient
java.lang.Object
org.odpi.openmetadata.frameworks.openmetadata.client.OpenMetadataClient
org.odpi.openmetadata.frameworkservices.omf.client.OpenMetadataClientBase
org.odpi.openmetadata.frameworkservices.omf.client.EgeriaOpenMetadataStoreClient
- All Implemented Interfaces:
ExternalIdentifiersInterface,MetadataElementInterface,MultiLanguageInterface,OpenMetadataTypesInterface,StewardshipRequestInterface
EgeriaOpenMetadataStoreClient provides an interface to the open metadata store. This is part of the Open Metadata Framework (OMF)
and provides a comprehensive interface for working with all types of metadata, subject to the user's (and this OMAS's) security permissions.
The interface supports search, maintenance of metadata elements, classifications and relationships plus the ability to raise incident reports
and todos along with the ability to work with metadata valid values and translations.
-
Field Summary
Fields inherited from class org.odpi.openmetadata.frameworkservices.omf.client.OpenMetadataClientBase
elementBuilder, invalidParameterHandler, relationshipBuilderFields inherited from class org.odpi.openmetadata.frameworks.openmetadata.client.OpenMetadataClient
serverName, serverPlatformURLRoot -
Constructor Summary
ConstructorsConstructorDescriptionEgeriaOpenMetadataStoreClient(String serverName, String serverPlatformURLRoot, String secretsStoreProvider, String secretsStoreLocation, String secretsStoreCollection, int maxPageSize, AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request.EgeriaOpenMetadataStoreClient(String serverName, String serverPlatformURLRoot, Map<String, SecretsStoreConnector> secretsStoreConnectorMap, int maxPageSize, AuditLog auditLog) Create a new client with no authentication embedded in the HTTP request. -
Method Summary
Methods inherited from class org.odpi.openmetadata.frameworkservices.omf.client.OpenMetadataClientBase
archiveMetadataElementInStore, classifyMetadataElementInStore, clearTranslation, createActorAction, createIncidentReport, createMetadataElementFromTemplate, createMetadataElementInStore, createNoteLogEntry, createRelatedElementsInStore, declassifyMetadataElementInStore, deleteMetadataElementInStore, deleteRelationshipInStore, detachRelatedElementsInStore, findAttributeTypeDefsByCategory, findElementsForAnchor, findElementsInAnchorDomain, findElementsInAnchorScope, findMetadataElements, findMetadataElementsWithString, findRelationshipsBetweenMetadataElements, findTypeDefsByCategory, findTypesByExternalId, getAllTypes, getAnchoredElementsGraph, getAttributeTypeDefByGUID, getAttributeTypeDefByName, getClassificationHistory, getMaxPagingSize, getMetadataElementByGUID, getMetadataElementByUniqueName, getMetadataElementGUIDByUniqueName, getMetadataElementHistory, getMetadataElementRelationships, getRelatedMetadataElement, getRelatedMetadataElements, getRelationshipByGUID, getRelationshipHistory, getSpecification, getSubTypes, getTranslation, getTranslations, getTypeDefByGUID, getTypeDefByName, openToDo, publishMetadataElement, reclassifyMetadataElementInStore, registerContextEvent, setMaxPageSize, setTranslation, updateClassificationEffectivityInStore, updateMetadataElementEffectivityInStore, updateMetadataElementInStore, updateRelatedElementsInStore, updateRelationshipEffectivityInStore, updateRelationshipInStore, withdrawMetadataElementMethods inherited from class org.odpi.openmetadata.frameworks.openmetadata.client.OpenMetadataClient
createMetadataElementInStore, createMetadataElementInStore, findMetadataElementsByClassificationPropertyValue, findMetadataElementsByClassificationPropertyValue, findMetadataElementsByPropertyValue, findMetadataElementsByPropertyValue, getDeletedElementByUniqueName, getMetadataElementsByClassification, getMetadataElementsByClassificationPropertyValue, getMetadataElementsByClassificationPropertyValue, getMetadataElementsByClassificationPropertyValue, getMetadataElementsByPropertyValue, getMetadataElementsByPropertyValue, getServerName, getServerPlatformURLRoot, toString
-
Constructor Details
-
EgeriaOpenMetadataStoreClient
public EgeriaOpenMetadataStoreClient(String serverName, String serverPlatformURLRoot, String secretsStoreProvider, String secretsStoreLocation, String secretsStoreCollection, int maxPageSize, AuditLog auditLog) throws 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 servicessecretsStoreProvider- secrets store connector for bearer tokensecretsStoreLocation- secrets store location for bearer tokensecretsStoreCollection- secrets store collection for bearer tokenmaxPageSize- maximum value allowed for page sizeauditLog- logging destination- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-
EgeriaOpenMetadataStoreClient
public EgeriaOpenMetadataStoreClient(String serverName, String serverPlatformURLRoot, Map<String, SecretsStoreConnector> secretsStoreConnectorMap, int maxPageSize, AuditLog auditLog) throws InvalidParameterExceptionCreate 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 servicessecretsStoreConnectorMap- connectors to secrets storesmaxPageSize- maximum value allowed for page sizeauditLog- logging destination- Throws:
InvalidParameterException- there is a problem creating the client-side components to issue any REST API calls.
-