ADF Custom Activity Runner NuGet Package

This package provides an attribute that you can apply to your DotNetActivity.

You specify the location of the pipeline which your custom activity is run from and the name of the activity in the pipeline. The activity is then de-serialized into an object which you can use to easily debug your custom activity in the context of the pipeline it is found in. This package comes with a base class which you inherit instead of implementing IDotNetActivity. This abstract bass class is called CustomActivityBase, it implements IDotNetActivity and has a number of methods that simplify getting information from the ADF Json files.

How to use: 1. Inherit from the abstract bass class called CustomActivityBase. 2. Implement the method RunActivity.

This method calls the execute method internally. The arguments for this method are exposed as public properties on the base class: LinkedServices, Datasets, Activity, and Logger. 3. Add the CustomActivity attribute to the RunActivity method and specify the relative location from the custom activity project to the pipeline file and the name of the actviity you wish to target.

Optionally the name of the deployment config file to use e.g. [CustomActivity(ActivityName = "KickOffSproc", PipelineLocation = @"..\DataFactoryApp\PipelineBlobSample.json", DeployConfig = "Dev.json")] 4. Run the custom activity as if it were a unit test.




Got any ADF Custom Activity Runner Question?





Info

Version: 1.0.4.4
Author(s): daosul
Last Update: Thursday, April 13, 2017
.NET Fiddle: Create the first Fiddle
NuGet Url: https://www.nuget.org/packages/ADFCustomActivityRunner


Install
Install-Package ADFCustomActivityRunner
dotnet add package ADFCustomActivityRunner
paket add ADFCustomActivityRunner
ADFCustomActivityRunner Download (Unzip the "nupkg" after downloading)



Tags



STATS

must-have-score

avg-downloads-per-day

0

days-since-last-release

2810