Skip to content

[2.0] Fixes #36832: SSIS packageConnection accepts Azure Blob (ADLS) containers - #36917

Merged
ulixius9 merged 6 commits into
2.0from
ssis-azure-blob-package-storage-2.0
Nov 3, 2026
Merged

ulixius9 merged 6 commits into
2.0from
ssis-azure-blob-package-storage-2.0

Conversation

@ulixius9

@ulixius9 ulixius9 commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Describe your changes:

Backport of #36833 to 2.0. Fixes #36832

Cherry-picks the two source commits (ssisConnection.json accepts an ADLS container; SsisConnectionClassConverter types it) and the decision record. The generated TypeScript types are left to the TypeScript type-generation workflow, since the dereferenced public/jsons files from main do not exist on 2.0.

Merge before the Collate 2.0 backport of open-metadata/openmetadata-collate#8105.

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

🤖 Generated with Claude Code


Summary by Gitar

  • Azure Blob storage support:
    • Added ADLSConnection to SsisConnectionClassConverter so ADLS package connections are typed and secrets masked
    • Extended ssisConnection.json packageConnection oneOf to accept adlsConnection
  • Python typing:
    • Switched patch_request.py operation helpers to Mapping[str, Any] for jsonpatch 1.41 compatibility
  • Tests and docs:
    • Added SsisConnectionClassConverterTest covering S3, ADLS and local-path connections
    • Recorded SSIS ADLS merge order in a decision record
  • UI mock:
    • Updated Service.mock.ts to use regenerated ConnectionType enum

This will update automatically on new commits.

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 added Ingestion safe to test Add this label to run secure Github workflows on PRs labels Nov 3, 2026
@ulixius9
ulixius9 requested a review from a team as a code owner November 3, 2026 08:55
@ulixius9
ulixius9 requested review from sonika-shah and removed request for a team November 3, 2026 08:55
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

❌ PR checklist incomplete

This PR cannot be merged until the following are addressed on its linked issue:

  • No GitHub issue is linked. Link an issue in the Development section of the PR (or add Fixes #12345 to the description). For a same-org cross-repo issue, add Fixes open-metadata/<repo>#123 to the description.

The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically.

Maintainers can bypass this check by adding the skip-pr-checks label.

@github-actions

github-actions Bot commented Nov 3, 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.

@pmbrull
pmbrull requested a review from a team as a code owner November 3, 2026 09:02
@pmbrull
pmbrull requested review from harsh-vador and removed request for a team November 3, 2026 09:02
…vice.mock

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@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: 68%
68.53% (83366/121637) 53.51% (51786/96764) 54.2% (15382/28376)

jsonpatch 1.41 ships stubs typing JsonPatch.patch as Sequence[Mapping[str, Any]],
so passing each op to helpers annotated dict fails basedpyright. The helpers only
read .get(), so widen them to Mapping[str, Any].

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
@ulixius9
ulixius9 requested a review from a team as a code owner November 3, 2026 10:01
@ulixius9
ulixius9 requested review from harshsoni2024 and removed request for a team November 3, 2026 10:01
@gitar-bot

gitar-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown
Code Review ✅ Approved

🟡 Medium risk · Adding ADLS package connections to the SSIS schema and secret converter could mishandle Azure credentials, affecting stored secret protection or package access.

Adds Azure Blob Storage (ADLS) container support to SSIS packageConnection by extending ssisConnection.json and typing ADLSConnection in SsisConnectionClassConverter, with S3 and local-path configs unchanged. No issues found.

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

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

@sonarqubecloud

sonarqubecloud Bot commented Nov 3, 2026

Copy link
Copy Markdown

This branch was previously deployed

1 inactive deployment
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.

3 participants