Skip to content

refactor: Delegate MappingService to OpenRegister's mapping engine - #671

Merged
rubenvdlinde merged 1 commit into
developmentfrom
feature/zgw-mapping-delegation
Mar 13, 2026
Merged

refactor: Delegate MappingService to OpenRegister's mapping engine#671
rubenvdlinde merged 1 commit into
developmentfrom
feature/zgw-mapping-delegation

Conversation

@rubenvdlinde

Copy link
Copy Markdown
Contributor

Summary

  • Refactored MappingService::executeMapping() to delegate to OpenRegister's MappingService instead of maintaining a local Twig-based mapping engine
  • Reduces code duplication — OpenRegister is the single source of truth for mapping logic
  • Part of the ZGW API mapping implementation across OpenRegister, Procest, and OpenConnector

Test plan

  • Verify existing mapping functionality still works (OpenConnector mappings route through OpenRegister)
  • Verify no regressions in synchronization flows that use MappingService

🤖 Generated with Claude Code

Add fallback logging when OpenRegister MappingService is not available.
OpenConnector now depends on OpenRegister for mapping functionality.
@rubenvdlinde
rubenvdlinde merged commit 7855a34 into development Mar 13, 2026
2 of 10 checks passed
@rubenvdlinde
rubenvdlinde deleted the feature/zgw-mapping-delegation branch May 22, 2026 12:55
@rubenvdlinde
rubenvdlinde restored the feature/zgw-mapping-delegation branch May 28, 2026 22:03
@rubenvdlinde
rubenvdlinde deleted the feature/zgw-mapping-delegation branch August 14, 2026 09:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant