#3499 test: Increased tap-dummyjson test record limit to exercise pagination
Pull request opened by
edgarrmondragon
• Partially extracted from
#3483
## Summary by Sourcery
Refine the DummyJSON tap authentication and HTTP behavior and expand its external test coverage to exercise pagination.
New Features:
• Introduce a dataclass-backed token model to manage access and refresh tokens with expiry tracking for the DummyJSON authenticator.
Enhancements:
• Refactor DummyJSONAuthenticator to integrate with the requests auth interface, use a cached HTTP session, and centralize token acquisition and refresh logic.
• Set a request timeout on the DummyJSON REST stream to make HTTP interactions more robust.
• Align type-override usage across the tap and authenticator for compatibility across Python versions.
Tests:
• Increase the DummyJSON tap test suite record limit to validate pagination behavior more thoroughly.
Chores:
• Check in HTTP cache artifacts used by the DummyJSON tap tests.
meltano/sdk