Class OMRSRepositoryEventBuilder
java.lang.Object
org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryeventmapper.OMRSRepositoryEventProcessor
org.odpi.openmetadata.repositoryservices.eventmanagement.OMRSRepositoryEventBuilder
- All Implemented Interfaces:
- OMRSInstanceEventProcessorClassificationExtension,- OMRSInstanceEventProcessorInterface,- OMRSTypeDefEventProcessorInterface
- Direct Known Subclasses:
- OMRSRepositoryEventManager,- OMRSRepositoryEventPublisher
public abstract class OMRSRepositoryEventBuilder
extends OMRSRepositoryEventProcessor
implements OMRSInstanceEventProcessorClassificationExtension
OMRSRepositoryEventBuilder creates OMRS Events ready to be distributed.
- 
Field SummaryFields inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryeventmapper.OMRSRepositoryEventProcessoreventProcessorName
- 
Method SummaryModifier and TypeMethodDescriptionvoidprocessAttributeTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef conflictingAttributeTypeDef, String errorMessage) Process a detected conflict in the attribute type definitions (AttributeTypeDefs) used in the cohort.voidprocessClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity, Classification classification) A new classification has been added to an entity.voidprocessClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityProxy entity, Classification classification) A new classification has been added to an entity.voidprocessConflictingInstancesEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, String targetInstanceGUID, String otherMetadataCollectionId, InstanceProvenanceType otherOrigin, TypeDefSummary otherTypeDefSummary, String otherInstanceGUID, String errorMessage) A repository has detected two metadata instances with the same identifier (guid).voidprocessConflictingTypeEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, String targetInstanceGUID, TypeDefSummary otherTypeDefSummary, String errorMessage) An open metadata repository has detected an inconsistency in the version of the type used in an updated metadata instance compared to its stored version.voidprocessDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity, Classification originalClassification) A classification has been removed from an entity.voidprocessDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityProxy entity, Classification originalClassification) A classification has been removed from an entity.voidprocessDeletedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String attributeTypeDefGUID, String attributeTypeDefName) An existing AttributeTypeDef has been deleted in an open metadata repository.voidprocessDeletedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An existing entity has been deleted.voidprocessDeletedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) An existing relationship has been deleted.voidprocessDeletedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName) An existing TypeDef has been deleted.voidprocessDeletePurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An existing entity has been deleted and purged.voidprocessDeletePurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) An existing relationship has been deleted and purged.voidprocessInstanceBatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, InstanceGraph instances) An open metadata repository is passing information about a collection of entities and relationships with the other repositories in the cohort.voidprocessNewAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef attributeTypeDef) A new AttributeTypeDef has been defined in an open metadata repository.voidprocessNewEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) A new entity has been created.voidprocessNewRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) A new relationship has been created.voidprocessNewTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDef typeDef) A new TypeDef has been defined.voidprocessPurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID) A deleted entity has been permanently removed from the repository.voidprocessPurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An entity has been permanently removed from the repository.voidprocessPurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID) A deleted relationship has been permanently removed from the repository.voidprocessPurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) A relationship has been permanently removed from the repository.voidprocessReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity, Classification originalClassification, Classification classification) An existing classification has been changed on an entity.voidprocessReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityProxy entity, Classification originalClassification, Classification classification) An existing classification has been changed on an entity.voidprocessRefreshEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) A remote repository in the cohort has sent entity details in response to a refresh request.voidprocessRefreshEntityRequested(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID, String homeMetadataCollectionId) The local repository is requesting that an entity from another repository's metadata collection is refreshed so the local repository can create a reference copy.voidprocessRefreshRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) The local repository is refreshing the information about a relationship for the other repositories in the cohort.voidprocessRefreshRelationshipRequest(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID, String homeMetadataCollectionId) A repository has requested the home repository of a relationship send details of the relationship so the local repository can create a reference copy of the instance.voidprocessReHomedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalHomeMetadataCollectionId, EntityDetail entity) An existing entity has changed home repository.voidprocessReHomedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalHomeMetadataCollection, Relationship relationship) An existing relationship has changed home repository.voidprocessReIdentifiedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef) Process an event that changes either the name or guid of an AttributeTypeDef.voidprocessReIdentifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalEntityGUID, EntityDetail entity) The guid of an existing entity has been changed to a new value.voidprocessReIdentifiedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalRelationshipGUID, Relationship relationship) The guid of an existing relationship has changed.voidprocessReIdentifiedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, TypeDef typeDef) The guid or name of an existing TypeDef has been changed to a new value.voidprocessRestoredEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) A deleted entity has been restored to the state it was before it was deleted.voidprocessRestoredRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) A deleted relationship has been restored to the state it was before it was deleted.voidprocessReTypedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, EntityDetail entity) An existing entity has had its type changed.voidprocessReTypedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, Relationship relationship) An existing relationship has had its type changed.voidprocessTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originatorTypeDefSummary, String otherMetadataCollectionId, TypeDefSummary conflictingTypeDefSummary, String errorMessage) Process a detected conflict in type definitions (TypeDefs) used in the cohort.voidprocessTypeDefPatchMismatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, TypeDef otherTypeDef, String errorMessage) A TypeDef from another member in the cohort is at a different version than the local repository.voidprocessUndoneEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An update to an entity has been undone.voidprocessUndoneRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) An update to a relationship has been undone.voidprocessUpdatedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail oldEntity, EntityDetail newEntity) An existing entity has been updated.voidprocessUpdatedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship oldRelationship, Relationship newRelationship) An existing relationship has been updated.voidprocessUpdatedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefPatch typeDefPatch) An existing TypeDef has been updated.Methods inherited from class org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.repositoryeventmapper.OMRSRepositoryEventProcessorgetEventProcessorName, processClassifiedEntityEvent, processDeclassifiedEntityEvent, processReclassifiedEntityEventMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.odpi.openmetadata.repositoryservices.events.OMRSInstanceEventProcessorInterfacesendInstanceEventMethods inherited from interface org.odpi.openmetadata.repositoryservices.events.OMRSTypeDefEventProcessorInterfacesendTypeDefEvent
- 
Method Details- 
processNewTypeDefEventpublic void processNewTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDef typeDef) A new TypeDef has been defined.- Specified by:
- processNewTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDef- details of the new TypeDef
 
