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.
See the version list below for details.
Install-Package ADFCustomActivityRunner -Version 1.0.4
dotnet add package ADFCustomActivityRunner --version 1.0.4
<PackageReference Include="ADFCustomActivityRunner" Version="1.0.4" />
paket add ADFCustomActivityRunner --version 1.0.4
- Hyak.Common (>= 1.0.2)
- Microsoft.Azure.Common (>= 2.0.4)
- Microsoft.Azure.Common.Dependencies (>= 1.0.0)
- Microsoft.Azure.KeyVault (>= 1.0.0)
- Microsoft.Azure.Management.DataFactories (>= 4.11.0)
- Microsoft.Bcl (>= 1.1.9)
- Microsoft.Bcl.Async (>= 1.0.168)
- Microsoft.Bcl.Build (>= 1.0.14)
- Microsoft.IdentityModel.Clients.ActiveDirectory (>= 3.13.7)
- Microsoft.Net.Http (>= 2.2.22)
- Newtonsoft.Json (>= 6.0.4)
- NUnit (>= 2.6.4)
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.