2019-01-30 12:24:30 +01:00

77 lines
5.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<ServiceManifest Name="WebStatusPkg"
Version="1.0.0"
xmlns="http://schemas.microsoft.com/2011/01/fabric"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ServiceTypes>
<!-- This is the name of your ServiceType.
The UseImplicitHost attribute indicates this is a guest service. -->
<StatelessServiceType ServiceTypeName="WebStatusType" UseImplicitHost="true" />
</ServiceTypes>
<!-- Code package is your service executable. -->
<CodePackage Name="Code" Version="1.0.0">
<EntryPoint>
<!-- Follow this link for more information about deploying Windows containers to Service Fabric: https://aka.ms/sfguestcontainers -->
<ContainerHost>
<ImageName>eshop/webstatus:#{tag}#</ImageName>
</ContainerHost>
</EntryPoint>
<!-- Pass environment variables to your container: -->
<EnvironmentVariables>
<EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value="Development"/>
<EnvironmentVariable Name="ASPNETCORE_URLS" Value="http://0.0.0.0:80"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__1__Name" Value="WebMVC HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__1__Uri" Value="http://webmvc/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__2__Name" Value="WebSPA HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__2__Uri" Value="http://webspa/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__3__Name" Value="Web Shopping Aggregator GW HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__3__Uri" Value="http://webshoppingagg/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__4__Name" Value="Mobile Shopping Aggregator HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__4__Uri" Value="http://mobileshoppingagg/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__5__Name" Value="Mobile Shopping API GW HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__5__Uri" Value="http://mobileshoppingapigw/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__6__Name" Value="Mobile Marketing API GW HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__6__Uri" Value="http://mobilemarketingapigw/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__7__Name" Value="Web Shopping API GW HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__7__Uri" Value="http://webshoppingapigw/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__8__Name" Value="Web Marketing API GW HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__8__Uri" Value="http://webmarketingapigw/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__9__Name" Value="Ordering HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__9__Uri" Value="http://ordering.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__10__Name" Value="Ordering HTTP Background Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__10__Uri" Value="http://ordering.background/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__11__Name" Value="Basket HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__11__Uri" Value="http://basket.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__12__Name" Value="Catalog HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__12__Uri" Value="http://catalog.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__13__Name" Value="Identity HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__13__Uri" Value="http://identity.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__14__Name" Value="Marketing HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__14__Uri" Value="http://marketing.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__15__Name" Value="Locations HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__15__Uri" Value="http://locations.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__16__Name" Value="Payments HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__16__Uri" Value="http://payment.api/hc"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__17__Name" Value="Ordering SignalRHub HTTP Check"/>
<EnvironmentVariable Name="HealthChecks-UI__HealthChecks__17__Uri" Value="http://ordering.signalrhub/hc"/>
<EnvironmentVariable Name="OrderingBackgroundTasksUrl" Value="http://ordering.background/hc"/>
<EnvironmentVariable Name="ApplicationInsights:InstrumentationKey" Value=""/>
<EnvironmentVariable Name="OrchestratorType" Value="SF"/>
</EnvironmentVariables>
</CodePackage>
<!-- Config package is the contents of the Config directoy under PackageRoot that contains an
independently-updateable and versioned set of custom configuration settings for your service. -->
<ConfigPackage Name="Config" Version="1.0.0" />
<Resources>
<Endpoints>
<!-- 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
replicas of different partitions that are placed in your code. -->
<Endpoint Name="WebStatusTypeEndpoint" Port="5107" UriScheme="http"/>
</Endpoints>
</Resources>
</ServiceManifest>