Class EnterpriseRepositoryServicesClient
- java.lang.Object
-
- org.odpi.openmetadata.repositoryservices.clients.MetadataCollectionServicesClient
-
- org.odpi.openmetadata.repositoryservices.clients.EnterpriseRepositoryServicesClient
-
- All Implemented Interfaces:
AuditLoggingComponent
public class EnterpriseRepositoryServicesClient extends MetadataCollectionServicesClient
EnterpriseRepositoryServicesClient provides a client interface for calling the enterprise repository services in a remote server.
-
-
Field Summary
-
Fields inherited from class org.odpi.openmetadata.repositoryservices.clients.MetadataCollectionServicesClient
auditLog
-
-
Constructor Summary
Constructors Constructor Description EnterpriseRepositoryServicesClient(String serverName, String restURLRoot)Create a new client with no authentication embedded in the HTTP request.EnterpriseRepositoryServicesClient(String serverName, String restURLRoot, String userId, String password)Create a new client that passes userId and password in each HTTP request.
-
Method Summary
-
Methods inherited from class org.odpi.openmetadata.repositoryservices.clients.MetadataCollectionServicesClient
addAttributeTypeDef, addEntity, addEntityProxy, addExternalEntity, addExternalRelationship, addRelationship, addTypeDef, addTypeDefGallery, classifyEntity, classifyEntity, declassifyEntity, deleteAttributeTypeDef, deleteEntity, deleteEntityReferenceCopy, deleteRelationship, deleteRelationshipReferenceCopy, deleteTypeDef, findAttributeTypeDefsByCategory, findEntities, findEntitiesByClassification, findEntitiesByProperty, findEntitiesByPropertyValue, findRelationships, findRelationshipsByProperty, findRelationshipsByPropertyValue, findTypeDefsByCategory, findTypeDefsByProperty, findTypesByExternalID, findTypesByName, getAllTypes, getAttributeTypeDefByGUID, getAttributeTypeDefByName, getEntityDetail, getEntityDetail, getEntityDetailHistory, getEntityNeighborhood, getEntitySummary, getHomeClassifications, getHomeClassifications, getLinkingEntities, getMetadataCollectionId, getMetadataCollectionId, getRelatedEntities, getRelationship, getRelationship, getRelationshipHistory, getRelationshipsForEntity, getTypeDefByGUID, getTypeDefByName, isEntityKnown, isRelationshipKnown, purgeClassificationReferenceCopy, purgeEntity, purgeEntityReferenceCopy, purgeEntityReferenceCopy, purgeRelationship, purgeRelationshipReferenceCopy, purgeRelationshipReferenceCopy, refreshEntityReferenceCopy, refreshRelationshipReferenceCopy, reHomeEntity, reHomeRelationship, reIdentifyAttributeTypeDef, reIdentifyEntity, reIdentifyRelationship, reIdentifyTypeDef, restoreEntity, restoreRelationship, reTypeEntity, reTypeRelationship, saveClassificationReferenceCopy, saveEntityReferenceCopy, saveInstanceReferenceCopies, saveRelationshipReferenceCopy, searchForTypeDefs, setAuditLog, undoEntityUpdate, undoRelationshipUpdate, updateEntityClassification, updateEntityProperties, updateEntityStatus, updateRelationshipProperties, updateRelationshipStatus, updateTypeDef, verifyAttributeTypeDef, verifyTypeDef
-
-
-
-
Constructor Detail
-
EnterpriseRepositoryServicesClient
public EnterpriseRepositoryServicesClient(String serverName, String restURLRoot) throws InvalidParameterException
Create a new client with no authentication embedded in the HTTP request.- Parameters:
serverName- name of the server to connect torestURLRoot- the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.- Throws:
InvalidParameterException- bad input parameters
-
EnterpriseRepositoryServicesClient
public EnterpriseRepositoryServicesClient(String serverName, String restURLRoot, String userId, String password) throws 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 torestURLRoot- the network address of the server running the repository services. This is of the form serverURLroot + "/servers/" + serverName.userId- caller's userId embedded in all HTTP requestspassword- caller's userId embedded in all HTTP requests- Throws:
InvalidParameterException- bad input parameters
-
-