- 
processNewAttributeTypeDefEventpublic void processNewAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef attributeTypeDef) A new AttributeTypeDef has been defined in an open metadata repository.- Specified by:
- processNewAttributeTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- attributeTypeDef- details of the new AttributeTypeDef.
 
- 
processUpdatedTypeDefEventpublic void processUpdatedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefPatch typeDefPatch) An existing TypeDef has been updated.- Specified by:
- processUpdatedTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDefPatch- details of the new version of the TypeDef
 
- 
processDeletedTypeDefEventpublic void processDeletedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName) An existing TypeDef has been deleted. Both the name and the GUID are provided to ensure the right TypeDef is deleted in remote repositories.- Specified by:
- processDeletedTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDefGUID- unique identifier of the TypeDef
- typeDefName- unique name of the TypeDef
 
- 
processDeletedAttributeTypeDefEventpublic void processDeletedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String attributeTypeDefGUID, String attributeTypeDefName) An existing AttributeTypeDef has been deleted in an open metadata repository. Both the name and the GUID are provided to ensure the right AttributeTypeDef is deleted in other cohort member repositories.- Specified by:
- processDeletedAttributeTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- attributeTypeDefGUID- unique identifier of the AttributeTypeDef
- attributeTypeDefName- unique name of the AttributeTypeDef
 
- 
processReIdentifiedTypeDefEventpublic void processReIdentifiedTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, TypeDef typeDef) The guid or name of an existing TypeDef has been changed to a new value. This is used if two different Typedefs are discovered to have either the same guid or, most likely, the same name. This type of conflict is rare but typically occurs when a new repository joins the cohort.- Specified by:
- processReIdentifiedTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalTypeDefSummary- the details for the original TypeDef.
- typeDef- updated TypeDef with new identifiers
 
