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

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


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 1d9ae25753c98195119640b457280ceea02030dd
      https://github.com/Evolveum/midpoint/commit/1d9ae25753c98195119640b457280ceea02030dd
  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