Skip to content

Commit

Permalink
datafactory-track2 (#18789)
Browse files Browse the repository at this point in the history
  • Loading branch information
colawwj authored Nov 23, 2021
1 parent ddfc0c3 commit 1a294f8
Show file tree
Hide file tree
Showing 9 changed files with 357 additions and 355 deletions.
3 changes: 2 additions & 1 deletion common/config/rush/pnpm-lock.yaml

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

32 changes: 19 additions & 13 deletions sdk/datafactory/arm-datafactory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
## Release History

### 9.0.0-beta.2 (Unreleased)

#### Features Added

#### Breaking Changes

#### Bugs Fixed

#### Other Changes

### 9.0.0-beta.1 (2021-11-10)
## 10.0.0-beta.1 (2021-11-23)

**Features**

- Interface DataFlowReference has a new optional parameter parameters
- Interface Transformation has a new optional parameter dataset
- Interface Transformation has a new optional parameter linkedService
- Type Alias FtpReadSettings has a new parameter disableChunking
- Type Alias SftpReadSettings has a new parameter disableChunking

**Breaking Changes**

- Type Alias DataFlowSink no longer has parameter dataset
- Type Alias DataFlowSink no longer has parameter linkedService
- Type Alias DataFlowSource no longer has parameter dataset
- Type Alias DataFlowSource no longer has parameter linkedService
- Type Alias Flowlet no longer has parameter additionalProperties

## 9.0.0-beta.1 (2021-11-10)

This is the first preview for the new version of the `@azure/arm-datafactory` package that follows the new [guidelines for TypeScript SDKs](https://azure.github.io/azure-sdk/typescript_introduction.html) for Azure services.

Expand Down
6 changes: 5 additions & 1 deletion sdk/datafactory/arm-datafactory/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The Azure Data Factory V2 management API provides a RESTful set of web services

[Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/datafactory/arm-datafactory) |
[Package (NPM)](https://www.npmjs.com/package/@azure/arm-datafactory) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory) |
[API reference documentation](https://docs.microsoft.com/javascript/api/@azure/arm-datafactory?view=azure-node-preview) |
[Samples](https://github.com/Azure-Samples/azure-samples-js-management)

## Getting started
Expand Down Expand Up @@ -53,6 +53,10 @@ const subscriptionId = "00000000-0000-0000-0000-000000000000";
const client = new DataFactoryManagementClient(new DefaultAzureCredential(), subscriptionId);
```


### JavaScript Bundle
To use this client library in the browser, first you need to use a bundler. For details on how to do this, please refer to our [bundling documentation](https://aka.ms/AzureSDKBundling).

## Key concepts

### DataFactoryManagementClient
Expand Down
6 changes: 3 additions & 3 deletions sdk/datafactory/arm-datafactory/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"commit": "dc33f3f6452de718c91fdd4f1572fdd95dea4a43",
"commit": "b81af692dbb8395672116d85805cbc9ad1432f3b",
"readme": "specification/datafactory/resource-manager/readme.md",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/[email protected]beta.14",
"autorest_command": "autorest --version=3.1.3 --typescript --modelerfour.lenient-model-deduplication --head-as-boolean=true --license-header=MICROSOFT_MIT_NO_VERSION --generate-test --typescript-sdks-folder=D:\\mydev\\azure-sdk-for-js ../azure-rest-api-specs/specification/datafactory/resource-manager/readme.md --use=@autorest/[email protected]alpha.15.20211116.1",
"repository_url": "https://github.com/Azure/azure-rest-api-specs.git",
"use": "@autorest/[email protected]beta.14"
"use": "@autorest/[email protected]alpha.15.20211116.1"
}
23 changes: 7 additions & 16 deletions sdk/datafactory/arm-datafactory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,8 @@
"sdk-type": "mgmt",
"author": "Microsoft Corporation",
"description": "A generated SDK for DataFactoryManagementClient.",
"version": "9.0.0-beta.2",
"engines": {
"node": ">=12.0.0"
},
"version": "10.0.0-beta.1",
"engines": { "node": ">=12.0.0" },
"dependencies": {
"@azure/core-lro": "^2.2.0",
"@azure/abort-controller": "^1.0.0",
Expand All @@ -16,13 +14,7 @@
"@azure/core-rest-pipeline": "^1.1.0",
"tslib": "^2.2.0"
},
"keywords": [
"node",
"azure",
"typescript",
"browser",
"isomorphic"
],
"keywords": ["node", "azure", "typescript", "browser", "isomorphic"],
"license": "MIT",
"main": "./dist/index.js",
"module": "./dist-esm/src/index.js",
Expand All @@ -38,6 +30,7 @@
"rollup-plugin-sourcemaps": "^0.4.2",
"typescript": "~4.2.0",
"uglify-js": "^3.4.9",
"rimraf": "^3.0.0",
"@azure/identity": "^2.0.1",
"@azure-tools/test-recorder": "^1.0.0",
"mocha": "^7.1.1",
Expand All @@ -48,9 +41,7 @@
"type": "git",
"url": "https://github.com/Azure/azure-sdk-for-js.git"
},
"bugs": {
"url": "https://github.com/Azure/azure-sdk-for-js/issues"
},
"bugs": { "url": "https://github.com/Azure/azure-sdk-for-js/issues" },
"files": [
"dist/**/*.js",
"dist/**/*.js.map",
Expand All @@ -77,7 +68,7 @@
"extract-api": "api-extractor run --local",
"lint": "echo skipped",
"audit": "echo skipped",
"clean": "echo skipped",
"clean": "rimraf dist dist-browser dist-esm test-dist temp types *.tgz *.log",
"build:node": "echo skipped",
"build:browser": "echo skipped",
"build:test": "echo skipped",
Expand All @@ -92,7 +83,7 @@
"unit-test:node": "cross-env TEST_MODE=playback npm run integration-test:node",
"unit-test:browser": "echo skipped",
"integration-test": "npm run integration-test:node && npm run integration-test:browser",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts",
"integration-test:node": "mocha -r esm --require ts-node/register --timeout 1200000 --full-trace test/*.ts --reporter ../../../common/tools/mocha-multi-reporter.js",
"integration-test:browser": "echo skipped",
"docs": "echo skipped"
},
Expand Down
13 changes: 7 additions & 6 deletions sdk/datafactory/arm-datafactory/review/arm-datafactory.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,9 @@ export interface DataFlowListResponse {
export interface DataFlowReference {
[property: string]: any;
datasetParameters?: Record<string, unknown>;
parameters?: {
[propertyName: string]: Record<string, unknown>;
};
referenceName: string;
type: "DataFlowReference";
}
Expand Down Expand Up @@ -1823,8 +1826,6 @@ export type DataFlowsGetResponse = DataFlowResource;

// @public
export type DataFlowSink = Transformation & {
dataset?: DatasetReference;
linkedService?: LinkedServiceReference;
schemaLinkedService?: LinkedServiceReference;
};

Expand All @@ -1844,8 +1845,6 @@ export type DataFlowsListByFactoryResponse = DataFlowListResponse;

// @public
export type DataFlowSource = Transformation & {
dataset?: DatasetReference;
linkedService?: LinkedServiceReference;
schemaLinkedService?: LinkedServiceReference;
};

Expand Down Expand Up @@ -2770,13 +2769,11 @@ export type FilterActivity = ControlActivity & {
// @public
export type Flowlet = DataFlow & {
type: "Flowlet";
[property: string]: any;
sources?: DataFlowSource[];
sinks?: DataFlowSink[];
transformations?: Transformation[];
script?: string;
scriptLines?: string[];
additionalProperties?: Record<string, unknown>;
};

// @public
Expand Down Expand Up @@ -2820,6 +2817,7 @@ export type FtpReadSettings = StoreReadSettings & {
deleteFilesAfterCompletion?: Record<string, unknown>;
fileListPath?: Record<string, unknown>;
useBinaryTransfer?: boolean;
disableChunking?: Record<string, unknown>;
};

// @public
Expand Down Expand Up @@ -6986,6 +6984,7 @@ export type SftpReadSettings = StoreReadSettings & {
deleteFilesAfterCompletion?: Record<string, unknown>;
modifiedDatetimeStart?: Record<string, unknown>;
modifiedDatetimeEnd?: Record<string, unknown>;
disableChunking?: Record<string, unknown>;
};

// @public
Expand Down Expand Up @@ -7697,8 +7696,10 @@ export type TextFormat = DatasetStorageFormat & {

// @public
export interface Transformation {
dataset?: DatasetReference;
description?: string;
flowlet?: DataFlowReference;
linkedService?: LinkedServiceReference;
name: string;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class DataFactoryManagementClientContext extends coreClient.ServiceClient
credential: credentials
};

const packageDetails = `azsdk-js-arm-datafactory/9.0.0-beta.1`;
const packageDetails = `azsdk-js-arm-datafactory/10.0.0-beta.1`;
const userAgentPrefix =
options.userAgentOptions && options.userAgentOptions.userAgentPrefix
? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
Expand Down
Loading

0 comments on commit 1a294f8

Please sign in to comment.