[midPoint-git] [Evolveum/midpoint] 84972f: Smart Integration: Introduce FilterValidationExcep...

Michal Zelenčík noreply at github.com
Thu Feb 19 14:45:40 CET 2026


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 84972fb8d9d5ac2d839df5c49215ab7cfd4d386c
      https://github.com/Evolveum/midpoint/commit/84972fb8d9d5ac2d839df5c49215ab7cfd4d386c
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperation.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/FilterValidationException.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ObjectTypeFiltersValidator.java

  Log Message:
  -----------
  Smart Integration: Introduce FilterValidationException for object type filter validation

Add custom FilterValidationException to handle filter validation failures
during object type suggestion operations. This exception wraps underlying
errors when suggested filters cannot be executed on the resource.

Changes:
- Add FilterValidationException in scoring package
- Update ObjectTypeFiltersValidator to throw FilterValidationException
  from both testObjectTypeFilter and testBaseContextFilter methods
- Catch FilterValidationException in ObjectTypesSuggestionOperation

Signed-off-by: Michal Zelencik <michal.zelencik at evolveum.com>


  Commit: 57b0ff1fee79968096d4930296ae1640117c1de6
      https://github.com/Evolveum/midpoint/commit/57b0ff1fee79968096d4930296ae1640117c1de6
  Author: Michal Zelencik <michal.zelencik at evolveum.com>
  Date:   2026-02-19 (Thu, 19 Feb 2026)

  Changed paths:
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/ObjectTypesSuggestionOperation.java
    A model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/FilterValidationException.java
    M model/smart-impl/src/main/java/com/evolveum/midpoint/smart/impl/scoring/ObjectTypeFiltersValidator.java

  Log Message:
  -----------
  Merge branch 'fix/object-type-suggestion-exception-handling'


Compare: https://github.com/Evolveum/midpoint/compare/2e496ec39ee0...57b0ff1fee79

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list