mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-06-19 04:38:14 +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:
12
samples/OcelotServiceFabric/dotnet-include.sh
Normal file
12
samples/OcelotServiceFabric/dotnet-include.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
. /etc/os-release
|
||||
linuxDistrib=$ID
|
||||
if [ $linuxDistrib = "rhel" ]; then
|
||||
source scl_source enable rh-dotnet20
|
||||
exitCode=$?
|
||||
if [ $exitCode != 0 ]; then
|
||||
echo "Failed: source scl_source enable rh-dotnet20 : ExitCode: $exitCode"
|
||||
exit $exitCode
|
||||
fi
|
||||
fi
|
Reference in New Issue
Block a user