- 
processReIdentifiedAttributeTypeDefEventpublic void processReIdentifiedAttributeTypeDefEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originalAttributeTypeDef, AttributeTypeDef attributeTypeDef) Process an event that changes either the name or guid of an AttributeTypeDef. It is resolving a Conflicting AttributeTypeDef Error.- Specified by:
- processReIdentifiedAttributeTypeDefEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalAttributeTypeDef- description of original AttributeTypeDef
- attributeTypeDef- updated AttributeTypeDef with new identifiers inside.
 
- 
processTypeDefConflictEventpublic void processTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originatorTypeDefSummary, String otherMetadataCollectionId, TypeDefSummary conflictingTypeDefSummary, String errorMessage) Process a detected conflict in type definitions (TypeDefs) used in the cohort.- Specified by:
- processTypeDefConflictEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originatorTypeDefSummary- details of the TypeDef in the event originator
- otherMetadataCollectionId- the metadataCollection using the conflicting TypeDef
- conflictingTypeDefSummary- the details of the TypeDef in the other metadata collection
- errorMessage- details of the error that occurs when the connection is used.
 
- 
processAttributeTypeDefConflictEventpublic void processAttributeTypeDefConflictEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, AttributeTypeDef originatorAttributeTypeDef, String otherMetadataCollectionId, AttributeTypeDef conflictingAttributeTypeDef, String errorMessage) Process a detected conflict in the attribute type definitions (AttributeTypeDefs) used in the cohort.- Specified by:
- processAttributeTypeDefConflictEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originatorAttributeTypeDef- - description of the AttributeTypeDef in the event originator.
- otherMetadataCollectionId- the metadataCollection using the conflicting AttributeTypeDef.
- conflictingAttributeTypeDef- description of the AttributeTypeDef in the other metadata collection.
- errorMessage- details of the error that occurs when the connection is used.
 
- 
processTypeDefPatchMismatchEventpublic void processTypeDefPatchMismatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, TypeDef otherTypeDef, String errorMessage) A TypeDef from another member in the cohort is at a different version than the local repository. This may create some inconsistencies in the different copies of instances of this type in different members of the cohort. The recommended action is to update all TypeDefs to the latest version.- Specified by:
- processTypeDefPatchMismatchEventin interface- OMRSTypeDefEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- targetMetadataCollectionId- identifier of the metadata collection that is reporting a TypeDef at a different level to the local repository.
- targetTypeDefSummary- details of the TypeDef being patched
- otherTypeDef- details of the TypeDef in the local repository.
- errorMessage- details of the error that occurs when the connection is used.
 
- 
processNewEntityEventpublic void processNewEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) A new entity has been created.- Specified by:
- processNewEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the new entity
 
- 
processUpdatedEntityEventpublic void processUpdatedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail oldEntity, EntityDetail newEntity) An existing entity has been updated.- Specified by:
- processUpdatedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- oldEntity- original values for the entity.
- newEntity- details of the new version of the entity.
 
- 
processUndoneEntityEventpublic void processUndoneEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An update to an entity has been undone.- Specified by:
- processUndoneEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the version of the entity that has been restored.
 
- 
processClassifiedEntityEventpublic void processClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity, Classification classification) A new classification has been added to an entity.- Specified by:
- processClassifiedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the entity with the new classification added.
- classification- new classification
 
- 
processClassifiedEntityEventpublic void processClassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityProxy entity, Classification classification) A new classification has been added to an entity.- Specified by:
- processClassifiedEntityEventin interface- OMRSInstanceEventProcessorClassificationExtension
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the entity with the new classification added.
- classification- new classification
 
- 
processDeclassifiedEntityEventpublic void processDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity, Classification originalClassification) A classification has been removed from an entity.- Specified by:
- processDeclassifiedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the entity after the classification has been removed.
- originalClassification- classification that was removed
 
