Skip to content

feat: Add dynamic endpoint resolution and region management#246

Draft
reeshika-h wants to merge 1 commit into
developmentfrom
enh/DX-7276-endpoint-integration
Draft

feat: Add dynamic endpoint resolution and region management#246
reeshika-h wants to merge 1 commit into
developmentfrom
enh/DX-7276-endpoint-integration

Conversation

@reeshika-h
Copy link
Copy Markdown
Contributor

  • Introduced dynamic endpoint resolution via Endpoint.getContentstackEndpoint()
  • Added convenience method Contentstack.Builder.setRegion(String) for region targeting
  • Implemented static proxy methods for ad-hoc URL resolution in Contentstack
  • Added Contentstack.refreshRegions() to refresh regions registry from live source
  • Bundled regions.json in JAR and auto-refreshed during build
  • Added public accessors Contentstack.getHost() and Contentstack.getBaseUrl()
  • Created Endpoint class to manage endpoint resolution and caching
  • Implemented tests for endpoint resolution and region management

- Introduced dynamic endpoint resolution via `Endpoint.getContentstackEndpoint()`
- Added convenience method `Contentstack.Builder.setRegion(String)` for region targeting
- Implemented static proxy methods for ad-hoc URL resolution in `Contentstack`
- Added `Contentstack.refreshRegions()` to refresh regions registry from live source
- Bundled `regions.json` in JAR and auto-refreshed during build
- Added public accessors `Contentstack.getHost()` and `Contentstack.getBaseUrl()`
- Created `Endpoint` class to manage endpoint resolution and caching
- Implemented tests for endpoint resolution and region management
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Jun 5, 2026

🔒 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