mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-26 03:22:50 +08:00

* test for issue * added service fabric sample * working!! * changed sample naming to Ocelot * removed files we dont need * removed files we dont need * updated sample gitignore * updated sample gitignore * getting ocelot to work with service fabric using the reverse proxy * #238 - added support for service fabric discovery provider, proxies requests through naming service, wont work on partioned service fabric services yet * #238 - Manually tested service fabric using sample..all seems OK. Made some changes after testing, added docs * #238 - added docs for servic fabric
35 lines
1.5 KiB
XML
35 lines
1.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<ServiceManifest Name="OcelotApplicationApiGatewayPkg"
|
|
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.
|
|
This name must match the string used in RegisterServiceType call in Program.cs. -->
|
|
<StatelessServiceType ServiceTypeName="OcelotApplicationApiGatewayType" />
|
|
</ServiceTypes>
|
|
|
|
<!-- Code package is your service executable. -->
|
|
<CodePackage Name="Code" Version="1.0.0">
|
|
<EntryPoint>
|
|
<ExeHost>
|
|
<Program>entryPoint.sh</Program>
|
|
<ConsoleRedirection FileRetentionCount="5" FileMaxSizeInKb="2048"/>
|
|
</ExeHost>
|
|
</EntryPoint>
|
|
</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="WebEndpoint" Protocol="http" Port="31002" />
|
|
</Endpoints>
|
|
</Resources>
|
|
</ServiceManifest> |