Package Exports
- azure-streamanalytics-cicd
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (azure-streamanalytics-cicd) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Continuously integrate and develop with Stream Analytics CI/CD npm package
The npm package provides the tools to generate Azure Resource Manager templates of Stream Analytics Visual Studio Code projects. It can be used on Windows, macOS, and Linux without installing Visual Studio Code.
How to install
npm install @azure-streamanalytics-cicd
How to use
Use the following command to generate the Azure Resource Manager templates. The scriptPath argument is the absolute path to the asaql file in your Visual Studio Code project. Make sure the asaproj.json and JobConfig.json files are in the same folder with the script file. If the outputPath is not specified, the templates will be placed in the Deploy folder under the project's bin folder.
azure-streamanalytics-cicd build -scriptPath <scriptFullPath> -outputPath <outputPath>Example (on macOS)
azure-streamanalytics-cicd build -scriptPath "/Users/roger/projects/samplejob/script.asaql" When a Stream Analytics Visual Studio Code project builds successfully, it generates the following two Azure Resource Manager template files under the bin/[Debug/Retail]/Deploy folder:
Resource Manager template file
[ProjectName].JobTemplate.jsonResource Manager parameters file
[ProjectName].JobTemplate.parameters.json
The default parameters in the parameters.json file are from the settings in your Visual Studio Code project. If you want to deploy to another environment, replace the parameters accordingly.
[!NOTE] For all the credentials, the default values are set to null. You are required to set the values before you deploy to the cloud.
"Input_EntryStream_sharedAccessPolicyKey": {
"value": null
},Learn more about how to deploy with a Resource Manager template file and Azure PowerShell. Learn more about how to use an object as a parameter in a Resource Manager template.
To use Managed Identity for Azure Data Lake Store Gen1 as output sink, you need to provide Access to the service principal using PowerShell before deploying to Azure. Learn more about how to deploy ADLS Gen1 with Managed Identity with Resource Manager template.