- 
processDeclassifiedEntityEventpublic void processDeclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityProxy entity, Classification originalClassification) A classification has been removed from an entity.- Specified by:
- processDeclassifiedEntityEventin interface- OMRSInstanceEventProcessorClassificationExtension
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the entity after the classification has been removed.
- originalClassification- classification that was removed
 
- 
processReclassifiedEntityEventpublic void processReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity, Classification originalClassification, Classification classification) An existing classification has been changed on an entity.- Specified by:
- processReclassifiedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the entity after the classification has been changed.
- originalClassification- classification that was removed
- classification- new classification
 
- 
processReclassifiedEntityEventpublic void processReclassifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityProxy entity, Classification originalClassification, Classification classification) An existing classification has been changed on an entity.- Specified by:
- processReclassifiedEntityEventin interface- OMRSInstanceEventProcessorClassificationExtension
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the entity after the classification has been changed.
- originalClassification- classification that was removed
- classification- new classification
 
- 
processDeletedEntityEventpublic void processDeletedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An existing entity has been deleted. This is a soft delete. This means it is still in the repository but, it is no longer returned on queries. All relationships to the entity are also soft-deleted and will no longer be usable. These deleted relationships will be notified through separate events.- Specified by:
- processDeletedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- deleted entity
 
- 
processRestoredEntityEventpublic void processRestoredEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) A deleted entity has been restored to the state it was before it was deleted.- Specified by:
- processRestoredEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the version of the entity that has been restored.
 
- 
processPurgedEntityEventpublic void processPurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An entity has been permanently removed from the repository. This request can not be undone.- Specified by:
- processPurgedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the version of the entity that has been purged.
 
- 
processPurgedEntityEventpublic void processPurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID) A deleted entity has been permanently removed from the repository. This request can not be undone. Details of the TypeDef are included with the entity's unique id (guid) to ensure the right entity is purged in the remote repositories.- Specified by:
- processPurgedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDefGUID- unique identifier for this entity's TypeDef
- typeDefName- name of this entity's TypeDef
- instanceGUID- unique identifier for the entity
 
- 
processDeletePurgedEntityEventpublic void processDeletePurgedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) An existing entity has been deleted and purged. This request can not be undone. All relationships to the entity are also soft-deleted and will no longer be usable. These deleted relationships will be notified through separate events.- Specified by:
- processDeletePurgedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- deleted entity
 
- 
processReIdentifiedEntityEventpublic void processReIdentifiedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalEntityGUID, EntityDetail entity) The guid of an existing entity has been changed to a new value. This is used if two different entities are discovered to have the same guid. This is extremely unlikely but not impossible so the open metadata protocol has provision for this.- Specified by:
- processReIdentifiedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalEntityGUID- the existing identifier for the entity.
- entity- new values for this entity, including the new guid.
 
- 
processReTypedEntityEventpublic void processReTypedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, EntityDetail entity) An existing entity has had its type changed. Typically, this action is taken to move an entity's type to either a super type (so the subtype can be deleted) or a new subtype (so additional properties can be added.) However, the type can be changed to any compatible type.- Specified by:
- processReTypedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalTypeDefSummary- original details for this entity's TypeDef.
- entity- new values for this entity, including the new type information.
 
- 
processReHomedEntityEventpublic void processReHomedEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalHomeMetadataCollectionId, EntityDetail entity) An existing entity has changed home repository. This action is taken for example, if a repository becomes permanently unavailable, or if the user community updating this entity move to working from a different repository in the open metadata repository cohort.- Specified by:
- processReHomedEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalHomeMetadataCollectionId- unique identifier for the original home repository.
- entity- new values for this entity, including the new home information.
 
- 
processRefreshEntityRequestedpublic void processRefreshEntityRequested(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID, String homeMetadataCollectionId) The local repository is requesting that an entity from another repository's metadata collection is refreshed so the local repository can create a reference copy.- Specified by:
- processRefreshEntityRequestedin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDefGUID- unique identifier for this entity's TypeDef
- typeDefName- name of this entity's TypeDef
- instanceGUID- unique identifier for the entity
- homeMetadataCollectionId- metadata collection id for the home of this instance.
 
