Skip to content

Commit 7861d5d

Browse files
committed
Updated settings for k8s / SF to enable Load testing mode
Updated load tests
1 parent 2ad61d9 commit 7861d5d

21 files changed

Lines changed: 56 additions & 15 deletions

File tree

ServiceFabric/Linux/eShopOnServiceFabric/ApplicationPackageRoot/BasketApiPkg/ServiceManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/>
3030
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
3131
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
32+
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
3233
</EnvironmentVariables>
3334
</CodePackage>
3435

@@ -41,7 +42,7 @@
4142
<!-- This endpoint is used by the communication listener to obtain the port on which to
4243
listen. Please note that if your service is partitioned, this port is shared with
4344
replicas of different partitions that are placed in your code. -->
44-
<Endpoint Name="BasketApiTypeEndpoint" Port="5103" UriScheme="http" PathSuffix="eShopOnServiceFabric/BasketApi"/>
45+
<Endpoint Name="BasketApiTypeEndpoint" Port="5103" UriScheme="http"/>
4546
</Endpoints>
4647
</Resources>
4748
</ServiceManifest>

ServiceFabric/Linux/eShopOnServiceFabric/ApplicationPackageRoot/CatalogApiPkg/ServiceManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<!-- This endpoint is used by the communication listener to obtain the port on which to
4545
listen. Please note that if your service is partitioned, this port is shared with
4646
replicas of different partitions that are placed in your code. -->
47-
<Endpoint Name="CatalogApiTypeEndpoint" Port="5101" UriScheme="http" PathSuffix="eShopOnServiceFabric/CatalogApi"/>
47+
<Endpoint Name="CatalogApiTypeEndpoint" Port="5101" UriScheme="http"/>
4848
</Endpoints>
4949
</Resources>
5050
</ServiceManifest>

ServiceFabric/Linux/eShopOnServiceFabric/ApplicationPackageRoot/LocationsApiPkg/ServiceManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/>
3131
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
3232
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
33+
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
3334
</EnvironmentVariables>
3435
</CodePackage>
3536

@@ -42,7 +43,7 @@
4243
<!-- This endpoint is used by the communication listener to obtain the port on which to
4344
listen. Please note that if your service is partitioned, this port is shared with
4445
replicas of different partitions that are placed in your code. -->
45-
<Endpoint Name="LocationsApiTypeEndpoint" Port="5109" PathSuffix="eShopOnServiceFabric/LocationsApi"/>
46+
<Endpoint Name="LocationsApiTypeEndpoint" Port="5109"/>
4647
</Endpoints>
4748
</Resources>
4849
</ServiceManifest>

ServiceFabric/Linux/eShopOnServiceFabric/ApplicationPackageRoot/MarketingApiPkg/ServiceManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/>
3737
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
3838
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
39+
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
3940
</EnvironmentVariables>
4041
</CodePackage>
4142

@@ -48,7 +49,7 @@
4849
<!-- This endpoint is used by the communication listener to obtain the port on which to
4950
listen. Please note that if your service is partitioned, this port is shared with
5051
replicas of different partitions that are placed in your code. -->
51-
<Endpoint Name="MarketingApiTypeEndpoint" Port="5110" PathSuffix="eShopOnServiceFabric/MarketingApi"/>
52+
<Endpoint Name="MarketingApiTypeEndpoint" Port="5110"/>
5253
</Endpoints>
5354
</Resources>
5455
</ServiceManifest>

ServiceFabric/Linux/eShopOnServiceFabric/ApplicationPackageRoot/OrderingApiPkg/ServiceManifest.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<EnvironmentVariable Name="CheckUpdateTime" Value="30000"/>
3333
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
3434
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
35+
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
3536
</EnvironmentVariables>
3637
</CodePackage>
3738

@@ -44,7 +45,7 @@
4445
<!-- This endpoint is used by the communication listener to obtain the port on which to
4546
listen. Please note that if your service is partitioned, this port is shared with
4647
replicas of different partitions that are placed in your code. -->
47-
<Endpoint Name="OrderingApiTypeEndpoint" Port="5102" UriScheme="http" PathSuffix="eShopOnServiceFabric/OrderingApi"/>
48+
<Endpoint Name="OrderingApiTypeEndpoint" Port="5102" UriScheme="http"/>
4849
</Endpoints>
4950
</Resources>
5051
</ServiceManifest>

ServiceFabric/Linux/eShopOnServiceFabric/ApplicationPackageRoot/PaymentApiPkg/ServiceManifest.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
<!-- This endpoint is used by the communication listener to obtain the port on which to
3939
listen. Please note that if your service is partitioned, this port is shared with
4040
replicas of different partitions that are placed in your code. -->
41-
<Endpoint Name="PaymentApiTypeEndpoint" Port="5108" PathSuffix="eShopOnServiceFabric/PaymentApi"/>
41+
<Endpoint Name="PaymentApiTypeEndpoint" Port="5108"/>
4242
</Endpoints>
4343
</Resources>
4444
</ServiceManifest>

ServiceFabric/Linux/eShopOnServiceFabricWebMVC/eShopOnServiceFabricWebMVC/ApplicationPackageRoot/WebMVCPkg/ServiceManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
<EnvironmentVariable Name="MarketingUrlHC" Value="http://marketingapi.eshoponservicefabric:5110/hc"/>
3737
<EnvironmentVariable Name="ApplicationInsights__InstrumentationKey" Value=""/>
3838
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
39+
<EnvironmentVariable Name="UseLoadTest" Value="True"/>
3940
</EnvironmentVariables>
4041
</CodePackage>
4142

ServiceFabric/Windows/eShopOnServiceFabric/ApplicationPackageRoot/BasketApiPkg/ServiceManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
3232
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
3333
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
34+
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
3435
</EnvironmentVariables>
3536
</CodePackage>
3637

ServiceFabric/Windows/eShopOnServiceFabric/ApplicationPackageRoot/LocationsApiPkg/ServiceManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<EnvironmentVariable Name="EventBusPassword" Value="password"/>
3333
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
3434
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
35+
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
3536
</EnvironmentVariables>
3637
</CodePackage>
3738

ServiceFabric/Windows/eShopOnServiceFabric/ApplicationPackageRoot/MarketingApiPkg/ServiceManifest.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@
3838
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/>
3939
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
4040
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
41+
<EnvironmentVariable Name="UseLoadTest" Value="False"/>
4142
</EnvironmentVariables>
4243
</CodePackage>
4344

0 commit comments

Comments
 (0)