Skip to content

Feat: add taxonomy and term publish, unpublish, localize, and unlocalize support - #262

Open
reeshika-h wants to merge 1 commit into
developmentfrom
feat/DX-9676-taxonomy-publish
Open

Feat: add taxonomy and term publish, unpublish, localize, and unlocalize support#262
reeshika-h wants to merge 1 commit into
developmentfrom
feat/DX-9676-taxonomy-publish

Conversation

@reeshika-h

Copy link
Copy Markdown
Contributor

Summary

  • Adds Taxonomy.publish() / Taxonomy.unpublish() (POST /taxonomies/publish / /unpublish), closing the parity gap with the JS SDK per DX-9676
  • Adds Taxonomy.localize() / Taxonomy.unlocalize() and Terms.localize() / Terms.unlocalize() for locale-scoped taxonomy/term operations
  • branch header passthrough works via the existing generic addHeader() mechanism, no new parameter needed
  • All six methods were live-verified end-to-end against a real stack (not just request-shape assertions) — publish/unpublish return real job_ids, localize/unlocalize round-trip cleanly (201 Created / 204 No Content) with zero residual changes to real data

Test plan

  • mvn clean testUnitTestSuite: 245 tests, 0 failures; APISanityTestSuite: 219 tests, 0 failures
  • Live-verified publish/unpublish against a real taxonomy (200, real job_id)
  • Live-verified localize/unlocalize at both taxonomy and term level (create → 201, delete → 204, restore confirmed via fetch)
  • Fixed a pre-existing gap where TaxonomyTest.java (package-private) was never wired into UnitTestSuite and so never ran under mvn test

Out of scope

  • Term-level localize/unlocalize was added per follow-up request but is not yet covered in the original DX-9674 TRD text — flagging for TRD update if needed
  • Python/.NET/JS parity fixes from the TRD are not part of this PR (Java-only)

🤖 Generated with Claude Code

…ize support

Closes the parity gap with the JS SDK per DX-9676 by adding CMA taxonomy
publish/unpublish and taxonomy/term-level localize/unlocalize methods,
each live-verified against a real stack.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
@reeshika-h
reeshika-h requested a review from a team as a code owner July 28, 2026 06:09
@github-actions

Copy link
Copy Markdown

🔒 Security Scan Results

ℹ️ Note: Only vulnerabilities with available fixes (upgrades or patches) are counted toward thresholds.

Check Type Count (with fixes) Without fixes Threshold Result
🔴 Critical Severity 0 0 10 ✅ Passed
🟠 High Severity 0 0 25 ✅ Passed
🟡 Medium Severity 0 0 500 ✅ Passed
🔵 Low Severity 0 0 1000 ✅ Passed

⏱️ SLA Breach Summary

✅ No SLA breaches detected. All vulnerabilities are within acceptable time thresholds.

Severity Breaches (with fixes) Breaches (no fixes) SLA Threshold (with/no fixes) Status
🔴 Critical 0 0 15 / 30 days ✅ Passed
🟠 High 0 0 30 / 120 days ✅ Passed
🟡 Medium 0 0 90 / 365 days ✅ Passed
🔵 Low 0 0 180 / 365 days ✅ Passed

✅ BUILD PASSED - All security checks passed

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