mirror of
https://github.com/nsnail/Ocelot.git
synced 2025-04-23 19:52:51 +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
23 lines
1.3 KiB
Bash
23 lines
1.3 KiB
Bash
#!/bin/bash
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
appPkg="$DIR/OcelotServiceApplication"
|
|
|
|
WebServiceManifestlocation="$appPkg/OcelotApplicationApiGatewayPkg"
|
|
WebServiceManifestlocationLinux="$WebServiceManifestlocation/ServiceManifest-Linux.xml"
|
|
WebServiceManifestlocationWindows="$WebServiceManifestlocation/ServiceManifest-Windows.xml"
|
|
WebServiceManifestlocation="$WebServiceManifestlocation/ServiceManifest.xml"
|
|
cp $WebServiceManifestlocationLinux $WebServiceManifestlocation
|
|
|
|
|
|
StatefulServiceManifestlocation="$appPkg/OcelotApplicationServicePkg"
|
|
StatefulServiceManifestlocationLinux="$StatefulServiceManifestlocation/ServiceManifest-Linux.xml"
|
|
StatefulServiceManifestlocationWindows="$StatefulServiceManifestlocation/ServiceManifest-Windows.xml"
|
|
StatefulServiceManifestlocation="$StatefulServiceManifestlocation/ServiceManifest.xml"
|
|
cp $StatefulServiceManifestlocationLinux $StatefulServiceManifestlocation
|
|
cp dotnet-include.sh ./OcelotServiceApplication/OcelotApplicationServicePkg/Code
|
|
cp dotnet-include.sh ./OcelotServiceApplication/OcelotApplicationApiGatewayPkg/Code
|
|
sfctl application upload --path OcelotServiceApplication --show-progress
|
|
sfctl application provision --application-type-build-path OcelotServiceApplication
|
|
sfctl application create --app-name fabric:/OcelotServiceApplication --app-type OcelotServiceApplicationType --app-version 1.0.0
|