@ -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,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:nanoserver</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,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,48 @@ | |||
<?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-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="ConnectionString" Value="mongodb://mongodb.eshoponservicefabric"/> | |||
<EnvironmentVariable Name="Database" Value="LocationsDb"/> | |||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric:5105"/> | |||
<EnvironmentVariable Name="IdentityUrlExternal" Value="http://your_servicefabric_dns:19081/eShopOnServiceFabric/IdentityApi"/> | |||
<EnvironmentVariable Name="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||
</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"/> | |||
</Endpoints> | |||
</Resources> | |||
</ServiceManifest> |
@ -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,52 @@ | |||
<?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-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="ConnectionString" Value="Data Source=sqlserver.eshoponservicefabric,5433;Database=Microsoft.eShopOnContainers.Services.MarketingDb;User Id=sa;Password=Pass@word"/> | |||
<EnvironmentVariable Name="identityUrl" Value="http://identityapi.eshoponservicefabric"/> | |||
<EnvironmentVariable Name="IdentityUrlExternal" Value="http://your_servicefabric_dns:19081/eShopOnServiceFabric/IdentityApi"/> | |||
<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"/> | |||
</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"/> | |||
</Endpoints> | |||
</Resources> | |||
</ServiceManifest> |
@ -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,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:windowsservercore</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,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,44 @@ | |||
<?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-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="EventBusConnection" Value="rabbitmq.eshoponservicefabric"/> | |||
<EnvironmentVariable Name="AzureServiceBusEnabled" Value="False"/> | |||
<EnvironmentVariable Name="EventBusUserName" Value="admin"/> | |||
<EnvironmentVariable Name="EventBusPassword" Value="password"/> | |||
</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" /> | |||
</Endpoints> | |||
</Resources> | |||
</ServiceManifest> |
@ -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,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>spring2/rabbitmq</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> |