|
<?xml version="1.0" encoding="utf-8"?>
|
|
<ServiceManifest Name="IdentityApiPkg"
|
|
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="IdentityApiType" 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/identity.api-win</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="SpaClient" Value="http://your_servicefabric_dns:19081/eShopOnServiceFabric/WebSPA"/>
|
|
<EnvironmentVariable Name="XamarinCallback" Value="http://your_servicefabric_dns:19081/eShopOnServiceFabric/IdentityApi/xamarincallback"/>
|
|
<EnvironmentVariable Name="ConnectionStrings__DefaultConnection" Value="Data Source=sqlserver.eshoponservicefabric,5433;Database=Microsoft.eShopOnContainers.Services.IdentityDb;User Id=sa;Password=Pass@word"/>
|
|
<EnvironmentVariable Name="MvcClient" Value="http://your_servicefabric_dns:19081/eShopOnServiceFabric/WebMVC"/>
|
|
<EnvironmentVariable Name="LocationApiClient" Value=""/>
|
|
<EnvironmentVariable Name="MarketingApiClient" Value=""/>
|
|
<EnvironmentVariable Name="BasketApiClient" Value=""/>
|
|
<EnvironmentVariable Name="OrderingApiClient" Value=""/>
|
|
<EnvironmentVariable Name="UseCustomizationData" Value="True"/>
|
|
</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="IdentityApiTypeEndpoint" Port="5105" UriScheme="http" Protocol="http" Type="Input" PathSuffix="eShopOnServiceFabric/IdentityApi"/>
|
|
</Endpoints>
|
|
</Resources>
|
|
</ServiceManifest>
|