Skip to content

Commit

Permalink
update setup script for weather and fix program
Browse files Browse the repository at this point in the history
  • Loading branch information
dovholuknf committed Oct 1, 2023
1 parent a0e2d15 commit 5788396
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
3 changes: 0 additions & 3 deletions Samples/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ static async Task Main(string[] args) {
case "hosted-client":
await HostedServiceClient.Run(args[2]);
break;
case "test":
TestBlitting.Run();
break;
default:
Console.WriteLine($"Unexpected sample supplied {args[0]}.");
break;
Expand Down
10 changes: 3 additions & 7 deletions Samples/setup-scripts/weather.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -107,13 +107,9 @@ echo "time for the services to propegate to the router "
echo "before running the sample or you may receive an error"
echo "like: no terminators exist for service "
echo ""
echo "the identity you use to run this demo will need to "
echo "have an attribute added to it named: ${svcName}.dialers"
echo "for example, if you ran the enroll.demo previously, you"
echo "can run:"
echo " ziti edge update identity enroll.demo -a ${svcName}.dialers"
echo ""
echo "then, execute the sample using: "
echo " dotnet run weather path-to/identity.json "
echo "after waiting 10 to 15s you can , execute the sample."
echo " ziti edge enroll .\setup-scripts\weather.demo.jwt "
echo " dotnet run .\OpenZitiSamples.csproj weather .\setup-scripts\weather.demo.json "
echo "====================================================="
echo " "

0 comments on commit 5788396

Please sign in to comment.