feat(ingest/boomi): add Boomi Integration source for processes and folders
AC
3d ago+5855+5855+0123456789012345678901234567890123456789-144-144-012345678901234567890123456789
Summary
Adds a boomi ingestion source for Boomi Integration (AtomSphere) using the Boomi Platform API. This is the first of a stack:
- This PR: folders, processes, ownership, deployments, platform registration
- Execution history as DataProcessInstances
- Process lineage from connector shapes (Database, Database V2, Salesforce) and sub-process calls
What it ingests
- Folders become containers, nested via
parentId.folder_patternmatches the folder full path. Ancestors of allowed folders are kept so browse paths stay intact. - Processes become a DataFlow with a single
processDataJob. The description comes from the component XML, and the flow links back to the Boomi UI for the US and GB hosts. - Owners:
createdByis emitted as the data owner andmodifiedByas a technical owner. Both are emails in the API. - Deployments: active
DeployedPackagerecords 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_namerestricts the query to one branch. - Stateful ingestion and
test_connectionare supported.
Client
- Basic auth with
BOOMI_TOKEN.<username>plus an API token. - JSON
querywithqueryMorepaging. - Component XML is parsed with
defusedxml. Elements are matched by local name, because real exports mixbns:elements withxmlns=""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_mockbypasses 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
200response that doesn't parse reports a failed connection test. - Requires
httpsforapi_urlexcept on loopback hosts, rejects paths, query strings, fragments, and user info, and keepsapi_urlout 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_nameis set. - Matches
folder_patternagainst 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/jdbcmodule for reuse bykafka_connect;parse_jdbc_urlextracts platform, host, port, and database, handling multi-host, property-authority, and Redshift Serverless URLs.