Skip to content

Commit

Permalink
minimal dapr implementation added (#197)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-kastil authored Sep 4, 2023
1 parent 4c50a8e commit 375e982
Show file tree
Hide file tree
Showing 111 changed files with 7,107 additions and 5,694 deletions.
2 changes: 1 addition & 1 deletion app/food-catalog-api/catalog-api.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="AspNetCore.HealthChecks.UI.Client" Version="6.0.5" />
<PackageReference Include="Azure.Identity" Version="1.9.0" />
<PackageReference Include="Azure.Identity" Version="1.10.0" />
<PackageReference Include="Azure.Security.KeyVault.Secrets" Version="4.5.0" />
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="6.0.20" />
Expand Down
File renamed without changes.

This file was deleted.

225 changes: 0 additions & 225 deletions demos/04-function-apps/demo-05/az-rest-funct/package-lock.json

This file was deleted.

10 changes: 5 additions & 5 deletions demos/04-function-apps/demo-05/db-setup/create-db.azcli
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
env=$RANDOM
env=dev
grp=az-native-$env
loc=westeurope
grp=az204-m04-rest-$env
acct=productsapi-$RANDOM
databaseName=productsdb
containerName=products
Expand All @@ -16,8 +16,8 @@ key=$(az cosmosdb keys list -g $grp -n $acct --type keys --query "primaryMasterK
npm install > "/dev/null" 2>&1

# run populate-db.js
node ./populate-db.js --endpoint $endpoint --key $key --databaseName $databaseName --containerName $containerName
echo "This is your connection string. Copy it to your clipboard..."
az cosmosdb keys list -n $acct -g $grp --type connection-strings --query "connectionStrings[0].connectionString" -o tsv
node ./db-setup/populate-db.js --endpoint $endpoint --key $key --databaseName $databaseName --containerName $containerName
cs=$(az cosmosdb keys list -n $acct -g $grp --type connection-strings --query "connectionStrings[0].connectionString" -o tsv)
echo "Connection string: $cs"


Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*

#local.settings.json

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

Expand Down
Loading

0 comments on commit 375e982

Please sign in to comment.