Skip to content

Connectors

A monorepo of data connectors that import store data from third-party sources into Woosmap.

Overview

Each connector lives in its own directory at the repo root and is a standalone Python application packaged as an AWS Lambda container image. Connectors are discovered automatically by CI: drop a folder with a pyproject.toml and .github/workflows/deploy-aws.yml picks it up.

AWS infrastructure (ECR repos, Lambda functions, Secrets Manager containers, EventBridge schedules) is defined in the operations repo under tf-infrastructure/woos-connectors/.

Architecture

graph LR
    SF[Upstream API] -->|HTTPS| C[Connector]
    C -->|API| W[Woosmap]
    EB[EventBridge Scheduler] -->|Cron| L[Lambda]
    L --> C
    SM[AWS Secrets Manager] -->|Credentials| C

Adding a new connector

  1. Create a directory at the repo root with a pyproject.toml.
  2. Add a test.sh script that runs your checks.
  3. Coordinate with operations to provision the ECR repo, Lambda, Secrets Manager container and EventBridge schedule.
  4. Push to master, and CI builds the image + rolls the dev Lambda; prod stays on manual workflow_dispatch.