Browse Source

Make default URLs work

davidfowl/common-services
David Fowler 1 year ago
committed by Reuben Bond
parent
commit
f76a8c61db
5 changed files with 20 additions and 19 deletions
  1. +1
    -5
      src/ApiGateways/Web.Bff.Shopping/aggregator/Properties/launchSettings.json
  2. +14
    -1
      src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.json
  3. +0
    -11
      src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.localhost.json
  4. +0
    -1
      src/Services/Identity/Identity.API/Properties/launchSettings.json
  5. +5
    -1
      src/Services/Identity/Identity.API/appsettings.json

+ 1
- 5
src/ApiGateways/Web.Bff.Shopping/aggregator/Properties/launchSettings.json View File

@ -3,12 +3,8 @@
"Web.Shopping.HttpAggregator": { "Web.Shopping.HttpAggregator": {
"commandName": "Project", "commandName": "Project",
"launchBrowser": true, "launchBrowser": true,
"applicationUrl": "http://localhost:61632/",
"applicationUrl": "http://localhost:5229/",
"environmentVariables": { "environmentVariables": {
"CatalogUrlHC": "http://localhost:5222/hc",
"OrderingUrlHC": "http://localhost:5224/hc",
"BasketUrlHC": "http://localhost:5221/hc",
"IdentityUrlHC": "http://localhost:5223/hc",
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
} }


+ 14
- 1
src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.json View File

@ -26,5 +26,18 @@
"Scopes": { "Scopes": {
"webshoppingagg": "Shopping Aggregator for Web Clients" "webshoppingagg": "Shopping Aggregator for Web Clients"
} }
}
},
"Urls": {
"Basket": "http://localhost:5221",
"Catalog": "http://localhost:5222",
"Orders": "http://localhost:5224",
"Identity": "http://localhost:5223",
"GrpcBasket": "http://localhost:6221",
"GrpcCatalog": "http://localhost:6222",
"GrpcOrdering": "http://localhost:6224"
},
"CatalogUrlHC": "http://localhost:5222/hc",
"OrderingUrlHC": "http://localhost:5224/hc",
"BasketUrlHC": "http://localhost:5221/hc",
"IdentityUrlHC": "http://localhost:5223/hc"
} }

+ 0
- 11
src/ApiGateways/Web.Bff.Shopping/aggregator/appsettings.localhost.json View File

@ -1,11 +0,0 @@
{
"urls": {
"basket": "http://localhost:55103",
"catalog": "http://localhost:55101",
"orders": "http://localhost:55102",
"identity": "http://localhost:55105",
"grpcBasket": "http://localhost:5580",
"grpcCatalog": "http://localhost:81",
"grpcOrdering": "http://localhost:5581"
}
}

+ 0
- 1
src/Services/Identity/Identity.API/Properties/launchSettings.json View File

@ -5,7 +5,6 @@
"launchBrowser": true, "launchBrowser": true,
"applicationUrl": "http://localhost:5223", "applicationUrl": "http://localhost:5223",
"environmentVariables": { "environmentVariables": {
"BasketApiClient": "http://localhost:5221",
"ASPNETCORE_ENVIRONMENT": "Development" "ASPNETCORE_ENVIRONMENT": "Development"
} }
} }


+ 5
- 1
src/Services/Identity/Identity.API/appsettings.json View File

@ -14,5 +14,9 @@
"InstrumentationKey": "" "InstrumentationKey": ""
}, },
"TokenLifetimeMinutes": 120, "TokenLifetimeMinutes": 120,
"PermanentTokenLifetimeDays": 365
"PermanentTokenLifetimeDays": 365,
"BasketApiClient": "http://localhost:5221",
"OrderingApiClient": "http://localhost:5224",
"WebShoppingAggClient": "http://localhost:5229",
"WebhooksApiClient": "http://localhost:5227"
} }

Loading…
Cancel
Save