Skip to content

Fixes #36832: SSIS packageConnection accepts Azure Blob (ADLS) containers - #36833

Merged
ulixius9 merged 6 commits into
mainfrom
ssis-azure-blob-package-storage
Nov 4, 2026
Merged

ulixius9 merged 6 commits into
mainfrom
ssis-azure-blob-package-storage

Conversation

@ulixius9

@ulixius9 ulixius9 commented Nov 2, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Fixes #36832

I made the SSIS connector's packageConnection accept an Azure Blob Storage (ADLS) container, alongside S3 and a local path. A customer keeps SSIS packages in Azure and does not use AWS.

  • ssisConnection.json: ../storage/adlsConnection.json is added to the packageConnection oneOf, and the title now reads "Local Path, S3 Bucket or Azure Blob Container".
  • SsisConnectionClassConverter: ADLSConnection is added to the candidate classes, so an Azure package connection is typed, and its client secret is masked and encrypted. Without it, conversion threw for any ADLS payload.

The connector that uses this lives in Collate: open-metadata/openmetadata-collate#8105. Merge this PR first. The CheckAzureAccess step for testConnections/pipeline/ssis.json comes in a follow-up after the Collate PR merges, because test_connection_steps looks steps up with test_fn[step.name]. Defining the step before the connector has it would fail every SSIS test connection with a KeyError.

Type of change:

  • New feature

Tests:

Use cases covered

  • An SSIS service whose packages live in an Azure Blob container, signed in as a service principal.
  • Existing S3 and local-path package connections still convert as before.

Unit tests

  • SsisConnectionClassConverterTest, 3 tests (S3, ADLS, local path): 3/3 pass (mvn -o -pl openmetadata-service test -Dtest=SsisConnectionClassConverterTest). The ADLS case fails without the converter change: S3 and String both reject an ADLS map, so tryToConvertOrFail throws.

Manual testing performed

  • The Collate connector ran against a live Azure container through this schema: the test connection passed or failed according to the service principal's access, and packages, tasks and lineage were extracted. Details are in the Collate PR.

