Skip to content

Feat: Variants Utility#124

Draft
reeshika-h wants to merge 3 commits intodevelopmentfrom
feat/DX-5409-variant-utility
Draft

Feat: Variants Utility#124
reeshika-h wants to merge 3 commits intodevelopmentfrom
feat/DX-5409-variant-utility

Conversation

@reeshika-h
Copy link
Contributor

@reeshika-h reeshika-h commented Mar 17, 2026

  • Variant aliases API – Added Utils.getVariantAliases() and Utils.getDataCsvariantsAttribute() for single entry (JSONObject) and multiple entries (JSONArray). They read publish_details.variants and return entry UID, content type UID, and variant alias list (and data-csvariants JSON string).
  • Added new test cases in UtilTests.java for variant alias functionality.
  • Introduced new JSON resource files for testing variant entries.
  • Refactored comments in Utils.java for better readability.

harshitha-cstk
harshitha-cstk previously approved these changes Mar 18, 2026
Copy link

@harshitha-cstk harshitha-cstk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

sunil-lakshman
sunil-lakshman previously approved these changes Mar 18, 2026
Copy link

@sunil-lakshman sunil-lakshman left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

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.

3 participants