- 
processRefreshEntityEventpublic void processRefreshEntityEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, EntityDetail entity) A remote repository in the cohort has sent entity details in response to a refresh request.- Specified by:
- processRefreshEntityEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- entity- details of the requested entity
 
- 
processNewRelationshipEventpublic void processNewRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) A new relationship has been created.- Specified by:
- processNewRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- details of the new relationship
 
- 
processUpdatedRelationshipEventpublic void processUpdatedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship oldRelationship, Relationship newRelationship) An existing relationship has been updated.- Specified by:
- processUpdatedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- oldRelationship- original details of the relationship.
- newRelationship- details of the new version of the relationship.
 
- 
processUndoneRelationshipEventpublic void processUndoneRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) An update to a relationship has been undone.- Specified by:
- processUndoneRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- details of the version of the relationship that has been restored.
 
- 
processDeletedRelationshipEventpublic void processDeletedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) An existing relationship has been deleted. This is a soft delete. This means it is still in the repository but, it is no longer returned on queries.- Specified by:
- processDeletedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- deleted relationship
 
- 
processRestoredRelationshipEventpublic void processRestoredRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) A deleted relationship has been restored to the state it was before it was deleted.- Specified by:
- processRestoredRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- details of the version of the relationship that has been restored.
 
- 
processPurgedRelationshipEventpublic void processPurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) A relationship has been permanently removed from the repository. This request can not be undone.- Specified by:
- processPurgedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- details of the relationship that has been purged.
 
- 
processPurgedRelationshipEventpublic void processPurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID) A deleted relationship has been permanently removed from the repository. This request can not be undone. Details of the TypeDef are included with the relationship's unique id (guid) to ensure the right relationship is purged in the remote repositories.- Specified by:
- processPurgedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDefGUID- unique identifier for this relationship's TypeDef.
- typeDefName- name of this relationship's TypeDef.
- instanceGUID- unique identifier for the relationship.
 
- 
processDeletePurgedRelationshipEventpublic void processDeletePurgedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) An existing relationship has been deleted and purged. This request can not be undone.- Specified by:
- processDeletePurgedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- deleted relationship
 
- 
processReIdentifiedRelationshipEventpublic void processReIdentifiedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalRelationshipGUID, Relationship relationship) The guid of an existing relationship has changed. This is used if two different relationships are discovered to have the same guid. This is extremely unlikely but not impossible so the open metadata protocol has provision for this.- Specified by:
- processReIdentifiedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalRelationshipGUID- the existing identifier for the relationship.
- relationship- new values for this relationship, including the new guid.
 
- 
processReTypedRelationshipEventpublic void processReTypedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, TypeDefSummary originalTypeDefSummary, Relationship relationship) An existing relationship has had its type changed. Typically, this action is taken to move a relationship's type to either a super type (so the subtype can be deleted) or a new subtype (so additional properties can be added.) However, the type can be changed to any compatible type.- Specified by:
- processReTypedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalTypeDefSummary- original details of this relationship's TypeDef.
- relationship- new values for this relationship, including the new type information.
 
- 
processReHomedRelationshipEventpublic void processReHomedRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String originalHomeMetadataCollection, Relationship relationship) An existing relationship has changed home repository. This action is taken for example, if a repository becomes permanently unavailable, or if the user community updating this relationship move to working from a different repository in the open metadata repository cohort.- Specified by:
- processReHomedRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- originalHomeMetadataCollection- unique identifier for the original home repository.
- relationship- new values for this relationship, including the new home information.
 
- 
processRefreshRelationshipRequestpublic void processRefreshRelationshipRequest(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String typeDefGUID, String typeDefName, String instanceGUID, String homeMetadataCollectionId) A repository has requested the home repository of a relationship send details of the relationship so the local repository can create a reference copy of the instance.- Specified by:
- processRefreshRelationshipRequestin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- typeDefGUID- unique identifier for this instance's TypeDef
- typeDefName- name of this relationship's TypeDef
- instanceGUID- unique identifier for the instance
- homeMetadataCollectionId- metadata collection id for the home of this instance.
 
- 
processRefreshRelationshipEventpublic void processRefreshRelationshipEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, Relationship relationship) The local repository is refreshing the information about a relationship for the other repositories in the cohort.- Specified by:
- processRefreshRelationshipEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- relationship- relationship details
 
- 
processInstanceBatchEventpublic void processInstanceBatchEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, InstanceGraph instances) An open metadata repository is passing information about a collection of entities and relationships with the other repositories in the cohort.- Specified by:
- processInstanceBatchEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- instances- multiple entities and relationships for sharing.
 
- 
processConflictingInstancesEventpublic void processConflictingInstancesEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, String targetInstanceGUID, String otherMetadataCollectionId, InstanceProvenanceType otherOrigin, TypeDefSummary otherTypeDefSummary, String otherInstanceGUID, String errorMessage) A repository has detected two metadata instances with the same identifier (guid). This is a serious error because it could lead to corruption of the metadata collection. For metadata instances managed by the cohort, this is detected when the event publicizing the second instance to be created with the same guid is received by the other members. Ideally the newest instance is changed. The member that hosts the home repository for the original instance using the guid sends out the conflictingInstancesDetected() notification requesting that the other repository changes the guid on its new instance. When this event is received by other member in the cohort, they delete their reference copy of this metadata instance. Once changed, the updated instance with its new guid is redistributed around the cohort using the reIdentifiedEntity/Relationship() event. The reference copies are recreated on receipt of this event. If the duplicate is caused by loading of an open metadata archive and the older instance's guid can be changed by the home metadata collection then the instance is updated in the home metadata collection and the change distributed using the reIdentifiedEntity/Relationship() event. The reference copies are updated on receipt of this event. If the older instance's guid can not be changed because it too comes from a (different) open metadata archive (or a metadata collection that has left the cohort), then all repositories detecting the duplicate send out a conflictingInstancesDetected() notification requesting that the repository that loaded the newer instance manage the resolution since the newer archive need fixing.- Specified by:
- processConflictingInstancesEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- unique identifier for the metadata collection hosted by the server that sent the event.
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- targetMetadataCollectionId- metadata collection id of other repository with the conflicting instance
- targetTypeDefSummary- details of the target instance's TypeDef
- targetInstanceGUID- unique identifier for the source instance
- otherOrigin- origin of the other (older) metadata instance
- otherMetadataCollectionId- metadata collection of the other (older) metadata instance
- otherTypeDefSummary- details of the other (older) instance's TypeDef
- otherInstanceGUID- unique identifier for the other (older) instance
- errorMessage- description of the error
 
- 
processConflictingTypeEventpublic void processConflictingTypeEvent(String sourceName, String originatorMetadataCollectionId, String originatorServerName, String originatorServerType, String originatorOrganizationName, String targetMetadataCollectionId, TypeDefSummary targetTypeDefSummary, String targetInstanceGUID, TypeDefSummary otherTypeDefSummary, String errorMessage) An open metadata repository has detected an inconsistency in the version of the type used in an updated metadata instance compared to its stored version.- Specified by:
- processConflictingTypeEventin interface- OMRSInstanceEventProcessorInterface
- Parameters:
- sourceName- name of the source of the event. It may be the cohort name for incoming events or the local repository, or event mapper name.
- originatorMetadataCollectionId- metadata collection id of the repository reporting the conflicting instance
- originatorServerName- name of the server that the event came from.
- originatorServerType- type of server that the event came from.
- originatorOrganizationName- name of the organization that owns the server that sent the event.
- targetMetadataCollectionId- metadata collection id of other repository with the conflicting instance
- targetTypeDefSummary- details of the target instance's TypeDef
- targetInstanceGUID- unique identifier for the source instance
- otherTypeDefSummary- details of the originator's TypeDef
- errorMessage- description of the error.
 
 
-