[midPoint-git] [Evolveum/midpoint] 63accb: MID-7602: Ninja Fixed dead-lock on parsing object ...

Tony Tkáčik noreply at github.com
Tue Jan 25 17:12:52 CET 2022


  Branch: refs/heads/support-4.4
  Home:   https://github.com/Evolveum/midpoint
  Commit: 63accb4dec1818b34ae7e44f03a952de1f0aff0e
      https://github.com/Evolveum/midpoint/commit/63accb4dec1818b34ae7e44f03a952de1f0aff0e
  Author: Tony Tkacik <tonydamage at gmail.com>
  Date:   2022-01-25 (Tue, 25 Jan 2022)

  Changed paths:
    M infra/common/src/main/java/com/evolveum/midpoint/common/validator/EventHandler.java
    M infra/common/src/main/java/com/evolveum/midpoint/common/validator/LegacyValidator.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/ImportRepositoryAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/audit/ImportAuditRepositoryAction.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/action/worker/ImportProducerWorker.java
    M tools/ninja/src/main/java/com/evolveum/midpoint/ninja/opts/ImportOptions.java
    M tools/ninja/src/main/resources/messages.properties

  Log Message:
  -----------
  MID-7602: Ninja Fixed dead-lock on parsing object with uknown schema

Reworked error handling during parsing import data to support 2 modes:
  - fail fast: throws exception to stop parsing and stops consumers
  - continue on errors - skips broken object, continues with importing follow up objects.

All errors are properly logs.

Mode is configurable using new parameter --continueOnInputError




More information about the midPoint-svn mailing list