Compare commits

...
3 changed files with 14 additions and 10 deletions

No files matched your search

+9 -9
View File
@@ -183,11 +183,10 @@
"windows": { "windows": {
"program": "PubSubServer.exe", "program": "PubSubServer.exe",
}, },
"args": [
"--config",
"${workspaceFolder}/src/DataStreamSuite/PubSubServer/Configurations/${input:pubSubServerConfig}.json"
],
"cwd": "build/Debug/bin/net8.0", "cwd": "build/Debug/bin/net8.0",
"env": {
"DOTNET_ENVIRONMENT": "${input:pubSubServerEnvironment}",
},
"stopAtEntry": false, "stopAtEntry": false,
"console": "integratedTerminal" "console": "integratedTerminal"
}, },
@@ -449,14 +448,15 @@
"default": "Local", "default": "Local",
}, },
{ {
"id": "pubSubServerConfig", "id": "pubSubServerEnvironment",
"type": "pickString", "type": "pickString",
"description": "PubSub Configuration", "description": "PubSubServer Configuration",
"options": [ "options": [
"PubSubServer", "Development",
"SimpleEchoClient", "EchoServer",
"Local",
], ],
"default": "PubSubServer", "default": "Development",
}, },
{ {
"id": "sdkDemoEnvironment", "id": "sdkDemoEnvironment",
@@ -190,6 +190,10 @@ namespace mbts.spark {
result = SingleSecurityCriteria.Empty; result = SingleSecurityCriteria.Empty;
return false; return false;
} }
if (id is null && (name is null || venue is null)) {
result = SingleSecurityCriteria.Empty;
return false;
}
result = new(venue, type, asset, name, id); result = new(venue, type, asset, name, id);
return true; return true;
} }