Skip to content

Commit

Permalink
Ticket purchase (Azure#76)
Browse files Browse the repository at this point in the history
* wip - initial migration

* bug fix - address sort search results

* add support to render ticket images

* add dev experience as valid URI for auth endpoint

* bugfix dev uri

* update azd down

* updates to guide

* made region text more prominent

* language updates to guide

* updates to guide for circuit breaker

* update the guide security

* updates to guide for cost opimization

* updates to guide for operational excellence

* removed queue based load leveling from guide

* remove reference to azure functions

* remove queue based load leveling from simulating

* update the guide's cost section

* re-org choose services content

* add azure front door, waf, and private dns/link

* add cost optimization principles

* update nuget package

* update guide

* update guide

* update the guide

* fix typo

* update the guide

* update the guide

* fix typo

* bug fix multiple web uri
  • Loading branch information
KSchlobohm committed Sep 23, 2022
1 parent b9cd1a0 commit 80aa5ab
Show file tree
Hide file tree
Showing 106 changed files with 722 additions and 4,478 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ code for the front-end and API web apps.

<br />

> You should use the `azd down` command to tear down an
> You should use the `azd down --force --purge --no-prompt` command to tear down an
> environment when you have finished with these services. If
> you want to recreate this deployment you will also need to
> delete the two Azure AD app services that were created. You
Expand Down
872 changes: 410 additions & 462 deletions ScalableWebApp.md

Large diffs are not rendered by default.

Binary file modified assets/Guide/ScalableWebAppArchitectureDiagram.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 5 additions & 6 deletions infra/azureStorage.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' = {
}
kind: 'StorageV2'

resource queueService 'queueServices@2021-09-01' = {
name: 'default'

resource queue 'queues@2021-09-01' = {
name: 'relecloudconcertevents'
resource blobServices 'blobServices@2022-05-01' = {
name:'default'
resource container 'containers@2022-05-01' = {
name: 'tickets'
}
}
}
Expand All @@ -30,7 +29,7 @@ resource existingKv 'Microsoft.KeyVault/vaults@2021-11-01-preview' existing = {

resource kvSecretStorageAcct 'Microsoft.KeyVault/vaults/secrets@2021-11-01-preview' = {
parent: existingKv
name: 'App--StorageAccount--QueueConnectionString'
name: 'App--StorageAccount--ConnectionString'
properties: {
value: 'DefaultEndpointsProtocol=https;AccountName=${storageAccount.name};AccountKey=${storageAccount.listKeys().keys[0].value};EndpointSuffix=core.windows.net'
}
Expand Down
2 changes: 1 addition & 1 deletion infra/createAppRegistrations.sh
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ if [[ ${#frontEndWebObjectId} -eq 0 ]]; then
--display-name $frontEndWebAppName \
--sign-in-audience AzureADMyOrg \
--app-roles '[{ "allowedMemberTypes": [ "User" ], "description": "Relecloud Administrator", "displayName": "Relecloud Administrator", "isEnabled": "true", "value": "Administrator" }]' \
--web-redirect-uris "$frontEndWebAppUri/signin-oidc" \
--web-redirect-uris $frontEndWebAppUri/signin-oidc https://localhost:7227/signin-oidc \
--enable-id-token-issuance \
--query appId --output tsv)

Expand Down
4 changes: 2 additions & 2 deletions infra/getSecretsForLocalDev.sh
Original file line number Diff line number Diff line change
Expand Up @@ -124,8 +124,8 @@ fi

if [[ $api_app ]]; then

# App:StorageAccount:QueueConnectionString
apiAppQueueConnStr=$(az keyvault secret show --vault-name $keyVaultName --name App--StorageAccount--QueueConnectionString -o tsv --query "value" 2> /dev/null)
# App:StorageAccount:ConnectionString
apiAppQueueConnStr=$(az keyvault secret show --vault-name $keyVaultName --name App--StorageAccount--ConnectionString -o tsv --query "value" 2> /dev/null)

# get 'App:RedisCache:ConnectionString' from Key Vault
apiAppRedisConnStr=$(az keyvault secret show --vault-name $keyVaultName --name App--RedisCache--ConnectionString -o tsv --query "value" 2> /dev/null)
Expand Down
264 changes: 0 additions & 264 deletions src/Relecloud.FunctionApp/.gitignore

This file was deleted.

8 changes: 0 additions & 8 deletions src/Relecloud.FunctionApp/EventProcessor/Event.cs

This file was deleted.

Loading

0 comments on commit 80aa5ab

Please sign in to comment.