Information

Description
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.
Version
1.0.4.4
Project Url
View on NuGet: http://www.nuget.org/packages/ADFCustomActivityRunner

Authors

 

Installing with NuGet

PM> Install-Package ADFCustomActivityRunner

Packages that Depend on ADFCustomActivityRunner

No packages were found that depend on version 1.0.4.4.