-
Notifications
You must be signed in to change notification settings - Fork 473
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding Dev Container for Stream Analytics (#607)
* devcontainer.json added * streamanalytics-tech-sample.asaql updated to align with fixed query in documentation
- Loading branch information
Showing
4 changed files
with
60 additions
and
41 deletions.
There are no files selected for viewing
19 changes: 19 additions & 0 deletions
19
single_tech_samples/streamanalytics/.devcontainer/devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
{ | ||
"name": "Azure Stream Analytics", | ||
"image": "mcr.microsoft.com/devcontainers/typescript-node:18-bullseye", | ||
"features": { | ||
"ghcr.io/devcontainers/features/azure-cli:1": {}, | ||
"ghcr.io/devcontainers/features/dotnet:1": { | ||
"version": "6", | ||
"runtimeOnly": true, | ||
"installUsingApt": true | ||
}, | ||
"ghcr.io/rchaganti/vsc-devcontainer-features/azurebicep:1": {} | ||
}, | ||
"customizations": { | ||
"vscode": { | ||
"extensions": ["ms-bigdatatools.vscode-asa@1.4.4"] | ||
} | ||
}, | ||
"postCreateCommand": "npm i -g azure-streamanalytics-cicd@2.3.2 && az config set extension.use_dynamic_install=yes_without_prompt && sed -i 's/export PROMPT_DIRTRIM=4/export PROMPT_DIRTRIM=1/g' /home/node/.bashrc" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
78 changes: 39 additions & 39 deletions
78
single_tech_samples/streamanalytics/e2e/package-lock.json
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,4 @@ SELECT | |
* INTO bloboutput | ||
FROM | ||
iothub | ||
HAVING Temperature > 27 | ||
WHERE TEMPERATURE > 27 |