Jump to content

Introducing Azure Data Factory Community Templates


Recommended Posts

Guest Noelle_Li
Posted

Today, we’re excited to announce that Community Templates are now available, giving our community members an opportunity to contribute to our existing template gallery.

 

 

 

Templates are predefined Azure Data Factory pipelines that allow you to get started quickly with Data Factory. Templates are especially useful when you're new to Azure Data Factory or Azure Synapse pipelines and want to get started quickly as they reduce development time for building data integration projects and improve developer productivity. A wide variety of best practices are also infused in templates that cater to different scenarios that you can build on top of. And if you have Git enabled, templates help create shareable pipelines for better collaboration within the same factory.

 

 

 

To see our current Community Templates and Guidelines, please read Azure-DataFactory/community templates at main · Azure/Azure-DataFactory (github.com).

 

 

 

largevv2px999.png.2d7d4e0237db3ffcbb96e236f81ec935.png

 

 

 

 

 

NOTE: Community template submissions will be reviewed by the team. If your submission, does not meet our guidelines or quality checks, we will not merge your template into the gallery.

 

 

 

You will need to follow 3 steps to successfully submit a community template: create a template, test the template, and submit it.

 

 

 

Create a template

 

 

All pipeline templates should follow ARM template syntax. There are 2 ways for you to do this.

 

 

 

Create a template from an existing pipeline

 

 

You can create a template from a new or existing pipeline in your data factory. First, navigate to the Author tab to create a new pipeline or select an existing pipeline.

 

 

 

Once your pipeline is ready, click the Actions button (3 dots next to the pipeline configuration panel) to find a list of actions. Select Export template to download a zip folder. This folder will contain your pipeline JSON file and the manifest.json file.

 

 

 

largevv2px999.png.fe184fa274b46fc4e1f1fe5f9ae15a56.png

 

 

NOTE: Before exporting your template, make sure to scrub your pipeline of personal information. If you are using parameters, please set the values to Default or an example format. Additionally, add descriptions to your pipeline to better inform users of what the pipeline is doing.

 

 

 

In the manifest.json file, please make sure to add a property called “contributorType” and set it to “Community”. You can also update the “author” property with the name of the contributor. Additional properties to modify include “annotations”, “services”, and “categories”. Updating these properties will add filters so users can more easily find a template. Since the template gallery already has many categories, tags (annotations), and services, please try to use what already exists in the template gallery, unless what you need does not currently exist.

 

 

 

largevv2px999.png.4d0f0a09254870c92b03a2b2a437d1a8.png

 

 

 

You must also add a “documentation” property In the manifest.json file and set it to a documentation link. This will show in the template and help instruct users on how to properly use the template. Please include your documentation in our repository in the documentation folder found within the community templates folder.

 

 

 

largevv2px999.png.902eee13e44961185bb7a8888cf1bba1.png

 

 

 

NOTE: Your manifest.json file MUST include the following or it will not be merged:

 

  • a property called “contributorType” that is set to “Community”


  • a property called “author” that is set to the name or group name of the template contributor


  • a property called "documentation" that is set to a documentation link of how to use the template


 

 

 

Code a template

 

 

You can code a template on your own. Please make sure to include your pipeline JSON file and a corresponding manifest.json file.

 

 

 

Test your template

 

 

 

 

Before submitting your template, make sure that the template is looks and behaves correctly. To complete this testing, you will need to import your template to see if the pipeline can be successfully created from it.

 

 

 

In the Author section, click the + symbol under Factory Resources to open a submenu. Here you will see a list of options.

 

 

 

largevv2px999.png.40e26b094981b263164344b21e30faf3.png

 

 

 

Click Pipeline and choose Import from pipeline template.

 

 

 

largevv2px999.png.451e54dcead420cf6c8db303202c29cd.png

 

 

 

You will then be prompted to select a local template file.

 

 

 

NOTE: The template file that you import must be in zip format.

 

 

 

Once the template file is imported successfully, you will be taken to a new pane. This pane should show one or more input elements for linked services, which you configured in the template file. Inputs can include source and sink linked services. You should also be able to view your tags, services, and documentation, if it was included.

 

 

 

Use the drop-downs to select a linked services for each input.

 

 

 

largevv2px999.png.ec8a66bde25451f9805798973708be48.png

 

 

 

 

 

If the template is not usable, an error hint will show in the top of the pane and you will not be able to continue.

 

 

 

largevv2px999.png.668dc44f36ffdbb05a36655216c99f58.png

 

 

 

Once everything is configured properly, click the Use this template button. This will automatically navigate you back to the authoring blade.

 

 

 

largevv2px999.png.a39ca2d075dcaf0a1cbd0dc0b947ba21.png

 

 

 

If the template is correct, then a pipeline will be created from it automatically.

 

 

 

largevv2px999.png.4bdf997abf2c356c8cb5d571baa5c082.png

 

 

 

Please take the time to review this newly created pipeline to ensure that your template is descriptive and does not contain any personal or sensitive information.

 

 

 

Submit your template

 

 

 

 

Once you’ve created and tested your template, you can submit your template(s) to Azure-DataFactory. Community templates should be added to the community templates folder. The repository has samples and existing community templates for reference.

 

 

 

When you’re ready, create a new pull request and our team will review it! Once everything is verified, it will be deployed to the Azure Data Factory Template Gallery.

 

 

 

We can't wait to see what you come up with!

 

 

Continue reading...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...