Class LocalOMRSInstanceEventProcessor

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processClassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
      A new classification has been added to an entity.
      void processClassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
      A new classification has been added to an entity.
      void processConflictingInstancesEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String targetMetadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary targetTypeDefSummary, java.lang.String targetInstanceGUID, java.lang.String otherMetadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProvenanceType otherOrigin, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary otherTypeDefSummary, java.lang.String otherInstanceGUID, java.lang.String errorMessage)
      An open metadata repository has detected two metadata instances with the same identifier (guid).
      void processConflictingTypeEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String targetMetadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary targetTypeDefSummary, java.lang.String targetInstanceGUID, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary otherTypeDefSummary, java.lang.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.
      void processDeclassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification)
      A classification has been removed from an entity.
      void processDeclassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification)
      A classification has been removed from an entity.
      void processDeletedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      An existing entity has been deleted.
      void processDeletedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      An existing relationship has been deleted.
      void processInstanceBatchEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceGraph instances)
      An open metadata repository is passing information about a collection of entities and relationships with the other repositories in the cohort.
      void processNewEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      A new entity has been created either in a remote cohort member or loaded via an open metadata archive.
      void processNewRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      A new relationship has been created either in a remote cohort member or loaded via an open metadata archive.
      void processPurgedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String typeDefGUID, java.lang.String typeDefName, java.lang.String instanceGUID)
      A deleted entity has been permanently removed from the repository.
      void processPurgedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      An entity has been permanently removed from the repository.
      void processPurgedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String typeDefGUID, java.lang.String typeDefName, java.lang.String instanceGUID)
      A deleted relationship has been permanently removed from the repository.
      void processPurgedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      A relationship has been permanently removed from the repository.
      void processReclassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
      An existing classification has been changed on an entity.
      void processReclassifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
      An existing classification has been changed on an entity.
      void processRefreshEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      A remote repository in the cohort has sent entity details in response to a refresh request.
      void processRefreshEntityRequested​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String typeDefGUID, java.lang.String typeDefName, java.lang.String instanceGUID, java.lang.String homeMetadataCollectionId)
      The remote repository is requesting that an entity from this repository's metadata collection is refreshed so the remote repository can create a reference copy.
      void processRefreshRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      The local repository is refreshing the information about a relationship for the other repositories in the cohort.
      void processRefreshRelationshipRequest​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String typeDefGUID, java.lang.String typeDefName, java.lang.String instanceGUID, java.lang.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.
      void processReHomedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String originalHomeMetadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      An existing entity has changed home repository.
      void processReHomedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String originalHomeMetadataCollection, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      An existing relationship has changed home repository.
      void processReIdentifiedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String originalEntityGUID, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      The guid of an existing entity has been changed to a new value.
      void processReIdentifiedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, java.lang.String originalRelationshipGUID, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      The guid of an existing relationship has changed.
      void processRestoredEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      A deleted entity has been restored to the state it was before it was deleted.
      void processRestoredRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      A deleted relationship has been restored to the state it was before it was deleted.
      void processRetrievedEntityDetail​(java.lang.String sourceName, java.lang.String metadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail processedEntity)
      Pass an entity that has been retrieved from a remote open metadata repository so it can be validated and (if the rules permit) cached in the local repository.
      void processRetrievedEntitySummary​(java.lang.String sourceName, java.lang.String metadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummary processedEntity)
      Pass an entity that has been retrieved from a remote open metadata repository so it can be validated and (if the rules permit) cached in the local repository.
      void processRetrievedRelationship​(java.lang.String sourceName, java.lang.String metadataCollectionId, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship processedRelationship)
      Pass a relationship that has been retrieved from a remote open metadata repository so it can be validated and (if the rules permit) cached in the local repository.
      void processReTypedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary originalTypeDefSummary, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      An existing entity has had its type changed.
      void processReTypedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary originalTypeDefSummary, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      An existing relationship has had its type changed.
      void processUndoneEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
      An update to an entity has been undone.
      void processUndoneRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
      An update to a relationship has been undone.
      void processUpdatedEntityEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail oldEntity, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail newEntity)
      An existing entity has been updated.
      void processUpdatedRelationshipEvent​(java.lang.String sourceName, java.lang.String originatorMetadataCollectionId, java.lang.String originatorServerName, java.lang.String originatorServerType, java.lang.String originatorOrganizationName, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship oldRelationship, org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship newRelationship)
      An existing relationship has been updated either in a remote cohort member or loaded via an open metadata archive.
      void sendInstanceEvent​(java.lang.String cohortName, OMRSInstanceEvent instanceEvent)
      Unpack and process the incoming event
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • processNewEntityEvent

        public void processNewEntityEvent​(java.lang.String sourceName,
                                          java.lang.String originatorMetadataCollectionId,
                                          java.lang.String originatorServerName,
                                          java.lang.String originatorServerType,
                                          java.lang.String originatorOrganizationName,
                                          org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
        A new entity has been created either in a remote cohort member or loaded via an open metadata archive. This method saves the entity in the local repository if the rules allow and/or replicates it to other cohort members if this repository is responsible for replication.
        Specified by:
        processNewEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processNewEntityEvent in class OMRSInstanceEventProcessor
        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
      • processUpdatedEntityEvent

        public void processUpdatedEntityEvent​(java.lang.String sourceName,
                                              java.lang.String originatorMetadataCollectionId,
                                              java.lang.String originatorServerName,
                                              java.lang.String originatorServerType,
                                              java.lang.String originatorOrganizationName,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail oldEntity,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail newEntity)
        An existing entity has been updated.
        Specified by:
        processUpdatedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processUpdatedEntityEvent in class OMRSInstanceEventProcessor
        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.
      • processUndoneEntityEvent

        public void processUndoneEntityEvent​(java.lang.String sourceName,
                                             java.lang.String originatorMetadataCollectionId,
                                             java.lang.String originatorServerName,
                                             java.lang.String originatorServerType,
                                             java.lang.String originatorOrganizationName,
                                             org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
        An update to an entity has been undone.
        Specified by:
        processUndoneEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processUndoneEntityEvent in class OMRSInstanceEventProcessor
        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.
      • processClassifiedEntityEvent

        public void processClassifiedEntityEvent​(java.lang.String sourceName,
                                                 java.lang.String originatorMetadataCollectionId,
                                                 java.lang.String originatorServerName,
                                                 java.lang.String originatorServerType,
                                                 java.lang.String originatorOrganizationName,
                                                 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity,
                                                 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
        A new classification has been added to an entity.
        Specified by:
        processClassifiedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Overrides:
        processClassifiedEntityEvent in class OMRSInstanceEventProcessor
        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. No guarantee this is all the classifications.
        classification - new classification
      • processClassifiedEntityEvent

        public void processClassifiedEntityEvent​(java.lang.String sourceName,
                                                 java.lang.String originatorMetadataCollectionId,
                                                 java.lang.String originatorServerName,
                                                 java.lang.String originatorServerType,
                                                 java.lang.String originatorOrganizationName,
                                                 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity,
                                                 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
        A new classification has been added to an entity.
        Specified by:
        processClassifiedEntityEvent in interface OMRSInstanceEventProcessorClassificationExtension
        Overrides:
        processClassifiedEntityEvent in class OMRSInstanceEventProcessor
        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 - proxy of the entity with the new classification added. No guarantee this is all the classifications.
        classification - new classification
      • processDeclassifiedEntityEvent

        public void processDeclassifiedEntityEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification)
        A classification has been removed from an entity.
        Specified by:
        processDeclassifiedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Overrides:
        processDeclassifiedEntityEvent in class OMRSInstanceEventProcessor
        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. No guarantee this is all the classifications.
        originalClassification - classification that was removed
      • processDeclassifiedEntityEvent

        public void processDeclassifiedEntityEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification)
        A classification has been removed from an entity.
        Specified by:
        processDeclassifiedEntityEvent in interface OMRSInstanceEventProcessorClassificationExtension
        Overrides:
        processDeclassifiedEntityEvent in class OMRSInstanceEventProcessor
        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 - proxy of the entity after the classification has been removed. No guarantee this is all the classifications.
        originalClassification - classification that was removed
      • processReclassifiedEntityEvent

        public void processReclassifiedEntityEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
        An existing classification has been changed on an entity.
        Specified by:
        processReclassifiedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Overrides:
        processReclassifiedEntityEvent in class OMRSInstanceEventProcessor
        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. No guarantee this is all the classifications.
        originalClassification - classification that was removed
        classification - new classification
      • processReclassifiedEntityEvent

        public void processReclassifiedEntityEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityProxy entity,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification originalClassification,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Classification classification)
        An existing classification has been changed on an entity.
        Specified by:
        processReclassifiedEntityEvent in interface OMRSInstanceEventProcessorClassificationExtension
        Overrides:
        processReclassifiedEntityEvent in class OMRSInstanceEventProcessor
        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 - proxy of the entity after the classification has been changed. No guarantee this is all the classifications.
        originalClassification - classification that was removed
        classification - new classification
      • processDeletedEntityEvent

        public void processDeletedEntityEvent​(java.lang.String sourceName,
                                              java.lang.String originatorMetadataCollectionId,
                                              java.lang.String originatorServerName,
                                              java.lang.String originatorServerType,
                                              java.lang.String originatorOrganizationName,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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.

        Details of the TypeDef are included with the entity's unique id (guid) to ensure the right entity is deleted in the remote repositories.

        Specified by:
        processDeletedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processDeletedEntityEvent in class OMRSInstanceEventProcessor
        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
      • processPurgedEntityEvent

        public void processPurgedEntityEvent​(java.lang.String sourceName,
                                             java.lang.String originatorMetadataCollectionId,
                                             java.lang.String originatorServerName,
                                             java.lang.String originatorServerType,
                                             java.lang.String originatorOrganizationName,
                                             org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
        An entity has been permanently removed from the repository. This request can not be undone.
        Specified by:
        processPurgedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Overrides:
        processPurgedEntityEvent in class OMRSInstanceEventProcessor
        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.
      • processPurgedEntityEvent

        public void processPurgedEntityEvent​(java.lang.String sourceName,
                                             java.lang.String originatorMetadataCollectionId,
                                             java.lang.String originatorServerName,
                                             java.lang.String originatorServerType,
                                             java.lang.String originatorOrganizationName,
                                             java.lang.String typeDefGUID,
                                             java.lang.String typeDefName,
                                             java.lang.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:
        processPurgedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processPurgedEntityEvent in class OMRSInstanceEventProcessor
        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
      • processRestoredEntityEvent

        public void processRestoredEntityEvent​(java.lang.String sourceName,
                                               java.lang.String originatorMetadataCollectionId,
                                               java.lang.String originatorServerName,
                                               java.lang.String originatorServerType,
                                               java.lang.String originatorOrganizationName,
                                               org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
        A deleted entity has been restored to the state it was before it was deleted.
        Specified by:
        processRestoredEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processRestoredEntityEvent in class OMRSInstanceEventProcessor
        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.
      • processReIdentifiedEntityEvent

        public void processReIdentifiedEntityEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   java.lang.String originalEntityGUID,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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:
        processReIdentifiedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processReIdentifiedEntityEvent in class OMRSInstanceEventProcessor
        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.
      • processReTypedEntityEvent

        public void processReTypedEntityEvent​(java.lang.String sourceName,
                                              java.lang.String originatorMetadataCollectionId,
                                              java.lang.String originatorServerName,
                                              java.lang.String originatorServerType,
                                              java.lang.String originatorOrganizationName,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary originalTypeDefSummary,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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:
        processReTypedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processReTypedEntityEvent in class OMRSInstanceEventProcessor
        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 entity's TypeDef.
        entity - new values for this entity, including the new type information.
      • processReHomedEntityEvent

        public void processReHomedEntityEvent​(java.lang.String sourceName,
                                              java.lang.String originatorMetadataCollectionId,
                                              java.lang.String originatorServerName,
                                              java.lang.String originatorServerType,
                                              java.lang.String originatorOrganizationName,
                                              java.lang.String originalHomeMetadataCollectionId,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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 cluster.
        Specified by:
        processReHomedEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processReHomedEntityEvent in class OMRSInstanceEventProcessor
        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.
      • processRefreshEntityRequested

        public void processRefreshEntityRequested​(java.lang.String sourceName,
                                                  java.lang.String originatorMetadataCollectionId,
                                                  java.lang.String originatorServerName,
                                                  java.lang.String originatorServerType,
                                                  java.lang.String originatorOrganizationName,
                                                  java.lang.String typeDefGUID,
                                                  java.lang.String typeDefName,
                                                  java.lang.String instanceGUID,
                                                  java.lang.String homeMetadataCollectionId)
        The remote repository is requesting that an entity from this repository's metadata collection is refreshed so the remote repository can create a reference copy.
        Specified by:
        processRefreshEntityRequested in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processRefreshEntityRequested in class OMRSInstanceEventProcessor
        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.
      • processRefreshEntityEvent

        public void processRefreshEntityEvent​(java.lang.String sourceName,
                                              java.lang.String originatorMetadataCollectionId,
                                              java.lang.String originatorServerName,
                                              java.lang.String originatorServerType,
                                              java.lang.String originatorOrganizationName,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail entity)
        A remote repository in the cohort has sent entity details in response to a refresh request.
        Specified by:
        processRefreshEntityEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processRefreshEntityEvent in class OMRSInstanceEventProcessor
        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
      • processNewRelationshipEvent

        public void processNewRelationshipEvent​(java.lang.String sourceName,
                                                java.lang.String originatorMetadataCollectionId,
                                                java.lang.String originatorServerName,
                                                java.lang.String originatorServerType,
                                                java.lang.String originatorOrganizationName,
                                                org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
        A new relationship has been created either in a remote cohort member or loaded via an open metadata archive. This method saves the relationship in the local repository if the rules allow and/or replicates it to other cohort members if this repository is responsible for replication.
        Specified by:
        processNewRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processNewRelationshipEvent in class OMRSInstanceEventProcessor
        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
      • processUpdatedRelationshipEvent

        public void processUpdatedRelationshipEvent​(java.lang.String sourceName,
                                                    java.lang.String originatorMetadataCollectionId,
                                                    java.lang.String originatorServerName,
                                                    java.lang.String originatorServerType,
                                                    java.lang.String originatorOrganizationName,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship oldRelationship,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship newRelationship)
        An existing relationship has been updated either in a remote cohort member or loaded via an open metadata archive. This method saves the new relationship in the local repository if the rules allow and/or replicates it to other cohort members if this repository is responsible for replication.
        Specified by:
        processUpdatedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processUpdatedRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processUndoneRelationshipEvent

        public void processUndoneRelationshipEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
        An update to a relationship has been undone.
        Specified by:
        processUndoneRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processUndoneRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processDeletedRelationshipEvent

        public void processDeletedRelationshipEvent​(java.lang.String sourceName,
                                                    java.lang.String originatorMetadataCollectionId,
                                                    java.lang.String originatorServerName,
                                                    java.lang.String originatorServerType,
                                                    java.lang.String originatorOrganizationName,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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.

        Details of the TypeDef are included with the relationship's unique id (guid) to ensure the right relationship is deleted in the remote repositories.

        Specified by:
        processDeletedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processDeletedRelationshipEvent in class OMRSInstanceEventProcessor
        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
      • processPurgedRelationshipEvent

        public void processPurgedRelationshipEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
        A relationship has been permanently removed from the repository. This request can not be undone.
        Specified by:
        processPurgedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Overrides:
        processPurgedRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processPurgedRelationshipEvent

        public void processPurgedRelationshipEvent​(java.lang.String sourceName,
                                                   java.lang.String originatorMetadataCollectionId,
                                                   java.lang.String originatorServerName,
                                                   java.lang.String originatorServerType,
                                                   java.lang.String originatorOrganizationName,
                                                   java.lang.String typeDefGUID,
                                                   java.lang.String typeDefName,
                                                   java.lang.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:
        processPurgedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processPurgedRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processRestoredRelationshipEvent

        public void processRestoredRelationshipEvent​(java.lang.String sourceName,
                                                     java.lang.String originatorMetadataCollectionId,
                                                     java.lang.String originatorServerName,
                                                     java.lang.String originatorServerType,
                                                     java.lang.String originatorOrganizationName,
                                                     org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
        A deleted relationship has been restored to the state it was before it was deleted.
        Specified by:
        processRestoredRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processRestoredRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processReIdentifiedRelationshipEvent

        public void processReIdentifiedRelationshipEvent​(java.lang.String sourceName,
                                                         java.lang.String originatorMetadataCollectionId,
                                                         java.lang.String originatorServerName,
                                                         java.lang.String originatorServerType,
                                                         java.lang.String originatorOrganizationName,
                                                         java.lang.String originalRelationshipGUID,
                                                         org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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:
        processReIdentifiedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processReIdentifiedRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processReTypedRelationshipEvent

        public void processReTypedRelationshipEvent​(java.lang.String sourceName,
                                                    java.lang.String originatorMetadataCollectionId,
                                                    java.lang.String originatorServerName,
                                                    java.lang.String originatorServerType,
                                                    java.lang.String originatorOrganizationName,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary originalTypeDefSummary,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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:
        processReTypedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processReTypedRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processReHomedRelationshipEvent

        public void processReHomedRelationshipEvent​(java.lang.String sourceName,
                                                    java.lang.String originatorMetadataCollectionId,
                                                    java.lang.String originatorServerName,
                                                    java.lang.String originatorServerType,
                                                    java.lang.String originatorOrganizationName,
                                                    java.lang.String originalHomeMetadataCollection,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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 cluster.
        Specified by:
        processReHomedRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processReHomedRelationshipEvent in class OMRSInstanceEventProcessor
        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.
      • processRefreshRelationshipRequest

        public void processRefreshRelationshipRequest​(java.lang.String sourceName,
                                                      java.lang.String originatorMetadataCollectionId,
                                                      java.lang.String originatorServerName,
                                                      java.lang.String originatorServerType,
                                                      java.lang.String originatorOrganizationName,
                                                      java.lang.String typeDefGUID,
                                                      java.lang.String typeDefName,
                                                      java.lang.String instanceGUID,
                                                      java.lang.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:
        processRefreshRelationshipRequest in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processRefreshRelationshipRequest in class OMRSInstanceEventProcessor
        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.
      • processRefreshRelationshipEvent

        public void processRefreshRelationshipEvent​(java.lang.String sourceName,
                                                    java.lang.String originatorMetadataCollectionId,
                                                    java.lang.String originatorServerName,
                                                    java.lang.String originatorServerType,
                                                    java.lang.String originatorOrganizationName,
                                                    org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship relationship)
        The local repository is refreshing the information about a relationship for the other repositories in the cohort.
        Specified by:
        processRefreshRelationshipEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processRefreshRelationshipEvent in class OMRSInstanceEventProcessor
        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
      • processInstanceBatchEvent

        public void processInstanceBatchEvent​(java.lang.String sourceName,
                                              java.lang.String originatorMetadataCollectionId,
                                              java.lang.String originatorServerName,
                                              java.lang.String originatorServerType,
                                              java.lang.String originatorOrganizationName,
                                              org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.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:
        processInstanceBatchEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processInstanceBatchEvent in class OMRSInstanceEventProcessor
        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.
      • processConflictingInstancesEvent

        public void processConflictingInstancesEvent​(java.lang.String sourceName,
                                                     java.lang.String originatorMetadataCollectionId,
                                                     java.lang.String originatorServerName,
                                                     java.lang.String originatorServerType,
                                                     java.lang.String originatorOrganizationName,
                                                     java.lang.String targetMetadataCollectionId,
                                                     org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary targetTypeDefSummary,
                                                     java.lang.String targetInstanceGUID,
                                                     java.lang.String otherMetadataCollectionId,
                                                     org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.InstanceProvenanceType otherOrigin,
                                                     org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary otherTypeDefSummary,
                                                     java.lang.String otherInstanceGUID,
                                                     java.lang.String errorMessage)
        An open metadata 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 collections within the cohort. When this occurs, all repositories in the cohort delete their reference copies of the metadata instances and at least one of the instances has its GUID changed in its respective home repository. The updated instance(s) are redistributed around the cohort.
        Specified by:
        processConflictingInstancesEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processConflictingInstancesEvent in class OMRSInstanceEventProcessor
        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
        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.
      • processConflictingTypeEvent

        public void processConflictingTypeEvent​(java.lang.String sourceName,
                                                java.lang.String originatorMetadataCollectionId,
                                                java.lang.String originatorServerName,
                                                java.lang.String originatorServerType,
                                                java.lang.String originatorOrganizationName,
                                                java.lang.String targetMetadataCollectionId,
                                                org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary targetTypeDefSummary,
                                                java.lang.String targetInstanceGUID,
                                                org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.typedefs.TypeDefSummary otherTypeDefSummary,
                                                java.lang.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:
        processConflictingTypeEvent in interface OMRSInstanceEventProcessorInterface
        Specified by:
        processConflictingTypeEvent in class OMRSInstanceEventProcessor
        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 local copy of the instance's TypeDef
        errorMessage - description of the error.
      • processRetrievedEntitySummary

        public void processRetrievedEntitySummary​(java.lang.String sourceName,
                                                  java.lang.String metadataCollectionId,
                                                  org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntitySummary processedEntity)
        Pass an entity that has been retrieved from a remote open metadata repository so it can be validated and (if the rules permit) cached in the local repository.
        Specified by:
        processRetrievedEntitySummary in interface OMRSInstanceRetrievalEventProcessor
        Parameters:
        sourceName - name of the source of this event.
        metadataCollectionId - unique identifier for the metadata from the remote repository
        processedEntity - the retrieved entity.
      • processRetrievedEntityDetail

        public void processRetrievedEntityDetail​(java.lang.String sourceName,
                                                 java.lang.String metadataCollectionId,
                                                 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.EntityDetail processedEntity)
        Pass an entity that has been retrieved from a remote open metadata repository so it can be validated and (if the rules permit) cached in the local repository.
        Specified by:
        processRetrievedEntityDetail in interface OMRSInstanceRetrievalEventProcessor
        Parameters:
        sourceName - name of the source of this event.
        metadataCollectionId - unique identifier for the metadata from the remote repository
        processedEntity - the retrieved entity.
      • processRetrievedRelationship

        public void processRetrievedRelationship​(java.lang.String sourceName,
                                                 java.lang.String metadataCollectionId,
                                                 org.odpi.openmetadata.repositoryservices.connectors.stores.metadatacollectionstore.properties.instances.Relationship processedRelationship)
        Pass a relationship that has been retrieved from a remote open metadata repository so it can be validated and (if the rules permit) cached in the local repository.
        Specified by:
        processRetrievedRelationship in interface OMRSInstanceRetrievalEventProcessor
        Parameters:
        sourceName - name of the source of this event.
        metadataCollectionId - unique identifier for the metadata from the remote repository
        processedRelationship - the retrieved relationship