From 5788396530dd848536041a30d6116df17e90e72f Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Sat, 30 Sep 2023 21:28:01 -0400 Subject: [PATCH] update setup script for weather and fix program --- Samples/Program.cs | 3 --- Samples/setup-scripts/weather.ps1 | 10 +++------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/Samples/Program.cs b/Samples/Program.cs index e40d40ac..ac796064 100644 --- a/Samples/Program.cs +++ b/Samples/Program.cs @@ -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; diff --git a/Samples/setup-scripts/weather.ps1 b/Samples/setup-scripts/weather.ps1 index 7db7c35b..a76950ee 100644 --- a/Samples/setup-scripts/weather.ps1 +++ b/Samples/setup-scripts/weather.ps1 @@ -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 " " \ No newline at end of file