mirror of
				https://github.com/nsnail/Ocelot.git
				synced 2025-11-04 15:50:49 +08:00 
			
		
		
		
	Make Ocelot work with service fabric DNS and naming service for guest exe and stateless (#242)
* 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
This commit is contained in:
		@@ -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,12 @@
 | 
			
		||||
contains a Settings.xml file, that can specify parameters for the service
 | 
			
		||||
 | 
			
		||||
Configuration packages describe user-defined, application-overridable configuration settings (sections of key-value pairs)
 | 
			
		||||
required for running service replicas/instances of service types specified in the ser-vice manifest. The configuration settings 
 | 
			
		||||
must be stored in Settings.xml in the config package folder. 
 | 
			
		||||
 | 
			
		||||
The service developer uses Service Fabric APIs to locate the package folders and read applica-tion-overridable configuration settings.
 | 
			
		||||
The service developer can also register callbacks that are in-voked when any of the configuration packages specified in the
 | 
			
		||||
service manifest are upgraded and re-reads new configuration settings inside that callback. 
 | 
			
		||||
 | 
			
		||||
This means that Service Fabric will not recycle EXEs and DLLHOSTs specified in the host and support packages when
 | 
			
		||||
configuration packages are up-graded. 
 | 
			
		||||
		Reference in New Issue
	
	Block a user