1
0
mirror of synced 2025-12-25 02:09:19 -05:00
Files
airbyte/airbyte-integrations/connectors/source-file

Testing Source File

This integration

Necessary Credentials for tests

In order to run integrations tests in this connector, you need to:

  1. Testing Google Cloud Service Storage

    1. Download and store your Google Service Account JSON file in secrets/gcs.json, it should look something like this:
      {
          "type": "service_account",
          "project_id": "XXXXXXX",
          "private_key_id": "XXXXXXXX",
          "private_key": "-----BEGIN PRIVATE KEY-----\nXXXXXXXXXX\n-----END PRIVATE KEY-----\n",
          "client_email": "XXXXX@XXXXXX.iam.gserviceaccount.com",
          "client_id": "XXXXXXXXX",
          "auth_uri": "https://accounts.google.com/o/oauth2/auth",
          "token_uri": "https://oauth2.googleapis.com/token",
          "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",
          "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/XXXXXXX0XXXXXX.iam.gserviceaccount.com"
      }
      
      
    2. Your Service Account should have Storage Admin Rights (to create Buckets, read and store files in GCS)
  2. Testing Amazon S3

    1. Create a file at secrets/aws.json
       {
           "aws_access_key_id": "XXXXXXX",
           "aws_secret_access_key": "XXXXXXX"
       }