Skip to content

Commit

Permalink
[DataFactory]Added new features into 5.4.0 (#27660)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jingshu923 authored Mar 22, 2022
1 parent a45edbf commit f1ca01d
Show file tree
Hide file tree
Showing 7 changed files with 79 additions and 10 deletions.
4 changes: 2 additions & 2 deletions eng/mgmt/mgmtmetadata/datafactory_resource-manager.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ Generating CSharp code
Executing AutoRest command
cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/main/specification/datafactory/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\Projects\azure-sdk-for-net\sdk
Autorest CSharp Version: 2.3.82
2022-02-21 00:53:12 UTC
2022-03-21 01:51:54 UTC
Azure-rest-api-specs repository information
GitHub fork: Azure
Branch: main
Commit: 3a1da75f85a757b87642c6482c6a4ee6ad70ff60
Commit: 0d9772a5c3a716070662572a2a7700718cfba959
AutoRest information
Requested version: v2
Bootstrapper version: autorest@2.0.4413
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog for the Azure Data Factory V2 .NET SDK

## Version 5.4.0
### Feature Additions
- Added Web Activity disable cert validation

## Version 5.3.0
### Feature Additions
- Added ScriptActivity in ADF
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Microsoft.Azure.Management.DataFactory.Models
{
public partial class WebActivity
{
/// <summary>
/// Initializes a new instance of the WebActivity class.
/// </summary>
/// <param name="name">Activity name.</param>
/// <param name="method">Rest API method for target endpoint. Possible
/// values include: 'GET', 'POST', 'PUT', 'DELETE'</param>
/// <param name="url">Web activity target endpoint and path. Type:
/// string (or Expression with resultType string).</param>
/// <param name="additionalProperties">Unmatched properties from the
/// message are deserialized this collection</param>
/// <param name="description">Activity description.</param>
/// <param name="dependsOn">Activity depends on condition.</param>
/// <param name="userProperties">Activity user properties.</param>
/// <param name="linkedServiceName">Linked service reference.</param>
/// <param name="policy">Activity policy.</param>
/// <param name="headers">Represents the headers that will be sent to
/// the request. For example, to set the language and type on a
/// request: "headers" : { "Accept-Language": "en-us", "Content-Type":
/// "application/json" }. Type: string (or Expression with resultType
/// string).</param>
/// <param name="body">Represents the payload that will be sent to the
/// endpoint. Required for POST/PUT method, not allowed for GET method
/// Type: string (or Expression with resultType string).</param>
/// <param name="authentication">Authentication method used for calling
/// the endpoint.</param>
/// <param name="datasets">List of datasets passed to web
/// endpoint.</param>
/// <param name="linkedServices">List of linked services passed to web
/// endpoint.</param>
/// <param name="connectVia">The integration runtime reference.</param>
public WebActivity(string name, string method, object url, IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string description = default(string), IList<ActivityDependency> dependsOn = default(IList<ActivityDependency>), IList<UserProperty> userProperties = default(IList<UserProperty>), LinkedServiceReference linkedServiceName = default(LinkedServiceReference), ActivityPolicy policy = default(ActivityPolicy), object headers = default(object), object body = default(object), WebActivityAuthentication authentication = default(WebActivityAuthentication), IList<DatasetReference> datasets = default(IList<DatasetReference>), IList<LinkedServiceReference> linkedServices = default(IList<LinkedServiceReference>), IntegrationRuntimeReference connectVia = default(IntegrationRuntimeReference))
: base(name, additionalProperties, description, dependsOn, userProperties, linkedServiceName, policy)
{
Method = method;
Url = url;
Headers = headers;
Body = body;
Authentication = authentication;
Datasets = datasets;
LinkedServices = linkedServices;
ConnectVia = connectVia;
CustomInit();
}
}
}

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,12 @@
<PropertyGroup>
<PackageId>Microsoft.Azure.Management.DataFactory</PackageId>
<Description>Azure Data Factory V2 is the data integration platform that goes beyond Azure Data Factory V1's orchestration and batch-processing of time-series data, with a general purpose app model supporting modern data warehousing patterns and scenarios, lift-and-shift SSIS, and data-driven SaaS applications. Compose and manage reliable and secure data integration workflows at scale. Use native ADF data connectors and Integration Runtimes to move and transform cloud and on-premises data that can be unstructured, semi-structured, and structured with Hadoop, Azure Data Lake, Spark, SQL Server, Cosmos DB and many other data platforms.</Description>
<Version>5.3.0</Version>
<Version>5.4.0</Version>
<AssemblyName>Microsoft.Azure.Management.DataFactory</AssemblyName>
<PackageTags>Microsoft Azure resource management;Data Factory;ADF;</PackageTags>
<PackageReleaseNotes>
<![CDATA[
- Added ScriptActivity in ADF
- Added TeamDesk, Quickbase, Smartsheet, Zendesk connectors in ADF
- Added Web Activity disable cert validation
]]></PackageReleaseNotes>
</PropertyGroup>
<PropertyGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@

[assembly: AssemblyTitle("Microsoft Azure Data Factory Management Library")]
[assembly: AssemblyDescription("Provides management functionality for Microsoft Azure Data Factory Resources.")]
[assembly: AssemblyVersion("5.3.0.0")]
[assembly: AssemblyFileVersion("5.3.0.0")]
[assembly: AssemblyVersion("5.4.0.0")]
[assembly: AssemblyFileVersion("5.4.0.0")]
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyProduct("Microsoft Azure .NET SDK")]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public void Activity_SerializationTest(JsonSampleInfo jsonSample)
{
TestJsonSample<Activity>(jsonSample);
}

[Fact]
public void ExecutePipelineActivity_SDKSample()
{
Expand Down Expand Up @@ -139,7 +139,8 @@ public void ExecuteBasicWebActivity_SDKSample()
Username = "test",
Password = new SecureString("fake"),
Type = "Basic"
}
},
DisableCertValidation = false
};

var handler = new RecordedDelegatingHandler();
Expand Down

0 comments on commit f1ca01d

Please sign in to comment.