|
<?xml version="1.0" encoding="utf-8"?>
|
|
<ApplicationManifest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ApplicationTypeName="eShopOnServiceFabricApiGWType" ApplicationTypeVersion="1.0.0" xmlns="http://schemas.microsoft.com/2011/01/fabric">
|
|
<Parameters>
|
|
<Parameter Name="ApiGw_Base_ASPNETCORE_ENVIRONMENT" DefaultValue="" />
|
|
<Parameter Name="ApiGw_Base_InstanceCount" DefaultValue="-1" />
|
|
</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="ApiGw_BasePkg" ServiceManifestVersion="1.0.0" />
|
|
<ConfigOverrides />
|
|
<EnvironmentOverrides CodePackageRef="code">
|
|
<EnvironmentVariable Name="ASPNETCORE_ENVIRONMENT" Value="[ApiGw_Base_ASPNETCORE_ENVIRONMENT]" />
|
|
</EnvironmentOverrides>
|
|
<!--<Policies>
|
|
<ContainerHostPolicies CodePackageRef="Code">
|
|
<PortBinding ContainerPort="80" EndpointRef="sf.linux.settings.api.endpoint" />
|
|
</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="ApiGw_Base" ServiceDnsName="apigw_base.eshoponservicefabricapigwtype" ServicePackageActivationMode="ExclusiveProcess">
|
|
<StatelessService ServiceTypeName="ApiGw_BaseType" InstanceCount="[ApiGw_Base_InstanceCount]">
|
|
<SingletonPartition />
|
|
</StatelessService>
|
|
</Service>
|
|
</DefaultServices>
|
|
</ApplicationManifest>
|