@ -0,0 +1,48 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="BasketApiPkg" | |||||
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="BasketApiType" 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/basket.api</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="ConnectionString" Value="basketdata.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value="http://#{your_sf_dns}#:5105"/> | |||||
<EnvironmentVariable Name="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||||
<EnvironmentVariable Name="PATH_BASE" Value="/eShopOnServiceFabric/BasketApi"/> | |||||
</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="BasketApiTypeEndpoint" Port="5103" UriScheme="http" PathSuffix="eShopOnServiceFabric/BasketApi"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,41 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="BasketDataPkg" | |||||
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="BasketDataType" 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>redis</ImageName> | |||||
</ContainerHost> | |||||
</EntryPoint> | |||||
<!-- Pass environment variables to your container: --> | |||||
<!-- | |||||
<EnvironmentVariables> | |||||
<EnvironmentVariable Name="VariableName" Value="VariableValue"/> | |||||
</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="BasketDataTypeEndpoint" Protocol="tcp" Port="6379"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,51 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="CatalogApiPkg" | |||||
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="CatalogApiType" 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/catalog.api</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="ConnectionString" Value="Data Source=sqlserver.eshoponservicefabric,5433;Database=Microsoft.eShopOnContainers.Services.CatalogDb;User Id=sa;Password=Pass@word"/> | |||||
<EnvironmentVariable Name="PicBaseUrl" Value="http://catalogapi.eshoponservicefabric:5101/api/v1/catalog/items/[0]/pic/"/> | |||||
<EnvironmentVariable Name="AzureStorageAccountName" Value=""/> | |||||
<EnvironmentVariable Name="AzureStorageAccountKey" Value=""/> | |||||
<EnvironmentVariable Name="UseCustomizationData" Value="True"/> | |||||
<EnvironmentVariable Name="AzureStorageEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||||
<EnvironmentVariable Name="PATH_BASE" Value="/eShopOnServiceFabric/CatalogApi"/> | |||||
</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="CatalogApiTypeEndpoint" Port="5101" UriScheme="http" PathSuffix="eShopOnServiceFabric/CatalogApi"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,49 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="LocationsApiPkg" | |||||
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="LocationsApiType" 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/locations.api</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="ConnectionString" Value="mongodb://mongodb.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="Database" Value="LocationsDb"/> | |||||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value=""/> | |||||
<EnvironmentVariable Name="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||||
<EnvironmentVariable Name="PATH_BASE" Value="/eShopOnServiceFabric/LocationsApi"/> | |||||
</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="LocationsApiTypeEndpoint" Port="5109" PathSuffix="eShopOnServiceFabric/LocationsApi"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,55 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="MarketingApiPkg" | |||||
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="MarketingApiType" 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/marketing.api</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="ConnectionString" Value="Data Source=sqlserver.eshoponservicefabric,5433;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word"/> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value=""/> | |||||
<EnvironmentVariable Name="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="CampaignDetailFunctionUri" Value=""/> | |||||
<EnvironmentVariable Name="PicBaseUrl" Value="http://marketingapi.eshoponservicefabric:5110/api/v1/campaigns/[0]/pic/"/> | |||||
<EnvironmentVariable Name="AzureStorageAccountName" Value=""/> | |||||
<EnvironmentVariable Name="AzureStorageAccountKey" Value=""/> | |||||
<EnvironmentVariable Name="AzureStorageEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||||
<EnvironmentVariable Name="PATH_BASE" Value="/eShopOnServiceFabric/MarketingApi"/> | |||||
<EnvironmentVariable Name="MongoConnectionString" Value="mongodb://mongodb.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="MongoDatabase" Value="MarketingDb"/> | |||||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/> | |||||
</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="MarketingApiTypeEndpoint" Port="5110" PathSuffix="eShopOnServiceFabric/MarketingApi"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,41 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="MongoDBPkg" | |||||
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="MongoDBType" 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>mongo</ImageName> | |||||
</ContainerHost> | |||||
</EntryPoint> | |||||
<!-- Pass environment variables to your container: --> | |||||
<!-- | |||||
<EnvironmentVariables> | |||||
<EnvironmentVariable Name="VariableName" Value="VariableValue"/> | |||||
</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="MongoDBTypeEndpoint" Protocol="tcp" Port="27017" /> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,51 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="OrderingApiPkg" | |||||
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="OrderingApiType" 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/ordering.api</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="ConnectionString" Value="Data Source=sqlserver.eshoponservicefabric,5433;Database=Microsoft.eShopOnContainers.Services.OrderingDb;User Id=sa;Password=Pass@word"/> | |||||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value=""/> | |||||
<EnvironmentVariable Name="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="UseCustomizationData" Value="True"/> | |||||
<EnvironmentVariable Name="GracePeriodTime" Value="1"/> | |||||
<EnvironmentVariable Name="CheckUpdateTime" Value="30000"/> | |||||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||||
<EnvironmentVariable Name="PATH_BASE" Value="/eShopOnServiceFabric/OrderingApi"/> | |||||
</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="OrderingApiTypeEndpoint" Port="5102" UriScheme="http" PathSuffix="eShopOnServiceFabric/OrderingApi"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,45 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="PaymentApiPkg" | |||||
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="PaymentApiType" 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/payment.api</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="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||||
<EnvironmentVariable Name="PATH_BASE" Value="/eShopOnServiceFabric/PaymentApi"/> | |||||
</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="PaymentApiTypeEndpoint" Port="5108" PathSuffix="eShopOnServiceFabric/PaymentApi"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,40 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="RabbitMQPkg" | |||||
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="RabbitMQType" 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>rabbitmq:3-management</ImageName> | |||||
</ContainerHost> | |||||
</EntryPoint> | |||||
<!-- Pass environment variables to your container: --> | |||||
<EnvironmentVariables> | |||||
</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="RabbitMQTypeEndpoint" Protocol="tcp" Port="5672"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,41 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="SqlServerPkg" | |||||
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="SqlServerType" 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>microsoft/mssql-server-linux:2017-latest</ImageName> | |||||
</ContainerHost> | |||||
</EntryPoint> | |||||
<!-- Pass environment variables to your container: --> | |||||
<EnvironmentVariables> | |||||
<EnvironmentVariable Name="MSSQL_SA_PASSWORD" Value="Pass@word"/> | |||||
<EnvironmentVariable Name="ACCEPT_EULA" Value="Y"/> | |||||
<EnvironmentVariable Name="MSSQL_PID" Value="Developer"/> | |||||
</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="SqlServerTypeEndpoint" Port="5433" Protocol="tcp"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,63 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Project ToolsVersion="14.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" InitialTargets=";ValidateMSBuildFiles"> | |||||
<Import Project="..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.props" Condition="Exists('..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.props')" /> | |||||
<PropertyGroup Label="Globals"> | |||||
<ProjectGuid>983eab84-65c5-4793-a300-08f97c791a15</ProjectGuid> | |||||
<ProjectVersion>1.6</ProjectVersion> | |||||
<MinToolsVersion>1.5</MinToolsVersion> | |||||
</PropertyGroup> | |||||
<ItemGroup Label="ProjectConfigurations"> | |||||
<ProjectConfiguration Include="Debug|x64"> | |||||
<Configuration>Debug</Configuration> | |||||
<Platform>x64</Platform> | |||||
</ProjectConfiguration> | |||||
<ProjectConfiguration Include="Release|x64"> | |||||
<Configuration>Release</Configuration> | |||||
<Platform>x64</Platform> | |||||
</ProjectConfiguration> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<None Include="ApplicationPackageRoot\ApplicationManifest.xml" /> | |||||
<None Include="ApplicationParameters\Cloud.xml" /> | |||||
<None Include="ApplicationParameters\Local.1Node.xml" /> | |||||
<None Include="ApplicationParameters\Local.5Node.xml" /> | |||||
<None Include="packages.config" /> | |||||
<None Include="PublishProfiles\Cloud.xml" /> | |||||
<None Include="PublishProfiles\Local.1Node.xml" /> | |||||
<None Include="PublishProfiles\Local.5Node.xml" /> | |||||
<None Include="Scripts\Deploy-FabricApplication.ps1" /> | |||||
</ItemGroup> | |||||
<ItemGroup> | |||||
<Content Include="ApplicationPackageRoot\BasketApiPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\BasketApiPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\BasketDataPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\BasketDataPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\CatalogApiPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\CatalogApiPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\LocationsApiPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\LocationsApiPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\MarketingApiPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\MarketingApiPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\MongoDBPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\MongoDBPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\OrderingApiPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\OrderingApiPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\PaymentApiPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\PaymentApiPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\RabbitMQPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\RabbitMQPkg\ServiceManifest.xml" /> | |||||
<Content Include="ApplicationPackageRoot\SqlServerPkg\Config\Settings.xml" /> | |||||
<Content Include="ApplicationPackageRoot\SqlServerPkg\ServiceManifest.xml" /> | |||||
<Content Include="packages.config" /> | |||||
</ItemGroup> | |||||
<Import Project="$(MSBuildToolsPath)\Microsoft.Common.targets" /> | |||||
<PropertyGroup> | |||||
<ApplicationProjectTargetsPath>$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)\Service Fabric Tools\Microsoft.VisualStudio.Azure.Fabric.ApplicationProject.targets</ApplicationProjectTargetsPath> | |||||
</PropertyGroup> | |||||
<Import Project="$(ApplicationProjectTargetsPath)" Condition="Exists('$(ApplicationProjectTargetsPath)')" /> | |||||
<Import Project="..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets" Condition="Exists('..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets')" /> | |||||
<Target Name="ValidateMSBuildFiles"> | |||||
<Error Condition="!Exists('..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.props')" Text="Unable to find the '..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.props' file. Please restore the 'Microsoft.VisualStudio.Azure.Fabric.MSBuild' Nuget package" /> | |||||
<Error Condition="!Exists('..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets')" Text="Unable to find the '..\..\..\packages\Microsoft.VisualStudio.Azure.Fabric.MSBuild.1.6.0\build\Microsoft.VisualStudio.Azure.Fabric.Application.targets' file. Please restore the 'Microsoft.VisualStudio.Azure.Fabric.MSBuild' Nuget package" /> | |||||
</Target> | |||||
</Project> |
@ -0,0 +1,51 @@ | |||||
<?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</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=""/> | |||||
<EnvironmentVariable Name="XamarinCallback" Value=""/> | |||||
<EnvironmentVariable Name="ConnectionString" Value="Data Source=sqlserver.eshoponservicefabric,5433;Database=Microsoft.eShopOnContainers.Service.IdentityDb;User Id=sa;Password=Pass@word"/> | |||||
<EnvironmentVariable Name="MvcClient" Value=""/> | |||||
<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"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,46 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="WebMVCPkg" | |||||
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="WebMVCType" 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/webmvc</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="CatalogUrl" Value="http://catalogapi.eshoponservicefabric:5101"/> | |||||
<EnvironmentVariable Name="OrderingUrl" Value="http://orderingapi.eshoponservicefabric:5102"/> | |||||
<EnvironmentVariable Name="BasketUrl" Value="http://basketapi.eshoponservicefabric:5103"/> | |||||
<EnvironmentVariable Name="IdentityUrl" Value=""/> | |||||
<EnvironmentVariable Name="MarketingUrl" Value="http://marketingapi.eshoponservicefabric:5110"/> | |||||
<EnvironmentVariable Name="LocationsUrl" Value="http://locationsapi.eshoponservicefabric:5109"/> | |||||
</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="WebMVCTypeEndpoint" UriScheme="http" Port="5100"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,51 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ServiceManifest Name="WebSPAPkg" | |||||
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="WebSPAType" 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/webspa</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="CatalogUrl" Value="http://#{your_sf_dns}#:19081/eShopOnServiceFabric/CatalogApi"/> | |||||
<EnvironmentVariable Name="OrderingUrl" Value="http://#{your_sf_dns}#:19081/eShopOnServiceFabric/OrderingApi"/> | |||||
<EnvironmentVariable Name="BasketUrl" Value="http://#{your_sf_dns}#:19081/eShopOnServiceFabric/BasketApi"/> | |||||
<EnvironmentVariable Name="MarketingUrl" Value="http://#{your_sf_dns}#:19081/eShopOnServiceFabric/MarketingApi"/> | |||||
<EnvironmentVariable Name="IdentityUrl" Value="http://#{your_sf_dns}#:5105"/> | |||||
<EnvironmentVariable Name="CatalogUrlHC" Value="http://catalogapi.eshoponservicefabric:5101/hc"/> | |||||
<EnvironmentVariable Name="OrderingUrlHC" Value="http://orderingapi.eshoponservicefabric:5102/hc"/> | |||||
<EnvironmentVariable Name="IdentityUrlHC" Value="http://identityapi.eshoponservicefabric:5105/hc"/> | |||||
<EnvironmentVariable Name="BasketUrlHC" Value="http://basketapi.eshoponservicefabric:5103/hc"/> | |||||
<EnvironmentVariable Name="MarketingUrlHC" Value="http://marketingapi.eshoponservicefabric:5110/hc"/> | |||||
<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="WebSPATypeEndpoint" Port="5104" UriScheme="http"/> | |||||
</Endpoints> | |||||
</Resources> | |||||
</ServiceManifest> |
@ -0,0 +1,48 @@ | |||||
<?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</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="CatalogUrl" Value="http://catalogapi.eshoponservicefabric:5101"/> | |||||
<EnvironmentVariable Name="OrderingUrl" Value="http://orderingapi.eshoponservicefabric:5102"/> | |||||
<EnvironmentVariable Name="BasketUrl" Value="http://basketapi.eshoponservicefabric:5103"/> | |||||
<EnvironmentVariable Name="IdentityUrl" Value="http://identityapi.eshoponservicefabric:5105"/> | |||||
<EnvironmentVariable Name="MarketingUrl" Value="http://marketingapi.eshoponservicefabric:5110"/> | |||||
<EnvironmentVariable Name="LocationsUrl" Value="http://locationsapi.eshoponservicefabric:5109"/> | |||||
<EnvironmentVariable Name="mvc" Value="http://webmvc.eshoponservicefabric:5100"/> | |||||
<EnvironmentVariable Name="spa" Value="http://webspa.eshoponservicefabric:5104"/> | |||||
</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> |
@ -0,0 +1,185 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<ApplicationManifest ApplicationTypeName="eShopOnServiceFabricType" | |||||
ApplicationTypeVersion="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"> | |||||
<Parameters> | |||||
<Parameter Name="BasketData_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="MarketingApi_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="MongoDB_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="LocationsApi_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="PaymentApi_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="RabbitMQ_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="SqlServer_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="WebStatus_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="WebSPA_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="WebMVC_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="OrderingApi_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="CatalogApi_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="BasketApi_InstanceCount" DefaultValue="-1" /> | |||||
<Parameter Name="IdentityUrlExternal" DefaultValue="" /> | |||||
<Parameter Name="PicBaseUrl" DefaultValue="" /> | |||||
</Parameters> | |||||
<!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion | |||||
should match the Name and Version attributes of the ServiceManifest element defined in the | |||||
ServiceManifest.xml file. --> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="BasketDataPkg" ServiceManifestVersion="1.0.0" /> | |||||
<ConfigOverrides /> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="6379" EndpointRef="BasketDataTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="MarketingApiPkg" ServiceManifestVersion="1.0.0" /> | |||||
<!-- Override external urls depending on environment --> | |||||
<EnvironmentOverrides CodePackageRef="Code"> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value="[IdentityUrlExternal]"/> | |||||
</EnvironmentOverrides> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="80" EndpointRef="MarketingApiTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="MongoDBPkg" ServiceManifestVersion="1.0.0" /> | |||||
<ConfigOverrides /> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="27017" EndpointRef="MongoDBTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="LocationsApiPkg" ServiceManifestVersion="1.0.0" /> | |||||
<EnvironmentOverrides CodePackageRef="Code"> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value="[IdentityUrlExternal]"/> | |||||
</EnvironmentOverrides> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="80" EndpointRef="LocationsApiTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="PaymentApiPkg" ServiceManifestVersion="1.0.0" /> | |||||
<ConfigOverrides /> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="80" EndpointRef="PaymentApiTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="RabbitMQPkg" ServiceManifestVersion="1.0.0" /> | |||||
<ConfigOverrides /> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="5672" EndpointRef="RabbitMQTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="SqlServerPkg" ServiceManifestVersion="1.0.0" /> | |||||
<ConfigOverrides /> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="1433" EndpointRef="SqlServerTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="OrderingApiPkg" ServiceManifestVersion="1.0.0" /> | |||||
<EnvironmentOverrides CodePackageRef="Code"> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value="[IdentityUrlExternal]"/> | |||||
</EnvironmentOverrides> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="80" EndpointRef="OrderingApiTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="CatalogApiPkg" ServiceManifestVersion="1.0.0" /> | |||||
<EnvironmentOverrides CodePackageRef="Code"> | |||||
<EnvironmentVariable Name="PicBaseUrl" Value="[PicBaseUrl]"/> | |||||
</EnvironmentOverrides> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="80" EndpointRef="CatalogApiTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<ServiceManifestImport> | |||||
<ServiceManifestRef ServiceManifestName="BasketApiPkg" ServiceManifestVersion="1.0.0" /> | |||||
<EnvironmentOverrides CodePackageRef="Code"> | |||||
<EnvironmentVariable Name="IdentityUrlExternal" Value="[IdentityUrlExternal]"/> | |||||
</EnvironmentOverrides> | |||||
<Policies> | |||||
<ContainerHostPolicies CodePackageRef="Code"> | |||||
<PortBinding ContainerPort="80" EndpointRef="BasketApiTypeEndpoint"/> | |||||
</ContainerHostPolicies> | |||||
</Policies> | |||||
</ServiceManifestImport> | |||||
<DefaultServices> | |||||
<!-- The section below creates instances of service types, when an instance of this | |||||
application type is created. You can also create one or more instances of service type using the | |||||
ServiceFabric PowerShell module. | |||||
The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. --> | |||||
<Service Name="BasketData" ServiceDnsName="basketdata.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="BasketDataType" InstanceCount="[BasketData_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="MarketingApi" ServiceDnsName="marketingapi.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="MarketingApiType" InstanceCount="[MarketingApi_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="MongoDB" ServiceDnsName="mongodb.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="MongoDBType" InstanceCount="[MongoDB_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="LocationsApi" ServiceDnsName="locationsapi.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="LocationsApiType" InstanceCount="[LocationsApi_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="PaymentApi" ServiceDnsName="paymentapi.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="PaymentApiType" InstanceCount="[PaymentApi_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="RabbitMQ" ServiceDnsName="rabbitmq.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="RabbitMQType" InstanceCount="[RabbitMQ_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="SqlServer" ServiceDnsName="sqlserver.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="SqlServerType" InstanceCount="[SqlServer_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="OrderingApi" ServiceDnsName="orderingapi.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="OrderingApiType" InstanceCount="[OrderingApi_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="CatalogApi" ServiceDnsName="catalogapi.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="CatalogApiType" InstanceCount="[CatalogApi_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
<Service Name="BasketApi" ServiceDnsName="basketapi.eshoponservicefabric" ServicePackageActivationMode="ExclusiveProcess"> | |||||
<StatelessService ServiceTypeName="BasketApiType" InstanceCount="[BasketApi_InstanceCount]"> | |||||
<SingletonPartition /> | |||||
</StatelessService> | |||||
</Service> | |||||
</DefaultServices> | |||||
</ApplicationManifest> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,9 @@ | |||||
<?xml version="1.0" encoding="utf-8" ?> | |||||
<Settings xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/2011/01/fabric"> | |||||
<!-- Add your custom configuration sections and parameters here --> | |||||
<!-- | |||||
<Section Name="MyConfigSection"> | |||||
<Parameter Name="MyParameter" Value="Value1" /> | |||||
</Section> | |||||
--> | |||||
</Settings> |
@ -0,0 +1,18 @@ | |||||
<?xml version="1.0" encoding="utf-8"?> | |||||
<Application Name="fabric:/eShopOnServiceFabric" 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"> | |||||
<Parameters> | |||||
<Parameter Name="BasketData_InstanceCount" Value="-1" /> | |||||
<Parameter Name="MarketingApi_InstanceCount" Value="-1" /> | |||||
<Parameter Name="MongoDB_InstanceCount" Value="-1" /> | |||||
<Parameter Name="LocationsApi_InstanceCount" Value="-1" /> | |||||
<Parameter Name="PaymentApi_InstanceCount" Value="-1" /> | |||||
<Parameter Name="RabbitMQ_InstanceCount" Value="-1" /> | |||||
<Parameter Name="SqlServer_InstanceCount" Value="-1" /> | |||||
<Parameter Name="SqlServer_InstanceCount" Value="-1" /> | |||||
<Parameter Name="OrderingApi_InstanceCount" Value="-1" /> | |||||
<Parameter Name="CatalogApi_InstanceCount" Value="-1" /> | |||||
<Parameter Name="BasketApi_InstanceCount" Value="-1" /> | |||||
<Parameter Name="IdentityUrlExternal" Value="http://#{your_sf_dns}#:5105" /> | |||||
<Parameter Name="PicBaseUrl" Value="http://#{your_sf_dns}#:19081/eShopOnServiceFabric/CatalogApi/api/v1/catalog/items/[0]/pic/" /> | |||||
</Parameters> | |||||
</Application> |