John Colvin
37e2d2ee13
Fix benign typo in Scanner/Parser msbuild targets
...
The output path referenced a non-existant msbuild metadata prop "RelativeOutputDir"
(the actual prop is called "RelativeDir"). Also, the OutputFile path is relative to the
project dir (the 'MSBuildProjectDir' prop), not the file being included.
2024-11-25 15:26:58 +00:00
John Colvin
bfdf6228be
fix: Catch exception when creating TcpClient
2024-11-25 15:26:58 +00:00
John Colvin
bc408c0c75
fix: Catch WebSocketException in DataStreamSubscription
2024-11-25 15:26:58 +00:00
John Colvin
1486c1185c
fix: Add null check to NonIncGroupByStream
2024-11-25 15:26:58 +00:00
John Colvin
cb06d07eea
fix: Add null check to TableAccumulator2
2024-11-25 15:26:58 +00:00
John Colvin
911347e080
fix: Make SystemSubscriptionMapPublisher threadsafe
...
The PubSubState.onTagMapChanged event may not be invoked on
the same thread as doWork.
2024-11-25 15:26:58 +00:00
John Colvin
a65eaf1cc4
fix: Add null check in TimeBasedFilter.cs
2024-11-25 15:26:58 +00:00
John Colvin
fe2235bc8d
Reduce task wait/timeout code in AsyncTCPConnector
2024-11-25 15:26:58 +00:00
John Colvin
2417b430fd
Add a few canned queries to AwsProd.json for ds webapp
2024-11-25 15:26:58 +00:00
John Colvin
be81e9af47
fix: Copy canned queries to clipboard on click
...
Instead of trying to update the text directly, which causes the front end
to overwrite the user's changes everytime the data updates from then on.
2024-11-25 15:26:58 +00:00
John Colvin
5e4858e860
fix: Convert invalid doubles to nan in ds webapp serializer
2024-11-25 15:26:58 +00:00
John Colvin
9b82083a60
Increase datagrid maxheight in ds webapp to 1000px
2024-11-25 15:26:58 +00:00
John Colvin
30f322a60a
Improve error display in ds webapp
2024-11-25 15:26:58 +00:00
John Colvin
58015a396e
fix: Dispose existing sub on subscribe req in ds webapp
...
Even if new sub has parse error. This fixes a bug where the previous
subscription would continue firing and updating the frontend, when it
should just display the error info to the user and cease updates.
2024-11-25 15:26:58 +00:00
John Colvin
939bdc5f56
fix: Get rid of "UseSpa" calls in webapp Production environment
...
This was leftover from a misguided attempt to fix a bug that turned out
to be due to an omitted environment var:
ASPNETCORE_HOSTINGSTARTUPASSEMBLIES=Microsoft.AspNetCore.SpaProxy
2024-11-25 15:26:58 +00:00
John Colvin
b4f87c21e0
Tweak DataGrid style in DataStream WebApp
2024-11-25 15:26:58 +00:00
John Colvin
9cfa28a91d
Add AwsProd config for DataStream WebApp
2024-11-25 15:26:58 +00:00
John Colvin
6ade868afe
fix: Add VITE_ prefix to imported env vars
...
For the DataStream WebApp client
2024-11-25 15:26:58 +00:00
John Colvin
1230424577
Fix urls for DataStreamPublisher AwsProd.json
2024-11-25 15:26:58 +00:00
John Colvin
9bbada0740
Add benzinga news streams to AwsProd.json
...
This is a config profile for DataStreamPublisher, designed to be deployed
to aws (on public internet).
2024-11-25 15:26:58 +00:00
John Colvin
44b3709c8f
fix build warnings: Make props nullable strings in SharedStreamConfig
2024-11-25 15:26:58 +00:00
John Colvin
cabcd406f7
whitespace: Format PubSubServer.json (indentation issues)
2024-11-25 15:26:58 +00:00
John Colvin
11e862ae06
fix: Import websocket url from environment var
2024-11-25 15:26:58 +00:00
John Colvin
4deeacda4a
Add scripts to deploy data stream apps
2024-11-25 15:26:58 +00:00
John Colvin
9a0bf98b2c
Add SpaServer to Production environment
...
For Bts.DataStreamWebApp.Server
2024-11-25 15:26:58 +00:00
John Colvin
c286c3646b
Change DirectoryBrowser requestPath to "/browse"
...
So we can view a psuedo file explorer for the webapp by requesting the "/browse" path
(only activated in Development environment).
2024-11-25 15:26:58 +00:00
John Colvin
324a6031ba
cleanup: Remove unused code in Bts.DataStreamWebApp.Client
2024-11-25 15:26:58 +00:00
John Colvin
94591eee6d
Capture OperationCanceledException (instead of TaskCanceledException)
...
The former is the base class for the latter, so this will widen the umbrella to catch a few corner cases
that would otherwise been handled by the generic "Exception" catch block. One corner case I know
of is when an op is canceled via "CancellationToken.ThrowIfCancellationRequested". In that case,
an OperationCanceledException is thrown (not a TaskCanceledException).
https://stackoverflow.com/questions/34359129/operationcanceledexception-vs-taskcanceledexception-when-task-is-canceled
2024-11-25 15:26:58 +00:00
John Colvin
41390da06a
Hardcode webSocketUrl to aws server in DataStreamWebApp client
2024-11-25 15:26:58 +00:00
John Colvin
9df9622ac2
Assert that System publishers 'doWork' is always called on same thread
2024-11-25 15:26:57 +00:00
John Colvin
4b965d1c3b
fix: Make InternalPublisherQueue thread safe
2024-11-25 15:26:57 +00:00
John Colvin
d485621d21
Improve error reporting in DataStreamWebSocketServer
2024-11-25 15:26:57 +00:00
John Colvin
b8678f6043
data stream web app client check pt
2024-11-25 15:26:57 +00:00
John Colvin
de15b0ea4b
fix build: Fix Spark build after making config init async
2024-11-25 15:26:57 +00:00
John Colvin
bd41e6cb52
refactor: Tweak SparkCoreServices to synchronize Configuration.init globally
2024-11-25 15:26:57 +00:00
John Colvin
f07b1f2e5f
refactor: Change Configuration.initialize to be async
2024-11-25 15:26:57 +00:00
John Colvin
c3cd8cf543
SparkApiService check pt
2024-11-25 15:26:57 +00:00
John Colvin
95814d3dae
datastreamwebapp server checkpt
2024-11-25 15:26:57 +00:00
John Colvin
c3ef18e649
datastream webapp client check pt
2024-11-25 15:26:57 +00:00
John Colvin
feaf2cc6b4
Remove unused PubSubConfig props
2024-11-25 15:26:57 +00:00
John Colvin
e184c850d1
Fix dsqa config json
2024-11-25 15:26:57 +00:00
John Colvin
161fdfa463
fix: Always call 'handle_internal_pubs' in PubSubMessageReactor main loop
2024-11-25 15:26:57 +00:00
John Colvin
9c184d7203
improvement: Accept CancellationToken, catch exceptions when running ds websocket server
2024-11-25 15:26:57 +00:00
John Colvin
a2344e1494
Fix mismatched types in PubSubServerTagStatsStream schema
2024-11-25 15:26:57 +00:00
John Colvin
cc153a1ced
Add DataStreamPublisher service modules designed for Dependency Injection
...
* Change DataStreamPublisher json fields to match cs class property names verbatim
* Rename Publishers -> PublisherNodes in DataStreamPublisherConfig
2024-11-25 15:26:57 +00:00
John Colvin
b19f720e42
refactor: Decouple ViewPublisher from IPubTableBroker impl
2024-11-25 15:26:57 +00:00
John Colvin
51d934de27
Add PubSub service modules designed for Dependency Injection
...
* Get rid of JsonPropertyName attributes in PubSubConfig
- The Dependency Injection framework (based around dotnet ApplicationBuilder)
does not support this attribute, and maps property names verbatim to json fields.
* Change PubSubServer json fields to match cs class property names verbatim
2024-11-25 15:26:57 +00:00
John Colvin
23e47f1749
refactor: Decouple RemoteQueryManager from IManagedSubscriber, IPubTableBroker impl
2024-11-25 15:26:57 +00:00
John Colvin
a5a905e20f
refactor: Decouple ManagedSubscriber from ISubscriberCore impl
2024-11-25 15:26:57 +00:00
John Colvin
1cecbe9276
refactor: Only support 1 tag type in IPubSubServerTagHandler
2024-11-25 15:26:57 +00:00