Browse Source

Moved images to product service

Configuration continues
skoc10/publish-charts-artifacthub
malik masis 5 years ago
parent
commit
4228e8af2e
  1. 2
      apps/public-web/src/EShopOnAbp.PublicWeb/appsettings.json
  2. 13
      gateways/web-public/src/EShopOnAbp.WebPublicGateway/ocelot.json
  3. 12
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/EShopOnAbp.CatalogService.HttpApi.Host.csproj
  4. 0
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/asus.jpg
  5. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/beats.jpg
  6. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/bluecat.jpg
  7. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/lego.jpg
  8. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/nikon.jpg
  9. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/noimage.jpg
  10. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/oki.jpg
  11. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/playstation.jpg
  12. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/rampage.jpg
  13. BIN
      services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/sunny.jpg

2
apps/public-web/src/EShopOnAbp.PublicWeb/appsettings.json

@ -12,7 +12,7 @@
"AllowedHosts": "*",
"RemoteServices": {
"Default": {
"BaseUrl": "https://localhost:44373/"
"BaseUrl": "https://localhost:44354/"
}
},
"StringEncryption": {

13
gateways/web-public/src/EShopOnAbp.WebPublicGateway/ocelot.json

@ -52,6 +52,19 @@
"TimeoutValue": 2500
}
},
{
"ServiceKey": "Catalog Service",
"DownstreamPathTemplate": "/product-images/{everything}",
"DownstreamScheme": "https",
"DownstreamHostAndPorts": [
{
"Host": "localhost",
"Port": 44354
}
],
"UpstreamPathTemplate": "/product-images/{everything}",
"UpstreamHttpMethod": [ "Get" ]
},
{
"ServiceKey": "Basket Service",
"DownstreamPathTemplate": "/api/basket/{everything}",

12
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/EShopOnAbp.CatalogService.HttpApi.Host.csproj

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\..\..\..\common.props" />
@ -30,4 +30,14 @@
<None Remove="Logs\**" />
</ItemGroup>
<ItemGroup>
<None Remove="wwwroot\product-images\*.jpg" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="wwwroot\product-images\*.jpg">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</EmbeddedResource>
</ItemGroup>
</Project>

0
apps/public-web/src/EShopOnAbp.PublicWeb/wwwroot/product-images/asus.jpg → services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/asus.jpg

Before

Width:  |  Height:  |  Size: 33 KiB

After

Width:  |  Height:  |  Size: 33 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/beats.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/bluecat.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/lego.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 94 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/nikon.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 47 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/noimage.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.4 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/oki.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/playstation.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/rampage.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

BIN
services/catalog/src/EShopOnAbp.CatalogService.HttpApi.Host/wwwroot/product-images/sunny.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 66 KiB

Loading…
Cancel
Save