Skip to content
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

source-genesys: new connector #2136

Merged
merged 4 commits into from
Nov 12, 2024
Merged

source-genesys: new connector #2136

merged 4 commits into from
Nov 12, 2024

Commits on Nov 11, 2024

  1. estuary-cdk: support oauth2 client credentials grant type flow

    Currently, only the OAuth2 Authorization Code grant type flow is
    supported. Upcoming SaaS connectors require more flexibility & can use
    different OAuth2 grant type flows. For example, the Genesys connector
    needs a user-configured domain to perform authentication and get an
    access token. Our current OAuth2 framework only supports access token
    URLs that don't contain user-configured values, and adding that support
    would be a larger effort than we want to take on right now. With the
    Client Credentials grant type flow, we can inject a user-configured
    value in the access token URL at runtime to support this use case.
    Alex-Bair committed Nov 11, 2024
    Configuration menu
    Copy the full SHA
    38dff0c View commit details
    Browse the repository at this point in the history

Commits on Nov 12, 2024

  1. source-genesys: new connector

    This is a minimal connector for Genesys, containing just the `users`
    and `conversations` streams.
    
    `users` is a simple snapshot since there is no way to request updated
    users.
    
    `conversations` is incremental and leverage two different endpoints. A
    real-time endpoint is used to get created conversations incrementally.
    This real-time endpoint is not appropriate to get updates
    (we can only specify time ranges for created conversations), so we also
    attempt to use the delayed, asynchronous analytics job endpoint to get
    conversations that have ended in the last day. This is not meant to
    capture all ended conversations as there are scenarios where we would
    miss capturing these updates (ex: no conversations are created for a
    while but conversations are ended), and a backfill will be required to
    fully capture all ended conversations.
    Alex-Bair committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    20f5a23 View commit details
    Browse the repository at this point in the history
  2. source-genesys: only use the jobs endpoint for retrieving conversations

    The code for retrieving conversations in real-time from the query
    endpoint is left in the previous commit in case we want to add this
    functionality later when the CDK has the capability to have a delayed
    stream / a second cursor.
    Alex-Bair committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    0e1b88a View commit details
    Browse the repository at this point in the history
  3. source-genesys: add to CI

    Alex-Bair committed Nov 12, 2024
    Configuration menu
    Copy the full SHA
    58deca8 View commit details
    Browse the repository at this point in the history