Skip to content

Feature: Eventbridge v2: Add connection for api endpoint#15

Open
lizard-boy wants to merge 11 commits intomasterfrom
feature/eventbridge_v2-add-connection-for-api-endpoint
Open

Feature: Eventbridge v2: Add connection for api endpoint#15
lizard-boy wants to merge 11 commits intomasterfrom
feature/eventbridge_v2-add-connection-for-api-endpoint

Conversation

@lizard-boy
Copy link
Copy Markdown

Motivation

Changes

Copy link
Copy Markdown

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Summary

This pull request adds significant functionality and tests for EventBridge V2 connections, focusing on API endpoints. Here are the key changes:

  • Introduced new tests for EventBridge connections, covering creation, listing, describing, updating, and deleting with various authentication types (BASIC, OAUTH_CLIENT_CREDENTIALS, API_KEY).
  • Added a new fixture events_create_connection in conftest.py to simplify connection testing.
  • Implemented a helper function events_connection_wait_for_deleted to ensure proper cleanup of connections during tests.
  • Reorganized and expanded test coverage for EventBridge targets, moving integration tests to a dedicated file (test_events_targets.py).
  • Added a new test case for ignoring schedules in put_events operations, currently skipped for V2 provider.

13 file(s) reviewed, 1 comment(s)
Edit PR Review Bot Settings

len([e for e in events_after["events"] if "manually invoked" in e["message"]]) == 0
)

retry(check_invocation, sleep=5, retries=15)
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

style: Consider adjusting retry parameters if test is flaky

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