Skip to content

Commit

Permalink
Update four more pattern profiles
Browse files Browse the repository at this point in the history
  • Loading branch information
seesharprun authored Aug 31, 2023
1 parent e4b1142 commit 7d8ef4b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 60 deletions.
17 changes: 2 additions & 15 deletions .devcontainer/document-versioning/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"name": "Document versioning pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"image": "ghcr.io/azure-samples/cosmos-db-design-patterns/devcontainer:latest",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/document-versioning/source/",
"updateContentCommand": "dotnet build function-app/function-app.csproj && dotnet build website/website.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
"extensions": "cosmosdb-preview"
}
},
"containerEnv": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"customizations": {
"codespaces": {
"openFiles": [
Expand All @@ -22,11 +13,7 @@
"vscode": {
"settings": {
"git.openRepositoryInParentFolders": "always"
},
"extensions": [
"ms-dotnettools.csharp",
"ms-azuretools.vscode-bicep"
]
}
}
}
}
17 changes: 2 additions & 15 deletions .devcontainer/event-sourcing/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"name": "Event sourcing pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"image": "ghcr.io/azure-samples/cosmos-db-design-patterns/devcontainer:latest",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/event-sourcing/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_EventSourcing.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
"extensions": "cosmosdb-preview"
}
},
"containerEnv": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"customizations": {
"codespaces": {
"openFiles": [
Expand All @@ -22,11 +13,7 @@
"vscode": {
"settings": {
"git.openRepositoryInParentFolders": "always"
},
"extensions": [
"ms-dotnettools.csharp",
"ms-azuretools.vscode-bicep"
]
}
}
}
}
17 changes: 2 additions & 15 deletions .devcontainer/materialized-view/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"name": "Materialized view pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"image": "ghcr.io/azure-samples/cosmos-db-design-patterns/devcontainer:latest",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/materialized-view/source/",
"updateContentCommand": "dotnet build data-generator/data-generator.csproj && dotnet build function-app/MaterializeViews.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
"extensions": "cosmosdb-preview"
}
},
"containerEnv": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"customizations": {
"codespaces": {
"openFiles": [
Expand All @@ -22,11 +13,7 @@
"vscode": {
"settings": {
"git.openRepositoryInParentFolders": "always"
},
"extensions": [
"ms-dotnettools.csharp",
"ms-azuretools.vscode-bicep"
]
}
}
}
}
17 changes: 2 additions & 15 deletions .devcontainer/preallocation/devcontainer.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
{
"name": "Preallocation pattern",
"image": "mcr.microsoft.com/devcontainers/dotnet:6.0",
"image": "ghcr.io/azure-samples/cosmos-db-design-patterns/devcontainer:latest",
"workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind",
"workspaceFolder": "/workspace/preallocation/source/",
"updateContentCommand": "dotnet build Cosmos_Patterns_Preallocation.csproj",
"features": {
"ghcr.io/devcontainers/features/azure-cli:1": {
"installBicep": true,
"extensions": "cosmosdb-preview"
}
},
"containerEnv": {
"ASPNETCORE_ENVIRONMENT": "Development"
},
"customizations": {
"codespaces": {
"openFiles": [
Expand All @@ -22,11 +13,7 @@
"vscode": {
"settings": {
"git.openRepositoryInParentFolders": "always"
},
"extensions": [
"ms-dotnettools.csharp",
"ms-azuretools.vscode-bicep"
]
}
}
}
}

0 comments on commit 7d8ef4b

Please sign in to comment.