Enum Class OpenLineageIntegrationConnectorAuditCode

java.lang.Object
java.lang.Enum<OpenLineageIntegrationConnectorAuditCode>
org.odpi.openmetadata.adapters.connectors.integration.openlineage.ffdc.OpenLineageIntegrationConnectorAuditCode
All Implemented Interfaces:
Serializable, Comparable<OpenLineageIntegrationConnectorAuditCode>, Constable, AuditLogMessageSet

public enum OpenLineageIntegrationConnectorAuditCode extends Enum<OpenLineageIntegrationConnectorAuditCode> implements AuditLogMessageSet
The OpenLineageIntegrationConnectorAuditCode is used to define the message content for the OMRS Audit Log. The 5 fields in the enum are:
  • Log Message Identifier - to uniquely identify the message
  • Severity - is this an event, decision, action, error or exception
  • Log Message Text - includes placeholder to allow additional values to be captured
  • Additional Information - further parameters and data relating to the audit message (optional)
  • SystemAction - describes the result of the situation
  • UserAction - describes how a user should correct the situation
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0026 - The {0} integration connector has applied the run events received since its last refresh to the RunMetrics and DataScope classifications of {1} elements
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0031 - The {0} integration connector has deleted {1} open lineage events, {2} runs, {3} data quality assertions and {4} tests recorded before {5} from database schema {6}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0030 - The {0} integration connector is storing open lineage events in database schema {1} of {2}; records older than {3} days are deleted on each refresh
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0032 - The {0} integration connector is not able to store open lineage events in catalog target {1} because {2}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0033 - The {0} integration connector was unable to store the {1} open lineage event for run {2} of job {3} in database schema {4}; the {5} exception message was: {6}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0025 - The {0} integration connector has removed asset {1} ({2}) using delete method {3} following open lineage {4}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0024 - The {0} integration connector has renamed asset {1} from {2} to {3} following open lineage {4}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0020 - The {0} integration connector has catalogued {1} {2} ({3}) from open lineage {4} {5}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0022 - The {0} integration connector is ignoring open lineage event {1} because {2}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0034 - The {0} integration connector is ignoring the value {1} of its daysToCleanUp configuration property because it is not a whole number of days that is zero or more
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0001 - The {0} integration connector has been initialized to monitor Apache Kafka topic {1} with connection: {2}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0021 - The {0} integration connector has added a {1} lineage relationship from {2} to {3}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-0023 - The {0} integration connector was unable to record {1} for open lineage event {2}; the {3} exception message was: {4}
    OPEN-LINEAGE-INTEGRATION-CONNECTOR-001 - The {0} integration connector received an unexpected {1} exception in method {2} when working with open lineage events; the error message was: {3}
  • Method Summary

    Modifier and Type
    Method
    Description
    Retrieve a message definition object for logging.
    Retrieve a message definition object for logging.
    JSON-style toString
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • KAFKA_RECEIVER_CONFIGURATION

      public static final OpenLineageIntegrationConnectorAuditCode KAFKA_RECEIVER_CONFIGURATION
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0001 - The {0} integration connector has been initialized to monitor Apache Kafka topic {1} with connection: {2}
    • UNEXPECTED_EXCEPTION

      public static final OpenLineageIntegrationConnectorAuditCode UNEXPECTED_EXCEPTION
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-001 - The {0} integration connector received an unexpected {1} exception in method {2} when working with open lineage events; the error message was: {3}
    • ELEMENT_CATALOGUED

      public static final OpenLineageIntegrationConnectorAuditCode ELEMENT_CATALOGUED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0020 - The {0} integration connector has catalogued {1} {2} ({3}) from open lineage {4} {5}
    • LINEAGE_CATALOGUED

      public static final OpenLineageIntegrationConnectorAuditCode LINEAGE_CATALOGUED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0021 - The {0} integration connector has added a {1} lineage relationship from {2} to {3}
    • EVENT_IGNORED

      public static final OpenLineageIntegrationConnectorAuditCode EVENT_IGNORED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0022 - The {0} integration connector is ignoring open lineage event {1} because {2}
    • DATASET_RENAMED

      public static final OpenLineageIntegrationConnectorAuditCode DATASET_RENAMED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0024 - The {0} integration connector has renamed asset {1} from {2} to {3} following open lineage {4}
    • DATASET_DROPPED

      public static final OpenLineageIntegrationConnectorAuditCode DATASET_DROPPED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0025 - The {0} integration connector has removed asset {1} ({2}) using delete method {3} following open lineage {4}
    • OPTIONAL_METADATA_FAILED

      public static final OpenLineageIntegrationConnectorAuditCode OPTIONAL_METADATA_FAILED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0023 - The {0} integration connector was unable to record {1} for open lineage event {2}; the {3} exception message was: {4}
    • CLASSIFICATIONS_WRITTEN

      public static final OpenLineageIntegrationConnectorAuditCode CLASSIFICATIONS_WRITTEN
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0026 - The {0} integration connector has applied the run events received since its last refresh to the RunMetrics and DataScope classifications of {1} elements
    • DATABASE_LOG_STORE_READY

      public static final OpenLineageIntegrationConnectorAuditCode DATABASE_LOG_STORE_READY
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0030 - The {0} integration connector is storing open lineage events in database schema {1} of {2}; records older than {3} days are deleted on each refresh
    • DATABASE_LOG_STORE_PURGED

      public static final OpenLineageIntegrationConnectorAuditCode DATABASE_LOG_STORE_PURGED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0031 - The {0} integration connector has deleted {1} open lineage events, {2} runs, {3} data quality assertions and {4} tests recorded before {5} from database schema {6}
    • DATABASE_LOG_STORE_UNUSABLE

      public static final OpenLineageIntegrationConnectorAuditCode DATABASE_LOG_STORE_UNUSABLE
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0032 - The {0} integration connector is not able to store open lineage events in catalog target {1} because {2}
    • DATABASE_LOG_STORE_WRITE_FAILED

      public static final OpenLineageIntegrationConnectorAuditCode DATABASE_LOG_STORE_WRITE_FAILED
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0033 - The {0} integration connector was unable to store the {1} open lineage event for run {2} of job {3} in database schema {4}; the {5} exception message was: {6}
    • INVALID_DAYS_TO_CLEAN_UP

      public static final OpenLineageIntegrationConnectorAuditCode INVALID_DAYS_TO_CLEAN_UP
      OPEN-LINEAGE-INTEGRATION-CONNECTOR-0034 - The {0} integration connector is ignoring the value {1} of its daysToCleanUp configuration property because it is not a whole number of days that is zero or more
  • Method Details

    • values

      public static OpenLineageIntegrationConnectorAuditCode[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static OpenLineageIntegrationConnectorAuditCode valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getMessageDefinition

      public AuditLogMessageDefinition getMessageDefinition()
      Retrieve a message definition object for logging. This method is used when there are no message inserts.
      Specified by:
      getMessageDefinition in interface AuditLogMessageSet
      Returns:
      message definition object.
    • getMessageDefinition

      public AuditLogMessageDefinition getMessageDefinition(String... params)
      Retrieve a message definition object for logging. This method is used when there are values to be inserted into the message.
      Specified by:
      getMessageDefinition in interface AuditLogMessageSet
      Parameters:
      params - array of parameters (all strings). They are inserted into the message according to the numbering in the message text.
      Returns:
      message definition object.
    • toString

      public String toString()
      JSON-style toString
      Overrides:
      toString in class Enum<OpenLineageIntegrationConnectorAuditCode>
      Returns:
      string of property names and values for this enum