Documentation for a newer release is available. View Latest

Lista de eventos del sistema

La siguiente tabla documenta los eventos del sistema que puede generar Debulker. Los esquemas de payload están documentados como JSON Schema draft 4. Usa una herramienta como esta para una representación visual de los esquemas de payload.

Todos los eventos contienen información básica de nivel superior y un payload. La información de nivel superior se representa como miembros del tipo DebulkerSystemErrorEvent, y sus payloads se documentan a continuación.

El esquema para el tipo de nivel superior DebulkerSystemErrorEvent es el siguiente:

Top-level Schema
{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Debulker System Error Event",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "name" : {
      "type" : "string"
    },
    "level" : {
      "type" : "string",
      "enum" : [ "DEBUG", "INFO", "WARN", "ERROR" ]
    },
    "createdAt" : { },
    "version" : {
      "$ref" : "#/definitions/EventVersion"
    },
    "type" : {
      "type" : "string",
      "enum" : [ "TECHNICAL", "FUNCTIONAL" ]
    },
    "processingContext" : {
      "$ref" : "#/definitions/ProcessingContext"
    },
    "source" : {
      "type" : "string"
    },
    "metadata" : {
      "type" : "object",
      "additionalProperties" : {
        "type" : "string"
      }
    },
    "payload" : {
      "$ref" : "#/definitions/Object"
    },
    "reasonCode" : {
      "type" : "string"
    },
    "reasonDescription" : {
      "type" : "string"
    }
  },
  "definitions" : {
    "EventVersion" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "major" : {
          "type" : "integer"
        },
        "minor" : {
          "type" : "integer"
        },
        "patch" : {
          "type" : "integer"
        }
      },
      "required" : [ "major", "minor", "patch" ]
    },
    "ProcessingContext" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "associationId" : {
          "type" : "string"
        },
        "checkpoint" : {
          "type" : "string"
        },
        "unitOfWorkId" : {
          "type" : "string"
        },
        "clientRequestId" : {
          "type" : "string"
        },
        "processingEntity" : {
          "type" : "string"
        }
      }
    },
    "Object" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : { }
    }
  }
}

Eventos del sistema de Debulker

Name Description Type Level Payload schema

ComponentProcessingInitiationFailed

Publicado cuando ocurre un error durante la iniciación del procesamiento de componentes

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "configName" : {
      "type" : "string"
    },
    "bulkId" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    }
  }
}

ComponentStoreOperationFailed

Publicado cuando ocurre un error al intentar acceder al component store

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "operationType" : {
      "type" : "string",
      "enum" : [ "SAVE", "DELETE", "FIND" ]
    },
    "bulkId" : {
      "type" : "string"
    },
    "componentId" : {
      "type" : "string"
    },
    "parentId" : {
      "type" : "string"
    }
  }
}

DebulkingFailed

Publicado cuando falla la desagregación en componentes

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-4/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "description" : {
      "type" : "string"
    },
    "filename" : {
      "type" : "string"
    },
    "parsedComponentHierarchy" : {
      "type" : "array",
      "items" : {
        "type" : "string"
      }
    },
    "failedAtPath" : {
      "type" : "string"
    }
  }
}

DuplicateCheckFailed

Publicado cuando falla una verificación de duplicado

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "filePath" : {
      "type" : "string"
    }
  }
}

FileOperationFailed

Publicado cuando ocurre un error durante cualquier operación de archivo

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "filePath" : {
      "type" : "string"
    },
    "operation" : {
      "type" : "string",
      "enum" : [ "READ", "WRITE", "DELETE" ]
    },
    "step" : {
      "type" : "string"
    },
    "fileSystem" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    }
  }
}

SchemaValidationFailed

Publicado cuando ocurre un error durante la validación de esquema

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "filePath" : {
      "type" : "string"
    },
    "description" : {
      "type" : "string"
    }
  }
}

TransactionCacheOperationFailed

Publicado cuando ocurre un error con el almacenamiento en caché de transacciones durante la verificación de duplicados

FUNCTIONAL

ERROR

{
  "$schema" : "http://json-schema.org/draft-04/schema#",
  "title" : "Payload",
  "type" : "object",
  "additionalProperties" : false,
  "properties" : {
    "fileName" : {
      "type" : "string"
    },
    "contentHash" : {
      "type" : "string"
    }
  }
}