Skip to content

NXENG-1002: add cic-governance module - #32

Closed
kevinleturc wants to merge 2 commits into
mainfrom
task-NXENG-1002-cic-governance-module
Closed

kevinleturc wants to merge 2 commits into
mainfrom
task-NXENG-1002-cic-governance-module

Conversation

@kevinleturc

Copy link
Copy Markdown
Contributor

Summary

Adds a new cic-governance SDK module to support integrating with the CIC Governance API, starting with POST /api/records/event.

Modeled on the cic-ingest module's structure:

  • ContentEvent/ContentEventData object model (CloudEvents-shaped envelope, per the CIC Governance OpenAPI spec)
  • ContentEventMapper/ContentEventDataMapper + GovernanceMapperFactory SPI registration
  • GovernanceHttpClient/GovernanceService to post content events
  • Unit tests for mapping and service behavior

Part of the Nuxeo / CIC Governance integration workshop tracked in NXENG-1002.

Testing

  • mvn test -pl cic-governance -am — 4 tests passing

@kevinleturc
kevinleturc force-pushed the task-NXENG-1002-cic-governance-module branch 4 times, most recently from fd8d453 to 8ba4dc0 Compare October 6, 2026 10:51
@kevinleturc
kevinleturc changed the base branch from main to task-NXENG-1002-agents-md October 6, 2026 10:51
Document module layout, build/format/test commands, and the design
conventions distilled from past PR review history (mapper hierarchy,
typed contracts over Object, record/Optional/Duration usage, public API
collection immutability, no customer names, Git LFS fixtures, etc.) to
guide AI coding agents working in this repository.
@kevinleturc
kevinleturc force-pushed the task-NXENG-1002-agents-md branch from 756e79b to 6340f59 Compare October 6, 2026 11:26
@kevinleturc
kevinleturc force-pushed the task-NXENG-1002-cic-governance-module branch from 8ba4dc0 to 6a7af2d Compare October 6, 2026 11:29
@kevinleturc
kevinleturc force-pushed the task-NXENG-1002-cic-governance-module branch from 7115f4f to 1f90b88 Compare October 6, 2026 11:36
Base automatically changed from task-NXENG-1002-agents-md to main October 6, 2026 15:06
@kevinleturc kevinleturc closed this Oct 9, 2026
@kevinleturc
kevinleturc deleted the task-NXENG-1002-cic-governance-module branch October 9, 2026 15:08
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