Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Parameterized linked service for Azure SQL MI pipelines #47

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sharadpandey90
Copy link
Contributor

@sharadpandey90 sharadpandey90 commented Mar 6, 2025

Problem

Databases can be passed as parameters within a linked service, eliminating the need to create a separate linked service for each database. This PR enables parameterized linked services in an Azure SQL MI pipeline.

Solution

Parameterized the source and sink database linked services for Azure SQL Profiling and Masking Pipeline

 "Source": {
    "linkedService": {
      "LS_DATABASE": {
        "value": "@pipeline().parameters.P_SOURCE_DATABASE",
        "type": "Expression"
      }
    }
  }


  "Sink": {
    "linkedService": {
      "LS_DATABASE": {
        "value": "@pipeline().parameters.P_SINK_DATABASE",
        "type": "Expression"
      }
    }
  }

Testing Done

Imported the templates and successfully executed the discovery and masking pipelines.

Discovery Pipeline -

Screenshot 2025-03-06 at 17 56 10 Screenshot 2025-03-06 at 17 57 14

Masking Pipeline -

Screenshot 2025-03-06 at 17 57 57 Screenshot 2025-03-06 at 17 58 05 Screenshot 2025-03-06 at 17 58 33

@sharadpandey90 sharadpandey90 force-pushed the dlpx/pr/sharadpandey90/37298b36-362c-42a6-99bc-a6e82888db9f branch 5 times, most recently from 829246b to fb11a41 Compare March 7, 2025 09:22
0.0.23
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Verify the version before merging.

@sharadpandey90 sharadpandey90 marked this pull request as ready for review March 7, 2025 09:28
@sharadpandey90 sharadpandey90 requested a review from a team as a code owner March 7, 2025 09:28
@sharadpandey90 sharadpandey90 force-pushed the dlpx/pr/sharadpandey90/37298b36-362c-42a6-99bc-a6e82888db9f branch from fb11a41 to 1ba9ee6 Compare March 11, 2025 06:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant