feat(ingest/boomi): add Boomi Integration source for processes and folders

AC
3d ago
+5855-144

Summary

Adds a boomi ingestion source for Boomi Integration (AtomSphere) using the Boomi Platform API. This is the first of a stack:

  1. This PR: folders, processes, ownership, deployments, platform registration
  2. Execution history as DataProcessInstances
  3. Process lineage from connector shapes (Database, Database V2, Salesforce) and sub-process calls

What it ingests

  • Folders become containers, nested via parentId. folder_pattern matches the folder full path. Ancestors of allowed folders are kept so browse paths stay intact.
  • Processes become a DataFlow with a single process DataJob. The description comes from the component XML, and the flow links back to the Boomi UI for the US and GB hosts.
  • Owners: createdBy is emitted as the data owner and modifiedBy as a technical owner. Both are emails in the API.
  • Deployments: active DeployedPackage records are added as a property (Production=3.0, Test=4.0). By default only processes deployed to an allowed environment are ingested (include_undeployed_processes: false). If the token can't read deployments (403), every process is ingested and a warning is reported.
  • Branches: branch copies share a componentId, so they are deduped, keeping the latest copy. branch_name restricts the query to one branch.
  • Stateful ingestion and test_connection are supported.

Client

  • Basic auth with BOOMI_TOKEN.<username> plus an API token.
  • JSON query with queryMore paging.
  • Component XML is parsed with defusedxml. Elements are matched by local name, because real exports mix bns: elements with xmlns="" children.
  • A client-side rate limiter (default 8 req/s, below Boomi's documented 10), with retries on 503, which Boomi returns when throttling.

Registration

setup.py extra and entry point, lock files, the data-platforms.yaml entry, logo, UI source entries, connector registry and integrations catalog.

Testing

  • Unit tests in tests/unit/boomi/ cover:
    • Paging.
    • 503 retry, against a local HTTP server since requests_mock bypasses urllib3 retries.
    • XML namespace variants and entity-expansion rejection.
    • ["Long", n] values.
    • Branch dedupe.
    • The DeployedPackage 403 fallback.
    • Config validation and test_connection.
  • Golden integration test with nested folders, multiple environments, filtered and undeployed processes, and a stateful run that soft-deletes a process once it is undeployed.

Fixtures are written from Boomi's documented API shapes. They have not yet been validated against a live account.

Checklist

  • PR title follows the Contributing Guideline
  • Tests added
  • Docs added (metadata-ingestion/docs/sources/boomi/, including the minimum-privilege custom role)
  • Breaking changes: n/a (new source)

🤖 Generated with Claude Code


Summary by cubic

Adds a Boomi Integration source that imports folders, processes, ownership, and active deployments into DataHub.

  • By default, ingests only processes deployed to allowed environments; without deployment access, falls back to all processes with a warning.
  • Supports folder and environment filters, branch-copy deduplication, stateful ingestion, and connection testing; deduplication is stable across naive and UTC timestamps, and a 200 response that doesn't parse reports a failed connection test.
  • Requires https for api_url except on loopback hosts, rejects paths, query strings, fragments, and user info, and keeps api_url out of credential validation errors.
  • Fails stale-entity removal when the folder listing fails, treats deployments as unknown when environments can't be listed, and ignores deployments from other branches when branch_name is set.
  • Matches folder_pattern against the component's folder path when the folder isn't in the listing; root-level processes with no known path stay ingested under deny-only patterns but are skipped when an allow list can't be evaluated.
  • Process jobs emit no lineage aspect, so they no longer overwrite lineage added in the UI or by other sources; unit tests cover process listing failures, environment and folder filtering, and whitespace-only descriptions from UI-built processes that parse to None.
  • Registers Boomi across the platform catalog and both ingestion UIs, with localized descriptions, setup docs, and tests; the flow link opens the Boomi UI focused on the process.
  • Rebuilds test fixtures from anonymised responses captured from a live Boomi account, adding records for filtered, branch-duplicate, and denied-environment cases.
  • Moves JDBC URL parsing into a shared common/jdbc module for reuse by kafka_connect; parse_jdbc_url extracts platform, host, port, and database, handling multi-host, property-authority, and Redshift Serverless URLs.