You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Extensions/AzureTableAPI/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
This extension is built to facilitate both a data Source and Sink for the migration tool to be able to read and write to Azure Table API. This covers both the Azure Storage Table API and Azure Cosmos DB Table API, since they both adhere to the same API spec.
4
4
5
+
> **Note**: When specifying the AzureTableAPI extension as the Source or Sink property in configuration, utilize the name **AzureTableAPI**.
6
+
>
5
7
## Configuration Settings
6
8
7
9
The AzureTableAPI has a couple required and optional settings for configuring the connection to the Table API you are connecting to. This applies to both Azure Storage Table API and Azure Cosmos DB Table API.
Copy file name to clipboardexpand all lines: Extensions/Cosmos/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
The Cosmos data transfer extension provides source and sink capabilities for reading from and writing to containers in Cosmos DB using the Core (SQL) API. Source and sink both support string, number, and boolean property values, arrays, and hierarchical nested object structures.
4
4
5
+
> **Note**: When specifying the JSON extension as the Source or Sink property in configuration, utilize the name **Cosmos-nosql**.
6
+
5
7
## Settings
6
8
7
9
Source and sink settings both require multiple parameters to specify and provide access to the data location within a Cosmos DB account:
Copy file name to clipboardexpand all lines: Extensions/Json/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
The JSON data transfer extension provides source and sink capabilities for reading from and writing to JSON files. Source and sink both support string, number, and boolean property values, arrays, and hierarchical nested object structures.
4
4
5
+
> **Note**: When specifying the JSON extension as the Source or Sink property in configuration, utilize the name **JSON**.
6
+
5
7
## Settings
6
8
7
9
Source and sink settings both require a `FilePath` parameter, which should specify a path to a JSON file or folder containing JSON files. The path can be either absolute or relative to the application. The JSON files can contain either an array of JSON objects or a single object. Sink also supports an optional `Indented` parameter (`false` by default) and an optional `IncludeNullFields` parameter (`false` by default) to control the formatting of the JSON output.
Copy file name to clipboardexpand all lines: Extensions/Mongo/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
The Mongo data transfer extension provides source and sink capabilities for reading from and writing to a Mongo database.
4
4
5
+
> **Note**: When specifying the Mongo extension as the Source or Sink property in configuration, utilize the name **Mongo**.
6
+
>
5
7
## Settings
6
8
7
9
Source and sink settings require both `ConnectionString` and `DatabaseName` parameters. The source takes an optional `Collection` parameter (if this parameter is not set, it will read from all collections). The sink requires the `Collection` parameter and will insert all records received from a source into that collection, as well as an optional `BatchSize` parameter (default value is 100) to batch the writes into the collection.
Copy file name to clipboardexpand all lines: Extensions/SqlServer/README.md
+2
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,8 @@
2
2
3
3
The SQL Server data transfer extension provides source and sink capabilities for reading from and writing to table data in SQL Server. Hierarchical data is not fully supported but the Sink extension will write a nested object from a hierarchical source (i.e. JSON, Cosmos) into a SQL column as a JSON string.
4
4
5
+
> **Note**: When specifying the SQL Server extension as the Source or Sink property in configuration, utilize the name **SqlServer**.
6
+
5
7
## Settings
6
8
7
9
Source and sink settings both require a `ConnectionString` parameter.
Copy file name to clipboardexpand all lines: README.md
+5-35
Original file line number
Diff line number
Diff line change
@@ -108,7 +108,9 @@ This tutorial outlines how to use the Cosmos DB Data Migration tool to move JSON
108
108
109
109
```json
110
110
{
111
-
"SourceSettings": {
111
+
"Source": "JSON",
112
+
"Sink": "Cosmos-nosql",
113
+
"SourceSettings": {
112
114
"FilePath": "C:\\btcdata\\simple_json.json"
113
115
},
114
116
"SinkSettings": {
@@ -126,41 +128,9 @@ This tutorial outlines how to use the Cosmos DB Data Migration tool to move JSON
126
128
127
129
3. Ensure the **Cosmos.DataTransfer.Core** project is set as the startup project then press <kbd>F5</kbd> to run the application.
128
130
129
-
4. The application will load the provided extensions, then prompt for a **Source**. Select **JSON**. When prompted to load settings from a file enter `n` and press <kbd>Enter</kbd>. The application provides the ability to configure extensions in a separate file versus having them located in the **migrationsettings.json** file. When a separate file is not specified, the settings are read from **migrationsettings.json**. When prompted to provide the Configuration section name, press <kbd>Enter</kbd> to accept the default: **JSONSourceSettings**.
130
-
131
-

132
-
133
-
>**Note**: Alternatively, to avoid this prompt add the **Source** property to the configuration with the value **Json** (matching the **DisplayName** property of the extension)
134
-
135
-
5. The application will then prompt for a **Sink**, choose **Cosmos-nosql**. When prompted to load settings from a file enter `n` and press <kbd>Enter</kbd>. The application provides the ability to configure extensions in a separate file versus having them located in the **migrationsettings.json** file. When a separate file is not specified, the settings are read from **migrationsettings.json**. When prompted to provide the Configuration section name, press <kbd>Enter</kbd> to accept the default: **Cosmos-NoSqlSinkSettings**.
131
+
4. The application then performs the data migration. After a few moments the process will indicate **Done.**.
136
132
137
-

138
-
139
-
>**Note**: Alternatively, to avoid this prompt add the **Sink** property to the configuration with the value **Cosmos-nosql** (matching the **DisplayName** property of the extension)
140
-
141
-
6. The application then performs the data migration. After a few moments the process will indicate **Done.**.
142
-
143
-

144
-
145
-
Example of `migrationsettings.json` with **Source** and **Sink** configured.
0 commit comments