Skip to content

Commit

Permalink
Fixing output of GraphQL client test.
Browse files Browse the repository at this point in the history
  • Loading branch information
barnstee committed Jan 14, 2025
1 parent 5c5d904 commit a0c8697
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions SampleConsoleClient/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -125,10 +125,8 @@ private static async Task TestClientLibraryAsync(string[] args)
UACloudLibClient client = new UACloudLibClient(args[0], args[1], args[2]);

Console.WriteLine("\nTesting the GraphQL API");

string[] keywords = { "plastic", "robot", "machine" };
GraphQlResult<Nodeset> finalResult2 = await client.GetNodeSetsAsync(noMetadata: true, noRequiredModels: true, noTotalCount: true, noCreationTime: true).ConfigureAwait(true);
Console.WriteLine($"{finalResult2}");
GraphQlResult<Nodeset> finalResult2 = await client.GetNodeSetsAsync(modelUri: "http://opcfoundation.org/UA/ADI/").ConfigureAwait(true);
Console.WriteLine($"{finalResult2.Edges[0].Node.ToString()}");

Console.WriteLine("\nTesting query and convertion of metadata");
List<UANameSpace> finalResult = await client.GetConvertedMetadataAsync(0, 100).ConfigureAwait(false);
Expand Down

0 comments on commit a0c8697

Please sign in to comment.