-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Core] Create webhooks only resync #1225
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!! left a few comments & questions
logger.debug( | ||
"Webhook only event listener is used, resync events are ignored" | ||
) | ||
return None |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we need this?
@@ -88,7 +92,11 @@ async def create_event_listener(self) -> BaseEventListener: | |||
config, OnceEventListenerSettings | |||
), assert_message.format(type(config)) | |||
event_listener = OnceEventListener(wrapped_events, config) | |||
|
|||
case "webhooks_only": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we manage those consts from one place?
Co-authored-by: Tom Tankilevitch <[email protected]>
Description
What - Added new event listener type- Webhooks only
Why - In order to enable 2 different integration types
How - Added new event listener without resync logic
Type of change
Please leave one option from the following and delete the rest:
All tests should be run against the port production environment(using a testing org).
Core testing checklist
Integration testing checklist
examples
folder in the integration directory.Preflight checklist
Screenshots
Include screenshots from your environment showing how the resources of the integration will look.
API Documentation
Provide links to the API documentation used for this integration.