Skip to content

Comments

feat: add media governance config methods and category constants#97

Open
saurabhjain1592 wants to merge 4 commits intomainfrom
feat/v3.6.0-media-governance
Open

feat: add media governance config methods and category constants#97
saurabhjain1592 wants to merge 4 commits intomainfrom
feat/v3.6.0-media-governance

Conversation

@saurabhjain1592
Copy link
Member

Summary

  • getMediaGovernanceConfig() — retrieve tenant's media governance configuration
  • updateMediaGovernanceConfig() — update config (Enterprise: full control, Community/Eval: toggle only)
  • getMediaGovernanceStatus() — check feature availability per tier
  • 4 category constants: CATEGORY_MEDIA_SAFETY, CATEGORY_MEDIA_BIOMETRIC, CATEGORY_MEDIA_DOCUMENT, CATEGORY_MEDIA_PII
  • Version bump: 3.4.0 → 3.6.0

Part of SDK v3.6.0 release for AxonFlow v4.5.0 media governance hardening.

Test plan

  • E2E tested: media-governance-policies/java example passes all 7 tests
  • E2E tested: media-governance/java example passes all 5 tests

- getMediaGovernanceConfig() — retrieve tenant's media governance config
- updateMediaGovernanceConfig() — update config (Enterprise: full, Community/Eval: toggle)
- getMediaGovernanceStatus() — check feature availability per tier
- Category constants: CATEGORY_MEDIA_SAFETY, CATEGORY_MEDIA_BIOMETRIC, CATEGORY_MEDIA_DOCUMENT, CATEGORY_MEDIA_PII
- Version bump: 3.4.0 → 3.6.0
Add MEDIA_SAFETY, MEDIA_BIOMETRIC, MEDIA_PII, MEDIA_DOCUMENT enum
members to prevent Jackson deserialization crash when server returns
policies with media-* categories. Add v3.6.0 CHANGELOG entry.
Add tests for MediaGovernanceConfig, MediaGovernanceStatus,
UpdateMediaGovernanceConfigRequest types and their JSON
serialization. Add WireMock-based tests for getMediaGovernanceConfig,
updateMediaGovernanceConfig, and getMediaGovernanceStatus API methods
including async variants. Add coverage for media policy category
constants and enum values. Brings line coverage from 0.72 to above
the 0.73 threshold required by JaCoCo.
@saurabhjain1592 saurabhjain1592 force-pushed the feat/v3.6.0-media-governance branch from b8b1013 to 8923886 Compare February 21, 2026 22:31
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