|
@ -5,10 +5,11 @@ |
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|
|
xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> |
|
|
<Parameters> |
|
|
<Parameters> |
|
|
|
|
|
<Parameter Name="OrderingSignalrHub_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="OrderingBackground_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="OrderingBackground_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="MarketingApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="MarketingApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="LocationsApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="LocationsApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="PaymentApi_InstanceCount" DefaultValue="-1" /> |
|
|
|
|
|
|
|
|
<Parameter Name="PaymentApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="OrderingApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="OrderingApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="CatalogApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="CatalogApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="BasketApi_InstanceCount" DefaultValue="-1" /> |
|
|
<Parameter Name="BasketApi_InstanceCount" DefaultValue="-1" /> |
|
@ -20,6 +21,16 @@ |
|
|
<!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion |
|
|
<!-- Import the ServiceManifest from the ServicePackage. The ServiceManifestName and ServiceManifestVersion |
|
|
should match the Name and Version attributes of the ServiceManifest element defined in the |
|
|
should match the Name and Version attributes of the ServiceManifest element defined in the |
|
|
ServiceManifest.xml file. --> |
|
|
ServiceManifest.xml file. --> |
|
|
|
|
|
<ServiceManifestImport> |
|
|
|
|
|
<ServiceManifestRef ServiceManifestName="OrderingSignalrHubPkg" ServiceManifestVersion="1.0.0" /> |
|
|
|
|
|
<ConfigOverrides /> |
|
|
|
|
|
<Policies> |
|
|
|
|
|
<ContainerHostPolicies CodePackageRef="Code"> |
|
|
|
|
|
<PortBinding ContainerPort="80" EndpointRef="OrderingSignalrHubTypeEndpoint" /> |
|
|
|
|
|
</ContainerHostPolicies> |
|
|
|
|
|
</Policies> |
|
|
|
|
|
</ServiceManifestImport> |
|
|
|
|
|
|
|
|
<ServiceManifestImport> |
|
|
<ServiceManifestImport> |
|
|
<ServiceManifestRef ServiceManifestName="OrderingBackgroundPkg" ServiceManifestVersion="1.0.0" /> |
|
|
<ServiceManifestRef ServiceManifestName="OrderingBackgroundPkg" ServiceManifestVersion="1.0.0" /> |
|
|
<ConfigOverrides /> |
|
|
<ConfigOverrides /> |
|
@ -28,7 +39,7 @@ |
|
|
</EnvironmentOverrides> |
|
|
</EnvironmentOverrides> |
|
|
<Policies> |
|
|
<Policies> |
|
|
<ContainerHostPolicies CodePackageRef="Code"> |
|
|
<ContainerHostPolicies CodePackageRef="Code"> |
|
|
<PortBinding ContainerPort="80" EndpointRef="OrderingBackgroundTasksTypeEndpoint"/> |
|
|
|
|
|
|
|
|
<PortBinding ContainerPort="80" EndpointRef="OrderingBackgroundTypeEndpoint"/> |
|
|
</ContainerHostPolicies> |
|
|
</ContainerHostPolicies> |
|
|
</Policies> |
|
|
</Policies> |
|
|
</ServiceManifestImport> |
|
|
</ServiceManifestImport> |
|
@ -112,6 +123,11 @@ |
|
|
ServiceFabric PowerShell module. |
|
|
ServiceFabric PowerShell module. |
|
|
|
|
|
|
|
|
The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. --> |
|
|
The attribute ServiceTypeName below must match the name defined in the imported ServiceManifest.xml file. --> |
|
|
|
|
|
<Service Name="OrderingSignalrHub" ServicePackageActivationMode="ExclusiveProcess"> |
|
|
|
|
|
<StatelessService ServiceTypeName="OrderingSignalrHubType" InstanceCount="[OrderingSignalrHub_InstanceCount]"> |
|
|
|
|
|
<SingletonPartition /> |
|
|
|
|
|
</StatelessService> |
|
|
|
|
|
</Service> |
|
|
<Service Name="OrderingBackground" ServicePackageActivationMode="ExclusiveProcess"> |
|
|
<Service Name="OrderingBackground" ServicePackageActivationMode="ExclusiveProcess"> |
|
|
<StatelessService ServiceTypeName="OrderingBackgroundType" InstanceCount="[OrderingBackground_InstanceCount]"> |
|
|
<StatelessService ServiceTypeName="OrderingBackgroundType" InstanceCount="[OrderingBackground_InstanceCount]"> |
|
|
<SingletonPartition /> |
|
|
<SingletonPartition /> |
|
|