[midPoint-git] [Evolveum/midpoint] a01540: Fix null values handling in DummyObject (approx.)

mederly noreply at github.com
Tue May 4 13:11:38 CEST 2021


  Branch: refs/heads/support-4.2
  Home:   https://github.com/Evolveum/midpoint
  Commit: a0154096e9e670b745159a6011e5aa031bad28b4
      https://github.com/Evolveum/midpoint/commit/a0154096e9e670b745159a6011e5aa031bad28b4
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M icf-connectors/dummy-resource/src/main/java/com/evolveum/icf/dummy/resource/DummyObject.java

  Log Message:
  -----------
  Fix null values handling in DummyObject (approx.)

As the thread safety was ensured using ConcurrentHashMap
(and corresponding Set implementation), the null values can no
longer be stored in attributes. This is not a problem, as they
do not belong there anyway.

This commit filters out such values. Unfortunately, it does not do
that 100% consistently, so there are places (like sync delta creation)
where such values leak.

(cherry picked from commit b47e62935714670c0a02d8e577d5bcb29bd4806a)


  Commit: 37798d987f29514f08dc9056905f7287c8bb0cf9
      https://github.com/Evolveum/midpoint/commit/37798d987f29514f08dc9056905f7287c8bb0cf9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-05-04 (Tue, 04 May 2021)

  Changed paths:
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/OtherParameters.java
    M testing/story/src/test/java/com/evolveum/midpoint/testing/story/sysperf/TestSystemPerformance.java

  Log Message:
  -----------
  Improve TestSystemPerformance reporting

Also, temporarily disabled some asserts.

(cherry picked from commit f4ca24a865fb492c35c35028ce4ae981c2493f09)


Compare: https://github.com/Evolveum/midpoint/compare/73c184b8ccce...37798d987f29


More information about the midPoint-svn mailing list