Skip to content

Adapt Bar Connector from API Template - #116

Merged
adeutscher merged 18 commits into
developfrom
issue/115/rate-limit-aware-bar-connector
Sep 3, 2026
Merged

Adapt Bar Connector from API Template#116
adeutscher merged 18 commits into
developfrom
issue/115/rate-limit-aware-bar-connector

Conversation

@adeutscher

Copy link
Copy Markdown
Owner

Main changes:

  • Add an adaptation of the Bar connector from the API template. Like with the API template, Bar is a stand-in for an OAuth-protected API service.
  • This adaptation of the Bar connector indefinitely respects reasons to wait such as an HTTP 429 response.
  • Local testing now include wiremock-bar service and associated resources.
  • Bar Connector is described further in docs/bar-connector.md.

Other changes:

  • Standardize environment variables described in test/local/readme.md
  • Set cursor rules to standardize output.

Tests run:

  • Job logic runner respects configurable access to Bar connector.
  • Job logic runner successfully makes a standard call to Bar connector.
  • When a sleep time of 429 is provided, the job logic runner respects the resulting HTTP 429 returned by WireMock

@adeutscher adeutscher self-assigned this Sep 3, 2026
@adeutscher adeutscher added the enhancement New feature or request label Sep 3, 2026
@adeutscher adeutscher linked an issue Sep 3, 2026 that may be closed by this pull request
@adeutscher
adeutscher merged commit 11a64c1 into develop Sep 3, 2026
1 check passed
@adeutscher
adeutscher deleted the issue/115/rate-limit-aware-bar-connector branch September 3, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API client sample that respects rate limits

1 participant