commit
84bbd10d65
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/basket.api:latest</ImageName>
|
<ImageName>eshop/basket.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -29,6 +29,7 @@
|
|||||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/>
|
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
@ -41,7 +42,7 @@
|
|||||||
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
||||||
listen. Please note that if your service is partitioned, this port is shared with
|
listen. Please note that if your service is partitioned, this port is shared with
|
||||||
replicas of different partitions that are placed in your code. -->
|
replicas of different partitions that are placed in your code. -->
|
||||||
<Endpoint Name="BasketApiTypeEndpoint" Port="5103" UriScheme="http" PathSuffix="eShopOnServiceFabric/BasketApi"/>
|
<Endpoint Name="BasketApiTypeEndpoint" Port="5103" UriScheme="http"/>
|
||||||
</Endpoints>
|
</Endpoints>
|
||||||
</Resources>
|
</Resources>
|
||||||
</ServiceManifest>
|
</ServiceManifest>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/catalog.api:latest</ImageName>
|
<ImageName>eshop/catalog.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -44,7 +44,7 @@
|
|||||||
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
||||||
listen. Please note that if your service is partitioned, this port is shared with
|
listen. Please note that if your service is partitioned, this port is shared with
|
||||||
replicas of different partitions that are placed in your code. -->
|
replicas of different partitions that are placed in your code. -->
|
||||||
<Endpoint Name="CatalogApiTypeEndpoint" Port="5101" UriScheme="http" PathSuffix="eShopOnServiceFabric/CatalogApi"/>
|
<Endpoint Name="CatalogApiTypeEndpoint" Port="5101" UriScheme="http"/>
|
||||||
</Endpoints>
|
</Endpoints>
|
||||||
</Resources>
|
</Resources>
|
||||||
</ServiceManifest>
|
</ServiceManifest>
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/locations.api:latest</ImageName>
|
<ImageName>eshop/locations.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -30,6 +30,7 @@
|
|||||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/>
|
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
@ -42,7 +43,7 @@
|
|||||||
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
||||||
listen. Please note that if your service is partitioned, this port is shared with
|
listen. Please note that if your service is partitioned, this port is shared with
|
||||||
replicas of different partitions that are placed in your code. -->
|
replicas of different partitions that are placed in your code. -->
|
||||||
<Endpoint Name="LocationsApiTypeEndpoint" Port="5109" PathSuffix="eShopOnServiceFabric/LocationsApi"/>
|
<Endpoint Name="LocationsApiTypeEndpoint" Port="5109"/>
|
||||||
</Endpoints>
|
</Endpoints>
|
||||||
</Resources>
|
</Resources>
|
||||||
</ServiceManifest>
|
</ServiceManifest>
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/marketing.api:latest</ImageName>
|
<ImageName>eshop/marketing.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -36,6 +36,7 @@
|
|||||||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/>
|
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
@ -48,7 +49,7 @@
|
|||||||
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
||||||
listen. Please note that if your service is partitioned, this port is shared with
|
listen. Please note that if your service is partitioned, this port is shared with
|
||||||
replicas of different partitions that are placed in your code. -->
|
replicas of different partitions that are placed in your code. -->
|
||||||
<Endpoint Name="MarketingApiTypeEndpoint" Port="5110" PathSuffix="eShopOnServiceFabric/MarketingApi"/>
|
<Endpoint Name="MarketingApiTypeEndpoint" Port="5110"/>
|
||||||
</Endpoints>
|
</Endpoints>
|
||||||
</Resources>
|
</Resources>
|
||||||
</ServiceManifest>
|
</ServiceManifest>
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/ordering.api:latest</ImageName>
|
<ImageName>eshop/ordering.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -32,6 +32,7 @@
|
|||||||
<EnvironmentVariable Name="CheckUpdateTime" Value="30000"/>
|
<EnvironmentVariable Name="CheckUpdateTime" Value="30000"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
@ -44,7 +45,7 @@
|
|||||||
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
||||||
listen. Please note that if your service is partitioned, this port is shared with
|
listen. Please note that if your service is partitioned, this port is shared with
|
||||||
replicas of different partitions that are placed in your code. -->
|
replicas of different partitions that are placed in your code. -->
|
||||||
<Endpoint Name="OrderingApiTypeEndpoint" Port="5102" UriScheme="http" PathSuffix="eShopOnServiceFabric/OrderingApi"/>
|
<Endpoint Name="OrderingApiTypeEndpoint" Port="5102" UriScheme="http"/>
|
||||||
</Endpoints>
|
</Endpoints>
|
||||||
</Resources>
|
</Resources>
|
||||||
</ServiceManifest>
|
</ServiceManifest>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/payment.api:latest</ImageName>
|
<ImageName>eshop/payment.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -38,7 +38,7 @@
|
|||||||
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
<!-- This endpoint is used by the communication listener to obtain the port on which to
|
||||||
listen. Please note that if your service is partitioned, this port is shared with
|
listen. Please note that if your service is partitioned, this port is shared with
|
||||||
replicas of different partitions that are placed in your code. -->
|
replicas of different partitions that are placed in your code. -->
|
||||||
<Endpoint Name="PaymentApiTypeEndpoint" Port="5108" PathSuffix="eShopOnServiceFabric/PaymentApi"/>
|
<Endpoint Name="PaymentApiTypeEndpoint" Port="5108"/>
|
||||||
</Endpoints>
|
</Endpoints>
|
||||||
</Resources>
|
</Resources>
|
||||||
</ServiceManifest>
|
</ServiceManifest>
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/identity.api:latest</ImageName>
|
<ImageName>eshop/identity.api:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/webmvc:latest</ImageName>
|
<ImageName>eshop/webmvc:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -36,6 +36,7 @@
|
|||||||
<EnvironmentVariable Name="MarketingUrlHC" Value="http://marketingapi.eshoponservicefabric:5110/hc"/>
|
<EnvironmentVariable Name="MarketingUrlHC" Value="http://marketingapi.eshoponservicefabric:5110/hc"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/webspa:latest</ImageName>
|
<ImageName>eshop/webspa:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/webstatus:latest</ImageName>
|
<ImageName>eshop/webstatus:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/basket.api-win</ImageName>
|
<ImageName>eshop/basket.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -31,6 +31,7 @@
|
|||||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
|
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/catalog.api-win</ImageName>
|
<ImageName>eshop/catalog.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/locations.api-win</ImageName>
|
<ImageName>eshop/locations.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -32,6 +32,7 @@
|
|||||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
|
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/marketing.api-win</ImageName>
|
<ImageName>eshop/marketing.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -38,6 +38,7 @@
|
|||||||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/>
|
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/ordering.api-win</ImageName>
|
<ImageName>eshop/ordering.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -34,6 +34,7 @@
|
|||||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
|
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/payment.api-win</ImageName>
|
<ImageName>eshop/payment.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/identity.api-win</ImageName>
|
<ImageName>eshop/identity.api-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/webmvc-win</ImageName>
|
<ImageName>eshop/webmvc-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
@ -36,6 +36,7 @@
|
|||||||
<EnvironmentVariable Name="MarketingUrlHC" Value="http://marketingapi.eshoponservicefabric:5110/hc"/>
|
<EnvironmentVariable Name="MarketingUrlHC" Value="http://marketingapi.eshoponservicefabric:5110/hc"/>
|
||||||
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
|
||||||
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
|
||||||
|
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
|
||||||
</EnvironmentVariables>
|
</EnvironmentVariables>
|
||||||
</CodePackage>
|
</CodePackage>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/webspa-win</ImageName>
|
<ImageName>eshop/webspa-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<EntryPoint>
|
<EntryPoint>
|
||||||
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
|
||||||
<ContainerHost>
|
<ContainerHost>
|
||||||
<ImageName>eshop/webstatus-win</ImageName>
|
<ImageName>eshop/webstatus-win:#{tag}#</ImageName>
|
||||||
</ContainerHost>
|
</ContainerHost>
|
||||||
</EntryPoint>
|
</EntryPoint>
|
||||||
<!-- Pass environment variables to your container: -->
|
<!-- Pass environment variables to your container: -->
|
||||||
|
@ -21,6 +21,6 @@ try {
|
|||||||
Write-Host "Rule found"
|
Write-Host "Rule found"
|
||||||
}
|
}
|
||||||
catch [Exception] {
|
catch [Exception] {
|
||||||
New-NetFirewallRule -DisplayName eShopOnContainers-Inbound -Confirm -Description "eShopOnContainers Inbound Rule for port range 5100-5110" -LocalAddress Any -LocalPort 5100-5110 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Inbound
|
New-NetFirewallRule -DisplayName eShopOnContainers-Inbound -Confirm -Description "eShopOnContainers Inbound Rule for port range 5100-5150" -LocalAddress Any -LocalPort 5100-5150 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Inbound
|
||||||
New-NetFirewallRule -DisplayName eShopOnContainers-Outbound -Confirm -Description "eShopOnContainers Outbound Rule for port range 5100-5110" -LocalAddress Any -LocalPort 5100-5110 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Outbound
|
New-NetFirewallRule -DisplayName eShopOnContainers-Outbound -Confirm -Description "eShopOnContainers Outbound Rule for port range 5100-5150" -LocalAddress Any -LocalPort 5100-5150 -Protocol tcp -RemoteAddress Any -RemotePort Any -Direction Outbound
|
||||||
}
|
}
|
@ -2,7 +2,7 @@ version: '3'
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
ci-build:
|
ci-build:
|
||||||
image: microsoft/aspnetcore-build:2.0
|
image: microsoft/aspnetcore-build:2.0.2 #Depending on the bug below, you can also try this other SDK image: microsoft/aspnetcore-build:1.0-2.0-2017-10 or microsoft/aspnetcore-build:1.0-2.0
|
||||||
volumes:
|
volumes:
|
||||||
- .:/src
|
- .:/src
|
||||||
- ./cli-linux:/cli-linux
|
- ./cli-linux:/cli-linux
|
||||||
@ -11,8 +11,8 @@ services:
|
|||||||
# Next line is using the .sln file to compile all the projects.
|
# Next line is using the .sln file to compile all the projects.
|
||||||
# Sometime there is an issue in msbuild exits the process before finishing building the bits: (https://github.com/Microsoft/msbuild/issues/2153)
|
# Sometime there is an issue in msbuild exits the process before finishing building the bits: (https://github.com/Microsoft/msbuild/issues/2153)
|
||||||
# Random error: error MSB4017: The build stopped unexpectedly be cause of an unexpected logger failure.
|
# Random error: error MSB4017: The build stopped unexpectedly be cause of an unexpected logger failure.
|
||||||
#command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet restore ./eShopOnContainers-ServicesAndWebApps.sln --verbosity minimal && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish --verbosity minimal"
|
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && dotnet publish ./eShopOnContainers-ServicesAndWebApps.sln -c Release -o ./obj/Docker/publish"
|
||||||
|
|
||||||
# NOTE: Using build-bits-linux.sh from Linux build container exits before ending.
|
# NOTE: Using build-bits-linux.sh from Linux build container exits before ending.
|
||||||
command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
|
#command: /bin/bash -c "pushd ./src/Web/WebSPA && npm rebuild node-sass && popd && pushd /cli-linux && ./build-bits-linux.sh /src"
|
||||||
|
|
@ -212,3 +212,12 @@ services:
|
|||||||
nosql.data:
|
nosql.data:
|
||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
|
|
||||||
|
basket.data:
|
||||||
|
ports:
|
||||||
|
- "6379:6379"
|
||||||
|
|
||||||
|
rabbitmq:
|
||||||
|
ports:
|
||||||
|
- "15672:15672"
|
||||||
|
- "5672:5672"
|
@ -6,7 +6,9 @@ version: '3'
|
|||||||
# but values present in the environment vars at runtime will always override those defined inside the .env file
|
# but values present in the environment vars at runtime will always override those defined inside the .env file
|
||||||
# An external IP or DNS name has to be used when testing the Web apps and the Xamarin apps from remote machines/devices using the same WiFi, for instance.
|
# An external IP or DNS name has to be used when testing the Web apps and the Xamarin apps from remote machines/devices using the same WiFi, for instance.
|
||||||
#
|
#
|
||||||
# Set ASPNETCORE_ENVIRONMENT=Development to get errors while testing.
|
# IMPORTANT: Note that this compose file uses ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP instead of ESHOP_EXTERNAL_DNS_NAME_OR_IP
|
||||||
|
|
||||||
|
# Set ASPNETCORE_ENVIRONMENT=Development, instead Production, if you want to show up errors while testing.
|
||||||
#
|
#
|
||||||
# You need to start it with the following CLI command:
|
# You need to start it with the following CLI command:
|
||||||
# docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
# docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
||||||
@ -21,7 +23,13 @@ services:
|
|||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
- UseLoadTest=${USE_LOADTEST:-False}
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "5103:80"
|
- "5103:80"
|
||||||
|
|
||||||
@ -32,11 +40,15 @@ services:
|
|||||||
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_CATALOG_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word}
|
||||||
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- PicBaseUrl=${ESHOP_AZURE_STORAGE_CATALOG_URL:-http://localhost:5101/api/v1/catalog/items/[0]/pic/} #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
- AzureStorageAccountName=${ESHOP_AZURE_STORAGE_CATALOG_NAME}
|
||||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
|
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_CATALOG_KEY}
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
- AzureStorageEnabled=False
|
- AzureStorageEnabled=False
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
ports:
|
ports:
|
||||||
- "5101:80"
|
- "5101:80"
|
||||||
|
|
||||||
@ -45,14 +57,16 @@ services:
|
|||||||
- ASPNETCORE_ENVIRONMENT=Production
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- SpaClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5104
|
- SpaClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5104
|
||||||
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback
|
- XamarinCallback=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105/xamarincallback #localhost do not work for UWP login, so we have to use "external" IP always
|
||||||
- ConnectionStrings__DefaultConnection=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
- ConnectionString=${ESHOP_AZURE_IDENTITY_DB:-Server=sql.data;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word}
|
||||||
- MvcClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- MvcClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5100 #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- LocationApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
- LocationApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
||||||
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
- MarketingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
||||||
- BasketApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
|
- BasketApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
|
||||||
- OrderingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5102
|
- OrderingApiClient=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5102
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
ports:
|
ports:
|
||||||
- "5105:80"
|
- "5105:80"
|
||||||
|
|
||||||
@ -64,10 +78,15 @@ services:
|
|||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
- CheckUpdateTime=30000
|
- CheckUpdateTime=30000
|
||||||
- GracePeriodTime=1
|
- GracePeriodTime=1
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
- UseLoadTest=${USE_LOADTEST:-False}
|
||||||
ports:
|
ports:
|
||||||
- "5102:80"
|
- "5102:80"
|
||||||
|
|
||||||
@ -79,6 +98,8 @@ services:
|
|||||||
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
- MongoConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
||||||
- MongoDatabase=MarketingDb
|
- MongoDatabase=MarketingDb
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
- CampaignDetailFunctionUri=${ESHOP_AZUREFUNC_CAMPAIGN_DETAILS_URI}
|
||||||
@ -87,6 +108,9 @@ services:
|
|||||||
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
|
- AzureStorageAccountKey=${ESHOP_AZURE_STORAGE_MARKETING_KEY}
|
||||||
- AzureServiceBusEnabled=False
|
- AzureServiceBusEnabled=False
|
||||||
- AzureStorageEnabled=False
|
- AzureStorageEnabled=False
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
- UseLoadTest=${USE_LOADTEST:-False}
|
||||||
ports:
|
ports:
|
||||||
- "5110:80"
|
- "5110:80"
|
||||||
|
|
||||||
@ -96,15 +120,19 @@ services:
|
|||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
- CatalogUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5101
|
- CatalogUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5101
|
||||||
- OrderingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5102
|
- OrderingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5102
|
||||||
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your host's firewall at range 5100-5110.
|
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: You need to open your local dev-machine firewall at range 5100-5105. at range 5100-5105.
|
||||||
- BasketUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
|
- BasketUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5103
|
||||||
- MarketingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
- MarketingUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5110
|
||||||
|
- LocationsUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5109
|
||||||
- CatalogUrlHC=http://catalog.api/hc
|
- CatalogUrlHC=http://catalog.api/hc
|
||||||
- OrderingUrlHC=http://ordering.api/hc
|
- OrderingUrlHC=http://ordering.api/hc
|
||||||
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
||||||
- BasketUrlHC=http://basket.api/hc
|
- BasketUrlHC=http://basket.api/hc
|
||||||
- MarketingUrlHC=http://marketing.api/hc
|
- MarketingUrlHC=http://marketing.api/hc
|
||||||
|
- PaymentUrlHC=http://payment.api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
ports:
|
ports:
|
||||||
- "5104:80"
|
- "5104:80"
|
||||||
|
|
||||||
@ -115,13 +143,71 @@ services:
|
|||||||
- CatalogUrl=http://catalog.api
|
- CatalogUrl=http://catalog.api
|
||||||
- OrderingUrl=http://ordering.api
|
- OrderingUrl=http://ordering.api
|
||||||
- BasketUrl=http://basket.api
|
- BasketUrl=http://basket.api
|
||||||
- IdentityUrl=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105 #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
- LocationsUrl=http://locations.api
|
||||||
- MarketingUrl=http://marketing.api #Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser.
|
- IdentityUrl=http://10.0.75.1:5105
|
||||||
#Remote: Use ${ESHOP_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
|
- MarketingUrl=http://marketing.api #Local: Use 10.0.75.1 in a "Docker for Windows" environment, if using "localhost" from browser. #Remote: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP} if using external IP or DNS name from browser.
|
||||||
|
- CatalogUrlHC=http://catalog.api/hc
|
||||||
|
- OrderingUrlHC=http://ordering.api/hc
|
||||||
|
- IdentityUrlHC=http://identity.api/hc #Local: Use ${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}, if using external IP or DNS name from browser.
|
||||||
|
- BasketUrlHC=http://basket.api/hc
|
||||||
|
- MarketingUrlHC=http://marketing.api/hc
|
||||||
|
- PaymentUrlHC=http://payment.api/hc
|
||||||
- UseCustomizationData=True
|
- UseCustomizationData=True
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
- UseLoadTest=${USE_LOADTEST:-False}
|
||||||
ports:
|
ports:
|
||||||
- "5100:80"
|
- "5100:80"
|
||||||
|
|
||||||
|
webstatus:
|
||||||
|
environment:
|
||||||
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
|
- CatalogUrl=http://catalog.api/hc
|
||||||
|
- OrderingUrl=http://ordering.api/hc
|
||||||
|
- BasketUrl=http://basket.api/hc
|
||||||
|
- IdentityUrl=http://identity.api/hc
|
||||||
|
- LocationsUrl=http://locations.api/hc
|
||||||
|
- MarketingUrl=http://marketing.api/hc
|
||||||
|
- PaymentUrl=http://payment.api/hc
|
||||||
|
- mvc=http://webmvc/hc
|
||||||
|
- spa=http://webspa/hc
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
ports:
|
||||||
|
- "5107:80"
|
||||||
|
|
||||||
|
payment.api:
|
||||||
|
environment:
|
||||||
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
|
- AzureServiceBusEnabled=False
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
ports:
|
||||||
|
- "5108:80"
|
||||||
|
|
||||||
|
locations.api:
|
||||||
|
environment:
|
||||||
|
- ASPNETCORE_ENVIRONMENT=Production
|
||||||
|
- ASPNETCORE_URLS=http://0.0.0.0:80
|
||||||
|
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
||||||
|
- Database=LocationsDb
|
||||||
|
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
||||||
|
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
||||||
|
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
||||||
|
- EventBusUserName=${ESHOP_SERVICE_BUS_USERNAME}
|
||||||
|
- EventBusPassword=${ESHOP_SERVICE_BUS_PASSWORD}
|
||||||
|
- AzureServiceBusEnabled=False
|
||||||
|
- ApplicationInsights__InstrumentationKey=${INSTRUMENTATION_KEY}
|
||||||
|
- OrchestratorType=${ORCHESTRATOR_TYPE}
|
||||||
|
- UseLoadTest=${USE_LOADTEST:-False}
|
||||||
|
ports:
|
||||||
|
- "5109:80"
|
||||||
|
|
||||||
sql.data:
|
sql.data:
|
||||||
environment:
|
environment:
|
||||||
- MSSQL_SA_PASSWORD=Pass@word
|
- MSSQL_SA_PASSWORD=Pass@word
|
||||||
@ -134,40 +220,11 @@ services:
|
|||||||
ports:
|
ports:
|
||||||
- "27017:27017"
|
- "27017:27017"
|
||||||
|
|
||||||
webstatus:
|
basket.data:
|
||||||
environment:
|
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
||||||
- CatalogUrl=http://catalog.api/hc
|
|
||||||
- OrderingUrl=http://ordering.api/hc
|
|
||||||
- BasketUrl=http://basket.api/hc
|
|
||||||
- IdentityUrl=http://identity.api/hc
|
|
||||||
- LocationsUrl=http://locations.api/hc
|
|
||||||
- MarketingUrl=http://marketing.api/hc
|
|
||||||
- mvc=http://webmvc/hc
|
|
||||||
- spa=http://webspa/hc
|
|
||||||
|
|
||||||
ports:
|
ports:
|
||||||
- "5107:80"
|
- "6379:6379"
|
||||||
|
|
||||||
payment.api:
|
rabbitmq:
|
||||||
environment:
|
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:5108
|
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
|
||||||
- AzureServiceBusEnabled=False
|
|
||||||
ports:
|
ports:
|
||||||
- "5108:80"
|
- "15672:15672"
|
||||||
|
- "5672:5672"
|
||||||
locations.api:
|
|
||||||
environment:
|
|
||||||
- ASPNETCORE_ENVIRONMENT=Production
|
|
||||||
- ASPNETCORE_URLS=http://0.0.0.0:80
|
|
||||||
- ConnectionString=${ESHOP_AZURE_COSMOSDB:-mongodb://nosql.data}
|
|
||||||
- Database=LocationsDb
|
|
||||||
- identityUrl=http://identity.api #Local: You need to open your local dev-machine firewall at range 5100-5110.
|
|
||||||
- IdentityUrlExternal=http://${ESHOP_PROD_EXTERNAL_DNS_NAME_OR_IP}:5105
|
|
||||||
- EventBusConnection=${ESHOP_AZURE_SERVICE_BUS:-rabbitmq}
|
|
||||||
- AzureServiceBusEnabled=False
|
|
||||||
ports:
|
|
||||||
- "5109:80"
|
|
@ -104,11 +104,6 @@ services:
|
|||||||
|
|
||||||
basket.data:
|
basket.data:
|
||||||
image: redis
|
image: redis
|
||||||
ports:
|
|
||||||
- "6379:6379"
|
|
||||||
|
|
||||||
rabbitmq:
|
rabbitmq:
|
||||||
image: rabbitmq:3-management
|
image: rabbitmq:3-management
|
||||||
ports:
|
|
||||||
- "15672:15672"
|
|
||||||
- "5672:5672"
|
|
@ -22,6 +22,7 @@ data:
|
|||||||
OrderingSqlDb: Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;
|
OrderingSqlDb: Server=sql-data;Initial Catalog=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word;
|
||||||
PaymentBus: rabbitmq
|
PaymentBus: rabbitmq
|
||||||
UseAzureServiceBus: "False"
|
UseAzureServiceBus: "False"
|
||||||
|
EnableLoadTest: "False"
|
||||||
keystore: keystore-data
|
keystore: keystore-data
|
||||||
GracePeriodManager_GracePeriodTime: "1"
|
GracePeriodManager_GracePeriodTime: "1"
|
||||||
GracePeriodManager_CheckUpdateTime: "15000"
|
GracePeriodManager_CheckUpdateTime: "15000"
|
||||||
|
@ -42,6 +42,11 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: urls
|
name: urls
|
||||||
key: IdentityUrl
|
key: IdentityUrl
|
||||||
|
- name: UseLoadTest
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: externalcfg
|
||||||
|
key: EnableLoadTest
|
||||||
- name: OrchestratorType
|
- name: OrchestratorType
|
||||||
value: 'K8S'
|
value: 'K8S'
|
||||||
ports:
|
ports:
|
||||||
@ -269,6 +274,11 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: externalcfg
|
name: externalcfg
|
||||||
key: Instrumentation_Key
|
key: Instrumentation_Key
|
||||||
|
- name: UseLoadTest
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: externalcfg
|
||||||
|
key: EnableLoadTest
|
||||||
- name: OrchestratorType
|
- name: OrchestratorType
|
||||||
value: 'K8S'
|
value: 'K8S'
|
||||||
ports:
|
ports:
|
||||||
@ -344,6 +354,11 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: externalcfg
|
name: externalcfg
|
||||||
key: Instrumentation_Key
|
key: Instrumentation_Key
|
||||||
|
- name: UseLoadTest
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: externalcfg
|
||||||
|
key: EnableLoadTest
|
||||||
- name: OrchestratorType
|
- name: OrchestratorType
|
||||||
value: 'K8S'
|
value: 'K8S'
|
||||||
ports:
|
ports:
|
||||||
@ -429,6 +444,11 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: externalcfg
|
name: externalcfg
|
||||||
key: Instrumentation_Key
|
key: Instrumentation_Key
|
||||||
|
- name: UseLoadTest
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: externalcfg
|
||||||
|
key: EnableLoadTest
|
||||||
- name: OrchestratorType
|
- name: OrchestratorType
|
||||||
value: 'K8S'
|
value: 'K8S'
|
||||||
ports:
|
ports:
|
||||||
@ -601,6 +621,11 @@ spec:
|
|||||||
configMapKeyRef:
|
configMapKeyRef:
|
||||||
name: externalcfg
|
name: externalcfg
|
||||||
key: Instrumentation_Key
|
key: Instrumentation_Key
|
||||||
|
- name: UseLoadTest
|
||||||
|
valueFrom:
|
||||||
|
configMapKeyRef:
|
||||||
|
name: externalcfg
|
||||||
|
key: EnableLoadTest
|
||||||
- name: OrchestratorType
|
- name: OrchestratorType
|
||||||
value: 'K8S'
|
value: 'K8S'
|
||||||
ports:
|
ports:
|
||||||
|
@ -199,7 +199,7 @@ namespace Microsoft.eShopOnContainers.Services.Basket.API
|
|||||||
app.UseSwagger()
|
app.UseSwagger()
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "My API V1");
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "Basket.API V1");
|
||||||
c.ConfigureOAuth2("basketswaggerui", "", "", "Basket Swagger UI");
|
c.ConfigureOAuth2("basketswaggerui", "", "", "Basket Swagger UI");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -198,7 +198,7 @@
|
|||||||
app.UseSwagger()
|
app.UseSwagger()
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "Catalog.API V1");
|
||||||
});
|
});
|
||||||
|
|
||||||
ConfigureEventBus(app);
|
ConfigureEventBus(app);
|
||||||
|
@ -171,7 +171,7 @@ namespace Microsoft.eShopOnContainers.Services.Locations.API
|
|||||||
app.UseSwagger()
|
app.UseSwagger()
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "My API V1");
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "Locations.API V1");
|
||||||
c.ConfigureOAuth2("locationsswaggerui", "", "", "Locations Swagger UI");
|
c.ConfigureOAuth2("locationsswaggerui", "", "", "Locations Swagger UI");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -203,7 +203,7 @@
|
|||||||
app.UseSwagger()
|
app.UseSwagger()
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "My API V1");
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "Marketing.API V1");
|
||||||
c.ConfigureOAuth2("marketingswaggerui", "", "", "Marketing Swagger UI");
|
c.ConfigureOAuth2("marketingswaggerui", "", "", "Marketing Swagger UI");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -225,7 +225,7 @@
|
|||||||
app.UseSwagger()
|
app.UseSwagger()
|
||||||
.UseSwaggerUI(c =>
|
.UseSwaggerUI(c =>
|
||||||
{
|
{
|
||||||
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "My API V1");
|
c.SwaggerEndpoint($"{ (!string.IsNullOrEmpty(pathBase) ? pathBase : string.Empty) }/swagger/v1/swagger.json", "Ordering.API V1");
|
||||||
c.ConfigureOAuth2("orderingswaggerui", "", "", "Ordering Swagger UI");
|
c.ConfigureOAuth2("orderingswaggerui", "", "", "Ordering Swagger UI");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<Scenarios>
|
<Scenarios>
|
||||||
<Scenario Name="Basket" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
<Scenario Name="Basket" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
||||||
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
||||||
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="10" StepDuration="10" StepRampTime="10" />
|
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="2" StepDuration="10" StepRampTime="10" />
|
||||||
<TestMix>
|
<TestMix>
|
||||||
<TestProfile Name="GetBasket" Path="basket.api\getbasket.webtest" Id="59f41ad4-349f-4383-8858-0005321e3a68" Percentage="59" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetBasket" Path="basket.api\getbasket.webtest" Id="59f41ad4-349f-4383-8858-0005321e3a68" Percentage="59" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<TestProfile Name="AddBasket" Path="basket.api\addbasket.webtest" Id="b50574ad-a2bf-4ecd-923d-bf007eb02d90" Percentage="32" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="AddBasket" Path="basket.api\addbasket.webtest" Id="b50574ad-a2bf-4ecd-923d-bf007eb02d90" Percentage="32" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<Scenarios>
|
<Scenarios>
|
||||||
<Scenario Name="Campaigns" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
<Scenario Name="Campaigns" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
||||||
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
||||||
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="10" StepDuration="10" StepRampTime="10" />
|
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="2" StepDuration="10" StepRampTime="10" />
|
||||||
<TestMix>
|
<TestMix>
|
||||||
<TestProfile Name="GetAllCampaigns" Path="marketing.api\getallcampaigns.webtest" Id="19336ef5-34ae-4bf8-90df-c8d794558f71" Percentage="34" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetAllCampaigns" Path="marketing.api\getallcampaigns.webtest" Id="19336ef5-34ae-4bf8-90df-c8d794558f71" Percentage="34" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<TestProfile Name="GetUserCampaigns" Path="marketing.api\getusercampaigns.webtest" Id="735da61b-a88b-4f23-9d16-c232a540471a" Percentage="33" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetUserCampaigns" Path="marketing.api\getusercampaigns.webtest" Id="735da61b-a88b-4f23-9d16-c232a540471a" Percentage="33" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
@ -45,7 +45,7 @@
|
|||||||
</BrowserMix>
|
</BrowserMix>
|
||||||
<NetworkMix>
|
<NetworkMix>
|
||||||
<NetworkProfile Percentage="100">
|
<NetworkProfile Percentage="100">
|
||||||
<Network Name="LAN" BandwidthInKbps="0" NetworkProfileConfigurationXml="" />
|
<Network Name="LAN" BandwidthInKbps="0" NetworkProfileConfigurationXml="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">0</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">0</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" />
|
||||||
</NetworkProfile>
|
</NetworkProfile>
|
||||||
</NetworkMix>
|
</NetworkMix>
|
||||||
</Scenario>
|
</Scenario>
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<Scenarios>
|
<Scenarios>
|
||||||
<Scenario Name="Catalog" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
<Scenario Name="Catalog" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
||||||
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
||||||
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="10" StepDuration="10" StepRampTime="10" />
|
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="2" StepDuration="10" StepRampTime="10" />
|
||||||
<TestMix>
|
<TestMix>
|
||||||
<TestProfile Name="GetCatalogBrands" Path="catalog.api\getcatalogbrands.webtest" Id="df9fded6-bc66-4bc8-b812-49b459175ef3" Percentage="9" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetCatalogBrands" Path="catalog.api\getcatalogbrands.webtest" Id="df9fded6-bc66-4bc8-b812-49b459175ef3" Percentage="9" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<TestProfile Name="GetCatalogTypes" Path="catalog.api\getcatalogtypes.webtest" Id="7df20b29-d5c3-447b-b73d-95c63e9c4061" Percentage="9" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetCatalogTypes" Path="catalog.api\getcatalogtypes.webtest" Id="7df20b29-d5c3-447b-b73d-95c63e9c4061" Percentage="9" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<Scenarios>
|
<Scenarios>
|
||||||
<Scenario Name="Locations" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
<Scenario Name="Locations" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
||||||
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
||||||
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="2" StepUsers="10" StepDuration="10" StepRampTime="0" />
|
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="2" StepDuration="10" StepRampTime="10" />
|
||||||
<TestMix>
|
<TestMix>
|
||||||
<TestProfile Name="CreateOrUpdateUserLocation" Path="location.api\createorupdateuserlocation.webtest" Id="06bd2768-7d01-40bf-8551-722afe4f3ed8" Percentage="46" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="CreateOrUpdateUserLocation" Path="location.api\createorupdateuserlocation.webtest" Id="06bd2768-7d01-40bf-8551-722afe4f3ed8" Percentage="46" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<TestProfile Name="GetAllLocations" Path="location.api\getalllocations.webtest" Id="71241906-9e8a-4f2b-bdd7-20fa24cc7297" Percentage="11" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetAllLocations" Path="location.api\getalllocations.webtest" Id="71241906-9e8a-4f2b-bdd7-20fa24cc7297" Percentage="11" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
<Scenarios>
|
<Scenarios>
|
||||||
<Scenario Name="OrderProductsLoadTest" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
<Scenario Name="OrderProductsLoadTest" DelayBetweenIterations="0" PercentNewUsers="0" IPSwitching="false" TestMixType="PercentageOfTestsStarted" ApplyDistributionToPacingDelay="true" MaxTestIterations="0" DisableDuringWarmup="false" DelayStartTime="0" AllowedAgents="">
|
||||||
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
<ThinkProfile Value="0.2" Pattern="NormalDistribution" />
|
||||||
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="10" StepDuration="10" StepRampTime="10" />
|
<LoadProfile Pattern="Step" InitialUsers="1" MaxUsers="50" StepUsers="2" StepDuration="10" StepRampTime="10" />
|
||||||
<TestMix>
|
<TestMix>
|
||||||
<TestProfile Name="GetItems" Path="catalog.api\getitems.webtest" Id="e527de7e-beff-4824-af52-dda763fd5e6c" Percentage="19" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetItems" Path="catalog.api\getitems.webtest" Id="e527de7e-beff-4824-af52-dda763fd5e6c" Percentage="19" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
<TestProfile Name="GetCatalogTypes" Path="catalog.api\getcatalogtypes.webtest" Id="7df20b29-d5c3-447b-b73d-95c63e9c4061" Percentage="15" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
<TestProfile Name="GetCatalogTypes" Path="catalog.api\getcatalogtypes.webtest" Id="7df20b29-d5c3-447b-b73d-95c63e9c4061" Percentage="15" Type="Microsoft.VisualStudio.TestTools.WebStress.DeclarativeWebTestElement, Microsoft.VisualStudio.QualityTools.LoadTest, Version=15.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
|
||||||
@ -49,6 +49,11 @@
|
|||||||
</Browser>
|
</Browser>
|
||||||
</BrowserProfile>
|
</BrowserProfile>
|
||||||
</BrowserMix>
|
</BrowserMix>
|
||||||
|
<NetworkMix>
|
||||||
|
<NetworkProfile Percentage="100">
|
||||||
|
<Network Name="LAN" BandwidthInKbps="0" NetworkProfileConfigurationXml="<Emulation><VirtualChannel name="defaultChannel"><FilterList/><VirtualLink instances="1" name="defaultLink"><LinkRule dir="upstream"><Bandwidth><Speed unit="kbps">0</Speed></Bandwidth></LinkRule><LinkRule dir="downstream"><Bandwidth><Speed unit="kbps">0</Speed></Bandwidth></LinkRule></VirtualLink></VirtualChannel></Emulation>" />
|
||||||
|
</NetworkProfile>
|
||||||
|
</NetworkMix>
|
||||||
</Scenario>
|
</Scenario>
|
||||||
</Scenarios>
|
</Scenarios>
|
||||||
<CounterSets>
|
<CounterSets>
|
||||||
|
@ -25,7 +25,7 @@
|
|||||||
<FormPostParameter Name="description" Value=".NET Black & White Mug" RecordedValue=".NET Black & White Mug" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="description" Value=".NET Black & White Mug" RecordedValue=".NET Black & White Mug" CorrelationBinding="" UrlEncode="True" />
|
||||||
<FormPostParameter Name="id" Value="2" RecordedValue="2" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="id" Value="2" RecordedValue="2" CorrelationBinding="" UrlEncode="True" />
|
||||||
<FormPostParameter Name="name" Value=".NET Black & White Mug" RecordedValue=".NET Black & White Mug" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="name" Value=".NET Black & White Mug" RecordedValue=".NET Black & White Mug" CorrelationBinding="" UrlEncode="True" />
|
||||||
<FormPostParameter Name="pictureUri" Value="http://192.168.1.64:5101/api/v1/pic/2" RecordedValue="http://192.168.1.64:5101/api/v1/pic/2" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="pictureUri" Value="{{LocalTestSettings.CatalogApiServer.url}}/api/v1/catalog/items/2/pic/" RecordedValue="{{LocalTestSettings.CatalogApiServer.url}}/api/v1/catalog/items/2/pic/" CorrelationBinding="" UrlEncode="True" />
|
||||||
<FormPostParameter Name="price" Value="8.5" RecordedValue="8.5" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="price" Value="8.5" RecordedValue="8.5" CorrelationBinding="" UrlEncode="True" />
|
||||||
</FormPostHttpBody>
|
</FormPostHttpBody>
|
||||||
</Request>
|
</Request>
|
||||||
@ -37,6 +37,7 @@
|
|||||||
<Tables>
|
<Tables>
|
||||||
<DataSourceTable Name="MvcWebServer" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
<DataSourceTable Name="MvcWebServer" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
||||||
<DataSourceTable Name="IdentityApiServer" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
<DataSourceTable Name="IdentityApiServer" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
||||||
|
<DataSourceTable Name="CatalogApiServer" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
||||||
<DataSourceTable Name="User" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
<DataSourceTable Name="User" SelectColumns="SelectAllColumns" AccessMethod="Sequential" />
|
||||||
</Tables>
|
</Tables>
|
||||||
</DataSource>
|
</DataSource>
|
||||||
@ -45,7 +46,6 @@
|
|||||||
<ContextParameter Name="i" Value="0" />
|
<ContextParameter Name="i" Value="0" />
|
||||||
</ContextParameters>
|
</ContextParameters>
|
||||||
<ValidationRules>
|
<ValidationRules>
|
||||||
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidateResponseUrl, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response URL" Description="Validates that the response URL after redirects are followed is the same as the recorded response URL. QueryString parameters are ignored." Level="Low" ExectuionOrder="BeforeDependents" />
|
|
||||||
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleResponseTimeGoal, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response Time Goal" Description="Validates that the response time for the request is less than or equal to the response time goal as specified on the request. Response time goals of zero will be ignored." Level="Low" ExectuionOrder="AfterDependents">
|
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleResponseTimeGoal, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response Time Goal" Description="Validates that the response time for the request is less than or equal to the response time goal as specified on the request. Response time goals of zero will be ignored." Level="Low" ExectuionOrder="AfterDependents">
|
||||||
<RuleParameters>
|
<RuleParameters>
|
||||||
<RuleParameter Name="Tolerance" Value="0" />
|
<RuleParameter Name="Tolerance" Value="0" />
|
||||||
|
@ -165,6 +165,7 @@
|
|||||||
<FormPostParameter Name="action" Value="[ Place Order ]" RecordedValue="[ Place Order ]" CorrelationBinding="{{FormPostParam9.action}}" UrlEncode="True" />
|
<FormPostParameter Name="action" Value="[ Place Order ]" RecordedValue="[ Place Order ]" CorrelationBinding="{{FormPostParam9.action}}" UrlEncode="True" />
|
||||||
<FormPostParameter Name="ZipCode" Value="98052" RecordedValue="98052" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="ZipCode" Value="98052" RecordedValue="98052" CorrelationBinding="" UrlEncode="True" />
|
||||||
<FormPostParameter Name="RequestId" Value="{{GenGuid}} " RecordedValue="f58b9345-ea25-4125-a8bf-b0992233af6c" CorrelationBinding="" UrlEncode="True" />
|
<FormPostParameter Name="RequestId" Value="{{GenGuid}} " RecordedValue="f58b9345-ea25-4125-a8bf-b0992233af6c" CorrelationBinding="" UrlEncode="True" />
|
||||||
|
<FormPostParameter Name="CardTypeId" Value="1" RecordedValue="" CorrelationBinding="" UrlEncode="True" />
|
||||||
</FormPostHttpBody>
|
</FormPostHttpBody>
|
||||||
</Request>
|
</Request>
|
||||||
<Request Method="GET" Guid="60e4b7e1-95fc-43a0-932d-d1d1a311b49f" Version="1.1" Url="{{LocalTestSettings.MvcWebServer.url}}/Order" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
|
<Request Method="GET" Guid="60e4b7e1-95fc-43a0-932d-d1d1a311b49f" Version="1.1" Url="{{LocalTestSettings.MvcWebServer.url}}/Order" ThinkTime="0" Timeout="300" ParseDependentRequests="True" FollowRedirects="True" RecordResult="True" Cache="False" ResponseTimeGoal="0" Encoding="utf-8" ExpectedHttpStatusCode="0" ExpectedResponseUrl="" ReportingName="" IgnoreHttpStatusCode="False">
|
||||||
@ -186,7 +187,6 @@
|
|||||||
</DataSource>
|
</DataSource>
|
||||||
</DataSources>
|
</DataSources>
|
||||||
<ValidationRules>
|
<ValidationRules>
|
||||||
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidateResponseUrl, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response URL" Description="Validates that the response URL after redirects are followed is the same as the recorded response URL. QueryString parameters are ignored." Level="Low" ExectuionOrder="BeforeDependents" />
|
|
||||||
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleResponseTimeGoal, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response Time Goal" Description="Validates that the response time for the request is less than or equal to the response time goal as specified on the request. Response time goals of zero will be ignored." Level="Low" ExectuionOrder="AfterDependents">
|
<ValidationRule Classname="Microsoft.VisualStudio.TestTools.WebTesting.Rules.ValidationRuleResponseTimeGoal, Microsoft.VisualStudio.QualityTools.WebTestFramework, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" DisplayName="Response Time Goal" Description="Validates that the response time for the request is less than or equal to the response time goal as specified on the request. Response time goals of zero will be ignored." Level="Low" ExectuionOrder="AfterDependents">
|
||||||
<RuleParameters>
|
<RuleParameters>
|
||||||
<RuleParameter Name="Tolerance" Value="0" />
|
<RuleParameter Name="Tolerance" Value="0" />
|
||||||
|
Loading…
x
Reference in New Issue
Block a user