Checklist:

  • I have read the CONTRIBUTING document.
  • My PR is linked to a GitHub issue via Fixes #<issue-number> above.
  • For JSON Schema changes: no migration needed. It only adds a oneOf option, so existing S3 and local-path configs are unchanged.
  • I have added tests and listed them above.
  • Self-review: reviewed against REVIEW.md. The one 🔴 (merge order with the Collate connector) is resolved by moving the test-connection step to a follow-up PR.
  • Decision check: ADR:2026-11-02-ssis-package-storage-accepts-adls-and-oss-merges-before-collate records the packageConnection contract, the merge order (this PR before open-metadata/openmetadata-collate#8105), and why the CheckAzureAccess step waits for the connector.

🤖 Generated with Claude Code

Add adlsConnection as a packageConnection option for the SSIS connector,
register ADLSConnection in SsisConnectionClassConverter so its client
secret is resolved and encrypted, and add a CheckAzureAccess
test-connection step.
…low-up

The connector's test_fn must have the step before the server defines it,
or every SSIS test connection fails with a KeyError on the step lookup;
the step lands once the Collate connector change has merged.
@ulixius9
ulixius9 requested a review from a team as a code owner November 2, 2026 10:02
@ulixius9
ulixius9 requested review from pmbrull and a balanced review from Copilot November 2, 2026 10:02
@github-actions

github-actions Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

✅ PR checks passed

The linked issue has a description and all required Shipping project fields set. Thanks!

@github-actions github-actions Bot added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Nov 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The committed static UI connection schema still omits Azure and is not regenerated during builds, preventing forms that load it from offering Azure connections.

1 open issue
What changed in this PR

Adds Azure Blob Storage (ADLS) as an SSIS package location in OpenMetadata’s connection schema and secret converter, supporting the companion Collate connector change.

Changes:

  • Adds ADLS alongside S3 and local-path package connections.
  • Converts Azure connections to typed objects for secret handling.
  • Adds conversion tests for all three storage options; defers the Azure test-connection step until the Collate implementation lands.
File Description
openmetadata-spec/​src/​main/​resources/​json/​schema/​entity/​services/​connections/​pipeline/​ssisConnection.json Adds the ADLS option and updates the package-location title.
openmetadata-service/​src/​test/​java/​org/​openmetadata/​service/​secrets/​converter/​SsisConnectionClassConverterTest.java Tests S3, ADLS, and local-path conversion.
openmetadata-service/​src/​main/​java/​org/​openmetadata/​service/​secrets/​converter/​SsisConnectionClassConverter.java Registers ADLS as a supported package-connection class.

Review effort: Balanced

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

✅ Generated Sources Auto-Updated

The generated TypeScript types (src/generated/) and dereferenced JSON
schemas (src/jsons/, public/jsons/) have been automatically updated
based on JSON schema changes in this PR.

Copilot AI balanced review requested due to automatic review settings November 2, 2026 10:09

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

The regenerated schemas remove the exported Connection type while two consumers still import it, breaking TypeScript compilation until those imports are updated to AirflowConnectionObject.

2 open issues

Review effort: Balanced

Copilot AI balanced review requested due to automatic review settings November 2, 2026 11:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

…ct; record the SSIS ADLS merge order

Adding adlsConnection to the SSIS packageConnection oneOf made quicktype
rename the shared Connection interface to AirflowConnectionObject in the
automations types, so the two ConfigObject imports pointed at a missing export.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@ulixius9
ulixius9 requested a review from a team as a code owner November 2, 2026 11:12
@ulixius9
ulixius9 requested review from harsh-vador and a balanced review from Copilot November 2, 2026 11:12

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

…vice.mock

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Copilot AI balanced review requested due to automatic review settings November 3, 2026 05:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@gitar-bot

gitar-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown
Code Review ✅ Approved 2 closed / 2 findings

🟡 Medium risk · Adding ADLS package connections changes schema validation and secret conversion; malformed handling could prevent Azure-hosted SSIS packages from being read.

Adds Azure Blob Storage (ADLS) containers as an SSIS packageConnection option alongside S3 and local paths, with the converter typing and masking ADLS client secrets. The UI connection schema regeneration issue and the cross-repo merge-order documentation gap are both addressed. No open issues found.

✅ 2 closed
✅ Bug: UI connection schema not regenerated, so Azure option never shows in UI

📄 openmetadata-spec/src/main/resources/json/schema/entity/services/connections/pipeline/ssisConnection.json:34-45
The UI fetches public/jsons/connectionSchemas/connections/pipeline/ssisConnection.json at runtime. That file is committed, and the Maven build does not regenerate it (the pom.xml comment at lines ~124-130 says so). This PR changes only the source schema. The committed UI copy still has the old title "Local Path or S3 Bucket" (line 370) and a oneOf with only S3 and the local path, so users cannot pick or fill in an Azure Blob container when they create or edit an SSIS service. The feature works only through the API. Fix: run yarn parse-schema in openmetadata-ui/src/main/resources/ui and commit the regenerated ssisConnection.json (and serviceConnection.json if it changes too), as the schema-first rule requires.

✅ Quality: Cross-repo merge order and test-step sequencing recorded only in PR body

📄 openmetadata-spec/src/main/resources/json/schema/entity/services/connections/pipeline/ssisConnection.json:40-42
The description sets an ordering rule across two repositories that the tree does not hold. It says to "Merge this PR first" before openmetadata-collate#8105, and that the CheckAzureAccess step must not be added to testConnections/pipeline/ssis.json until the Collate connector defines it, "because test_connection_steps looks steps up with test_fn[step.name]. Defining the step before the connector has it would fail every SSIS test connection with a KeyError." No file in docs/decisions/ records this. The Collate test the author points to is not in this tree, and since the repo squash-merges, this description will not reach git log. The new packageConnection oneOf option is also a contract the Collate connector must match. A comparable cross-repo case is already recorded in 2026-10-10-alert-widgets-use-values-and-oss-merges-before-collate.md. A record would state: "SSIS packageConnection accepts an adlsConnection; the OSS schema and converter merge before Collate #8105, and a pipeline test-connection step is added to testConnections/pipeline/ssis.json only after the connector that implements it has merged, because an undefined step makes test_connection_steps raise KeyError."

Verification

Rules No rules evaluated

Functional validation Not enabled

Set up

Auto-approval Not enabled

Set up

For more verification details, comment gitar display:verbose.

Options

Display: compact → Showing compact verification results.

Comment with these commands to change the behavior for this request:

Compact
gitar display:verbose         

Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Jest test Coverage

UI tests summary

Lines Statements Branches Functions
Coverage: 81%
80.94% (136918/169159) 67.83% (49124/72416) 70.89% (27667/39024)

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@ulixius9 ulixius9 added To release Will cherry-pick this PR into the release branch and removed To release Will cherry-pick this PR into the release branch labels Nov 3, 2026
@ulixius9
ulixius9 enabled auto-merge November 3, 2026 09:24
@ulixius9
ulixius9 added this pull request to the merge queue Nov 3, 2026
@ulixius9
ulixius9 merged commit 8dc91ce into main Nov 4, 2026
117 of 121 checks passed
@ulixius9
ulixius9 deleted the ssis-azure-blob-package-storage branch November 4, 2026 03:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ingestion safe to test Add this label to run secure Github workflows on PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SSIS connector: support Azure Blob Storage as the package location

4 participants