Anonymous View
Skip to content

Feat:Add Contentstack endpoint resolution and caching mechanism#146

Draft
reeshika-h wants to merge 2 commits into
developmentfrom
feat/DX-7273-endpoint-integration
Draft

Feat:Add Contentstack endpoint resolution and caching mechanism#146
reeshika-h wants to merge 2 commits into
developmentfrom
feat/DX-7273-endpoint-integration

Conversation

@reeshika-h

Copy link
Copy Markdown
Contributor
  • Introduced ContentstackEndpoint for resolving API endpoints based on region and service without hardcoding.
  • Implemented in-memory and on-disk caching for region data to minimize network calls.
  • Added error handling for invalid regions and services.
  • Updated Contentstack struct to utilize the new endpoint resolution logic.
  • Created comprehensive unit tests for endpoint resolution, including alias handling and error cases.
  • Added DVR recordings for consistent testing of region data responses.

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.

2 participants