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: articles/stream-analytics/cicd-tools.md
+9-9Lines changed: 9 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ You can [download the package](https://www.npmjs.com/package/azure-streamanalyti
21
21
22
22
The **asa-streamanalytics-cicd** npm package provides the tools to generate Azure Resource Manager templates of Stream Analytics [Visual Studio Code projects](./quick-create-visual-studio-code.md) or [Visual Studio projects](stream-analytics-quick-create-vs.md). You can also use the npm package on Windows, macOS, and Linux without installing Visual Studio Code or Visual Studio.
23
23
24
-
Once you have installed the package, use the following command to build your Stream Analytics projects.
24
+
Once you've installed the package, use the following command to build your Stream Analytics projects.
@@ -32,7 +32,7 @@ The *build* command does a keyword syntax check and outputs the Azure Resource M
32
32
| Parameter | Description |
33
33
|---|---|
34
34
|`-project`| The absolute path of the **asaproj.json** file for your Visual Studio Code project or **[Your project name].asaproj** for Visual Studio project. |
35
-
|`-outputPath`| The path of the output folder for Azure Resource Manager Templates. If it is not specified, the templates will be placed in the current directory. |
35
+
|`-outputPath`| The path of the output folder for Azure Resource Manager Templates. If it isn't specified, the templates will be placed in the current directory. |
36
36
37
37
#### [Visual Studio Code](#tab/visual-studio-code)
38
38
@@ -60,7 +60,7 @@ When a Stream Analytics project builds successfully, it generates the following
60
60
61
61
The default parameters in the parameters.json file are from the settings in your Visual Studio Code or Visual Studio project. If you want to deploy to another environment, replace the parameters accordingly.
62
62
63
-
The default values for all credentials are **null**. You are required to set the values before you deploy to Azure.
63
+
The default values for all credentials are **null**. You're required to set the values before you deploy to Azure.
|`-project`| The path of the **asaproj.json** file for your Visual Studio Code project or **[Your project name].asaproj** for Visual Studio project. |
84
-
|`-outputPath`| The path of the output folder. If it is not specified, the output result files will be placed in the current directory. |
85
-
|`-customCodeZipFilePath`| The path of the zip file for C# custom code, such as a UDF or deserializer, if they are used. Package the DLLs into a zip file and specify this path. |
84
+
|`-outputPath`| The path of the output folder. If it isn't specified, the output result files will be placed in the current directory. |
85
+
|`-customCodeZipFilePath`| The path of the zip file for C# custom code, such as a UDF or deserializer, if they're used. Package the DLLs into a zip file and specify this path. |
86
86
87
87
#### [Visual Studio Code](#tab/visual-studio-code)
|`-project`| The path of the **asaproj.json** file for your Visual Studio Code project or **[Your project name].asaproj** for Visual Studio project. |
119
-
|`-testConfigPath`| The path of the test configuration file. If it is not specified, the file will be searched in **\test** under the current directory of the **asaproj.json** file, with default file name **testConfig.json**. A new file will be created if not existed. |
119
+
|`-testConfigPath`| The path of the test configuration file. If it isn't specified, the file will be searched in **\test** under the current directory of the **asaproj.json** file, with default file name **testConfig.json**. A new file will be created if not existed. |
120
120
121
121
> [!NOTE]
122
122
> The `Script` value in the generated **testConfig.json** file is only for providing the context; It's not used in the testing logic.
@@ -249,9 +249,9 @@ azure-streamanalytics-cicd test -project <projectFullPath> [-testConfigPath <tes
249
249
| Parameter | Description |
250
250
|---|---|
251
251
|`-project`| The path of the **asaproj.json** file for your Visual Studio Code project or **[Your project name].asaproj** for Visual Studio project. |
252
-
| `-testConfigPath` | The path to the test configuration file. If it is not specified, the file will be searched in **\test** under the current directory of the **asaproj.json** file, with default file name **testConfig.json**.
253
-
|`-outputPath`| The path of the test result output folder. If it is not specified, the output result files will be placed in the current directory. |
254
-
|`-customCodeZipFilePath`| The path of the zip file for custom code such as a UDF or deserializer, if they are used. |
252
+
| `-testConfigPath` | The path to the test configuration file. If it isn't specified, the file will be searched in **\test** under the current directory of the **asaproj.json** file, with default file name **testConfig.json**.
253
+
|`-outputPath`| The path of the test result output folder. If it isn't specified, the output result files will be placed in the current directory. |
254
+
|`-customCodeZipFilePath`| The path of the zip file for custom code such as a UDF or deserializer, if they're used. |
255
255
256
256
As an example, in a PowerShell enabled terminal, if all test assets are located in a `test` subfolder of the project folder. With each test run output stored in a new timestamped subfolder of a `testResults` subfolder:
Copy file name to clipboardExpand all lines: articles/stream-analytics/develop-locally.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.service: stream-analytics
10
10
11
11
# Develop and debug Azure Stream Analytics jobs locally
12
12
13
-
Apart from creating and developing an Azure Stream Analytics job in the Azure portal, you can set up a Stream Analytics job using a developer tool on your computer. Azure Stream Analytics (ASA) allows you to use your favorite code editor e.g.Visual Studio Code to build and test query locally with live data streams from Azure Event Hub, IoT Hub, Blob Storage and other Azure resources. The ASA developer tool creates a fully functional node in local runtime to run your Stream Analytics job. You can also submit your local Stream Analytics jobs to Azure and change the job running status. This's a convenient way to build, test and manage your Stream Analytics jobs.
13
+
Apart from creating and developing an Azure Stream Analytics job in the Azure portal, you can set up a Stream Analytics job using a developer tool on your computer. Azure Stream Analytics (ASA) allows you to use your favorite code editor, e.g., Visual Studio Code to build and test query locally with live data streams from Azure Event Hubs, IoT Hub, Blob Storage and other Azure resources. The ASA developer tool creates a fully functional node in local runtime to run your Stream Analytics job. You can also submit your local Stream Analytics jobs to Azure and change the job running status. Using the ASA developer tool is a convenient way to build, test and manage your Stream Analytics jobs.
14
14
15
15
## Local development environments
16
16
@@ -20,7 +20,7 @@ The environments in the following table support local development:
|[Visual Studio Code](visual-studio-code-explore-jobs.md)| The [Azure Stream Analytics Tools extension](https://marketplace.visualstudio.com/items?itemName=ms-bigdatatools.vscode-asa) for Visual Studio Code allows you to author, manage, test your Stream analytics job both locally and in the cloud with rich IntelliSense and native source control. Supports development on Linux, MacOS and Windows. To learn more, see [Create an Azure Stream Analytics job in Visual Studio Code](quick-create-visual-studio-code.md). The extension also supports [Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/) which is a cloud-hosted dev environment.|
23
+
|[Visual Studio Code](visual-studio-code-explore-jobs.md)| The [Azure Stream Analytics Tools extension](https://marketplace.visualstudio.com/items?itemName=ms-bigdatatools.vscode-asa) for Visual Studio Code allows you to author, manage, test your Stream analytics job both locally and in the cloud with rich IntelliSense and native source control. Supports development on Linux, macOS and Windows. To learn more, see [Create an Azure Stream Analytics job in Visual Studio Code](quick-create-visual-studio-code.md). The extension also supports [Visual Studio Codespaces](https://visualstudio.microsoft.com/services/visual-studio-codespaces/), which is a cloud-hosted dev environment.|
24
24
|[Command prompt or terminal](stream-analytics-tools-for-visual-studio-cicd.md)|The Azure Stream Analytics CI/CD NuGet package provides tools for Visual studio project build, local testing on an arbitrary machine. The Azure Stream Analytics CI/CD npm package provides tools for Visual Studio Code project builds (which generates an Azure Resource Manager template) on an arbitrary machine.|
The image below uses a Stream Analytics Visual Studio Code project as an example.
88
+
The image uses a Stream Analytics Visual Studio Code project as an example.
89
89
90
90
:::image type="content" source="media/set-up-cicd-pipeline/command-line-config-build.png" alt-text="Enter configurations for command-line task visual studio code":::
91
91
@@ -138,7 +138,7 @@ You need to add a copy file task to copy the test summary file and Azure Resourc
138
138
139
139
## Save and run
140
140
141
-
Once you have finished adding the npm package, command line, copy files, and publish build artifacts tasks, select**Save& queue**. When you are prompted, enter a save comment and select**Save and run**. You can download the testing results from **Summary** page of the pipeline.
141
+
Once you have finished adding the npm package, command line, copy files, and publish build artifacts tasks, select**Save& queue**. When you're prompted, enter a save comment and select **Save and run**. You can download the testing results from **Summary** page of the pipeline.
Copy file name to clipboardExpand all lines: articles/stream-analytics/visual-studio-code-local-run.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ ms.topic: how-to
10
10
11
11
# Test Stream Analytics queries locally with sample data using Visual Studio Code
12
12
13
-
You can use Azure Stream Analytics tools for Visual Studio Code to test your Stream Analytics jobs locally with sample data. You output results can be found as JSON files in the **LocalRunOutputs** folder of your project.
13
+
You can use Azure Stream Analytics tools for Visual Studio Code to test your Stream Analytics jobs locally with sample data. The output results can be found as JSON files in the **LocalRunOutputs** folder of your project.
14
14
15
15
For more information, see [Overview of local Stream Analytics runs in Visual Studio Code with ASA Tools](visual-studio-code-local-run-all.md).
16
16
@@ -26,13 +26,13 @@ You need to prepare sample input data files first. If you already have some samp
26
26
27
27
1. Click **Preview data** in your input configuration file from the top line. Some input data will be fetched from IoT Hub and shown in the preview window.
28
28
29
-
2. Once the data is shown, click**Save as** to save the data to a local file.
29
+
2. Once the data is shown, select**Save as** to save the data to a local file.
30
30
31
31

32
32
33
33
## Define a local input
34
34
35
-
1.Click**input.json** under Inputs folder in your Stream Analytics project. Then select **Add local input** from the top line.
35
+
1.Select**input.json** under Inputs folder in your Stream Analytics project. Then select **Add local input** from the top line.
36
36
37
37

38
38
@@ -56,7 +56,7 @@ You need to prepare sample input data files first. If you already have some samp
56
56
57
57

58
58
59
-
6. Select **Preview Data** to preview the input data. The serialization type for your data is automatically detected if its JSON or CSV. Use the selector to view your data in **Table** or **Raw** format. The following table is an example of data in the **Table format**:
59
+
6. Select **Preview Data** to preview the input data. The serialization type (JSON or CSV) for your data is automatically detected. Use the selector to view your data in **Table** or **Raw** format. The following table is an example of data in the **Table format**:
60
60
61
61

62
62
@@ -72,7 +72,7 @@ Return to your query editor, and select **Run locally**. Then select **Use local
72
72
73
73

74
74
75
-
The result is shown in the right window. You can click**Run** to test again. You can also select **Open in folder** to see the result files in file explorer and further open them with other tools. The result files are only available in JSON format.
75
+
The result is shown in the right window. You can select**Run** to test again. You can also select **Open in folder** to see the result files in file explorer and further open them with other tools. The result files are only available in JSON format.
76
76
77
77

0 commit comments