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,2 @@
 | 
			
		||||
dotnet %~dp0\OcelotApplicationApiGateway.dll
 | 
			
		||||
exit /b %errorlevel%
 | 
			
		||||
@@ -0,0 +1,17 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
check_errs()
 | 
			
		||||
{
 | 
			
		||||
  # Function. Parameter 1 is the return code
 | 
			
		||||
  if [ "${1}" -ne "0" ]; then
 | 
			
		||||
    # make our script exit with the right error code.
 | 
			
		||||
    exit ${1}
 | 
			
		||||
  fi
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
DIR=`dirname $0`
 | 
			
		||||
 | 
			
		||||
echo 0x3f > /proc/self/coredump_filter
 | 
			
		||||
 | 
			
		||||
source $DIR/dotnet-include.sh 
 | 
			
		||||
dotnet $DIR/OcelotApplicationApiGateway.dll $@
 | 
			
		||||
check_errs $?
 | 
			
		||||
		Reference in New Issue
	
	Block a user