John Colvin
be18e269a3
fix: Add null check to TableAccumulator2
2024-11-29 14:57:44 +00:00
John Colvin
6865485d55
fix: Make SystemSubscriptionMapPublisher threadsafe
...
The PubSubState.onTagMapChanged event may not be invoked on
the same thread as doWork.
2024-11-29 14:57:44 +00:00
John Colvin
a6b7ddbe38
fix: Add null check in TimeBasedFilter.cs
2024-11-29 14:57:44 +00:00
John Colvin
4ebb02810f
Reduce task wait/timeout code in AsyncTCPConnector
2024-11-29 14:57:43 +00:00
John Colvin
0ffc8cb9b6
Add a few canned queries to AwsProd.json for ds webapp
2024-11-29 14:57:43 +00:00
John Colvin
da14a2b4ae
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-29 14:57:43 +00:00
John Colvin
6fd6a0dd55
fix: Convert invalid doubles to nan in ds webapp serializer
2024-11-29 14:57:43 +00:00
John Colvin
b9a5e91cad
Increase datagrid maxheight in ds webapp to 1000px
2024-11-29 14:57:43 +00:00
John Colvin
2770e01726
Improve error display in ds webapp
2024-11-29 14:57:43 +00:00
John Colvin
0777e3f160
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-29 14:57:43 +00:00
John Colvin
1eb3075569
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-29 14:57:43 +00:00
John Colvin
729e9f35ae
Tweak DataGrid style in DataStream WebApp
2024-11-29 14:57:43 +00:00
John Colvin
316f49227d
Add AwsProd config for DataStream WebApp
2024-11-29 14:57:43 +00:00
John Colvin
c59345dc0a
fix: Add VITE_ prefix to imported env vars
...
For the DataStream WebApp client
2024-11-29 14:57:43 +00:00
John Colvin
2e0c9c8d54
Fix urls for DataStreamPublisher AwsProd.json
2024-11-29 14:57:43 +00:00
John Colvin
e3ad222015
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-29 14:57:43 +00:00
John Colvin
b18facfa87
fix build warnings: Make props nullable strings in SharedStreamConfig
2024-11-29 14:57:43 +00:00
John Colvin
397f6156dc
whitespace: Format PubSubServer.json (indentation issues)
2024-11-29 14:57:43 +00:00
John Colvin
d277495610
fix: Import websocket url from environment var
2024-11-29 14:57:43 +00:00
John Colvin
250f34e3de
Add scripts to deploy data stream apps
2024-11-29 14:57:43 +00:00
John Colvin
00c06429b1
Add SpaServer to Production environment
...
For Bts.DataStreamWebApp.Server
2024-11-29 14:57:43 +00:00
John Colvin
254e3d38af
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-29 14:57:43 +00:00
John Colvin
fc40ea412f
cleanup: Remove unused code in Bts.DataStreamWebApp.Client
2024-11-29 14:57:43 +00:00
John Colvin
e03b7d5991
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-29 14:57:43 +00:00
John Colvin
0e198e0ebf
Hardcode webSocketUrl to aws server in DataStreamWebApp client
2024-11-29 14:57:43 +00:00
John Colvin
27a9bf66bb
Assert that System publishers 'doWork' is always called on same thread
2024-11-29 14:57:43 +00:00
John Colvin
2a390c7c2e
fix: Make InternalPublisherQueue thread safe
2024-11-29 14:57:43 +00:00
John Colvin
ee0d444ae6
Improve error reporting in DataStreamWebSocketServer
2024-11-29 14:57:43 +00:00
John Colvin
b058cde0ca
data stream web app client check pt
2024-11-29 14:57:43 +00:00
John Colvin
39bb411bda
fix build: Fix Spark build after making config init async
2024-11-29 14:57:43 +00:00
John Colvin
7423721c72
refactor: Tweak SparkCoreServices to synchronize Configuration.init globally
2024-11-29 14:57:43 +00:00
John Colvin
ffbf7b5e8d
refactor: Change Configuration.initialize to be async
2024-11-29 14:57:43 +00:00
John Colvin
b90730fd11
SparkApiService check pt
2024-11-29 14:57:43 +00:00
John Colvin
142d530999
datastreamwebapp server checkpt
2024-11-29 14:57:43 +00:00
John Colvin
a5670d2aaa
datastream webapp client check pt
2024-11-29 14:57:43 +00:00
John Colvin
3179e9add3
Remove unused PubSubConfig props
2024-11-29 14:57:43 +00:00
John Colvin
8dae6e37e6
Fix dsqa config json
2024-11-29 14:57:43 +00:00
John Colvin
eb0086d2c6
fix: Always call 'handle_internal_pubs' in PubSubMessageReactor main loop
2024-11-29 14:57:43 +00:00
John Colvin
0f680b1947
improvement: Accept CancellationToken, catch exceptions when running ds websocket server
2024-11-29 14:57:43 +00:00
John Colvin
e4745a587f
Fix mismatched types in PubSubServerTagStatsStream schema
2024-11-29 14:57:43 +00:00
John Colvin
adfc0b5235
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-29 14:57:43 +00:00
John Colvin
30cf7ac5f9
refactor: Decouple ViewPublisher from IPubTableBroker impl
2024-11-29 14:57:43 +00:00
John Colvin
31b065c854
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-29 14:57:43 +00:00
John Colvin
04a0cf9144
refactor: Decouple RemoteQueryManager from IManagedSubscriber, IPubTableBroker impl
2024-11-29 14:57:43 +00:00
John Colvin
37d6ffa27a
refactor: Decouple ManagedSubscriber from ISubscriberCore impl
2024-11-29 14:57:43 +00:00
John Colvin
2760867093
refactor: Only support 1 tag type in IPubSubServerTagHandler
2024-11-29 14:57:43 +00:00
John Colvin
191de2ae46
refactor: Decouple PubTableBroker from IPublisherCore impl
...
Reference interface rather than the PublisherCore impl.
2024-11-29 14:57:43 +00:00
John Colvin
0b444d5f2f
improvement: Accept CancellationToken in JsonRpcRequestObservable
2024-11-29 14:57:43 +00:00
John Colvin
702eac44d3
fix: Dispose market data sub in various md streams
2024-11-29 14:57:43 +00:00
John Colvin
30b23d36fa
cleanup: Remove unused pubsub tag handler code
...
* Removed 'IPubSubServerTagHandler.register'
- All implementations of this function were empty
* Removed 'IPubSubServerTagHandler.supportedTagTypes'
- This property wasn't referenced anywhere
* Remove IWorker inheritance from IPubSubServerTagHandler
- No reason these interfaces have to be tied together
2024-11-29 14:57:43 +00:00