Skip to content

Commit

Permalink
rely on default http port
Browse files Browse the repository at this point in the history
  • Loading branch information
nithyatsu committed Nov 13, 2023
1 parent 96be661 commit 88c5256
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions samples/eshop-dapr/infra/gateway.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ resource gateway 'Applications.Core/gateways@2023-10-01-preview' = {
// Identity API
{
path: '/identity/'
destination: 'http://identity-api:80'
destination: 'http://identity-api'
}
// Seq
{
Expand All @@ -26,18 +26,18 @@ resource gateway 'Applications.Core/gateways@2023-10-01-preview' = {
// Health
{
path: '/health'
destination: 'http://webstatus:80'
destination: 'http://webstatus'
}
// Webshopping API Gateway
{
path: '/api/'
destination: 'http://webshopping-gw:80'
destination: 'http://webshopping-gw'
replacePrefix: '/'
}
// Blazor Client
{
path: '/'
destination: 'http://blazor-client:80'
destination: 'http://blazor-client'
}
]
}
Expand Down
2 changes: 1 addition & 1 deletion samples/eshop-dapr/services/basket-api.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ resource basketApi 'Applications.Core/containers@2023-10-01-preview' = {
source: daprStateStore.id
}
identityApiRoute: {
source: 'http://identity-api:80'
source: 'http://identity-api'
}
seqRoute: {
source: 'http://seq:5340'
Expand Down
2 changes: 1 addition & 1 deletion samples/eshop-dapr/services/ordering-api.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ resource orderingApi 'Applications.Core/containers@2023-10-01-preview' = {
source: daprSecretStore.id
}
identityApiRoute: {
source: 'http://identity-api:80'
source: 'http://identity-api'
}
// Temporary workaround to grant required role to workload identity.
keyVault: {
Expand Down
4 changes: 2 additions & 2 deletions samples/eshop-dapr/services/webshopping-agg.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ resource webshoppingAgg 'Applications.Core/containers@2023-10-01-preview' = {
]
connections: {
identityApi: {
source: 'http://identity-api:80'
source: 'http://identity-api'
}
seq: {
source: 'http://seq:80'
source: 'http://seq'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions samples/eshop-dapr/services/webshopping-gw.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ resource webshoppingGw 'Applications.Core/containers@2023-10-01-preview' = {
]
connections: {
catalogApi: {
source: 'http://catalog-api:80'
source: 'http://catalog-api'
}
orderingApi: {
source: 'http://ordering-api:80'
source: 'http://ordering-api'
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion samples/eshop-dapr/services/webstatus.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ resource webstatus 'Applications.Core/containers@2023-10-01-preview' = {
]
connections: {
blazorClient: {
source: 'http://blazor-client:80'
source: 'http://blazor-client'
}
}
}
Expand Down

0 comments on commit 88c5256

Please sign in to comment.