-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Nsi processor #29
Nsi processor #29
Conversation
} | ||
|
||
public async Task TestProcessStream(BoundingBox boundingBox, Action<IConsequencesReceptor> ConsequenceReceptorProcess) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like leftover from testing. Should probably be removed. Any testing specific logic should be in the test classes.
{ | ||
try | ||
{ | ||
// send HTTP GET request |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
remove comment. self evident.
|
||
} | ||
/* | ||
[Fact] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This can probably be deleted so long as the test above covers our bases.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! address comments, and we'll merge.
@@ -25,4 +20,25 @@ public void Test() | |||
consoleWriter.Write(r); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
await sp.Process
|
||
// Create an instance of HttpClient | ||
using (HttpClient client = new HttpClient()) | ||
using HttpClient client = new HttpClient(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
simplify new()
{ | ||
// access the properties of each structure | ||
JsonElement propertiesElement = structure.GetProperty("properties"); | ||
Structure s = JsonSerializer.Deserialize<Structure>(propertiesElement.GetRawText()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Look into how to ignore this warning
No description provided.