John Colvin
727235950f
fix: Add self-signed certificate to Dockerfile for ds webapp
2024-09-22 18:36:36 +00:00
John Colvin
8b779597db
fix: Make SystemSubscriptionMapPublisher threadsafe
...
The PubSubState.onTagMapChanged event may not be invoked on
the same thread as doWork.
2024-09-22 18:36:36 +00:00
John Colvin
5eecd2ffbc
fix: Add null check in TimeBasedFilter.cs
2024-09-22 18:36:36 +00:00
John Colvin
b12c28a074
Reduce task wait/timeout code in AsyncTCPConnector
2024-09-22 18:36:36 +00:00
John Colvin
02d19c522d
Add a few canned queries to AwsProd.json for ds webapp
2024-09-22 18:36:36 +00:00
John Colvin
a00e849192
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-09-22 18:36:36 +00:00
John Colvin
d0601ad32d
fix: Convert invalid doubles to nan in ds webapp serializer
2024-09-22 18:36:36 +00:00
John Colvin
149ab49212
Increase datagrid maxheight in ds webapp to 1000px
2024-09-22 18:36:36 +00:00
John Colvin
23c9f0a9de
Improve error display in ds webapp
2024-09-22 18:36:36 +00:00
John Colvin
22b04c8ec8
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-09-22 18:36:36 +00:00
John Colvin
fdba4601ab
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-09-22 18:36:35 +00:00
John Colvin
dd2dffd337
Define webapp specific env vars in generic datastream app deploy script
...
For now, this makes things easier, as I don't need to write a special script just for the webapp
2024-09-22 18:36:35 +00:00
John Colvin
2c58415a4f
Add config profile and Dockerfile args to deploy script
2024-09-22 18:36:35 +00:00
John Colvin
f85f57d2a5
Copy DataStream WebApp 'dist' to 'wwwroot' in deploy script
2024-09-22 18:36:35 +00:00
John Colvin
4d5f87df33
Tweak DataGrid style in DataStream WebApp
2024-09-22 18:36:35 +00:00
John Colvin
bc22d0f2e7
Add AwsProd config for DataStream WebApp
2024-09-22 18:36:35 +00:00
John Colvin
2020c93915
fix: Add VITE_ prefix to imported env vars
...
For the DataStream WebApp client
2024-09-22 18:36:35 +00:00
John Colvin
e92c4a7089
Fix urls for DataStreamPublisher AwsProd.json
2024-09-22 18:36:35 +00:00
John Colvin
234d1c7b31
Add benzinga news streams to AwsProd.json
...
This is a config profile for DataStreamPublisher, designed to be deployed
to aws (on public internet).
2024-09-22 18:36:35 +00:00
John Colvin
ec0d0a5ec4
fix build warnings: Make props nullable strings in SharedStreamConfig
2024-09-22 18:36:35 +00:00
John Colvin
ad2671e199
whitespace: Format PubSubServer.json (indentation issues)
2024-09-22 18:36:35 +00:00
John Colvin
8e42651433
fix import from environment variable
2024-09-22 18:36:35 +00:00
John Colvin
daee227d5b
Add a few tasks to run DataStream WebApp
2024-09-22 18:36:35 +00:00
John Colvin
17b2711357
fix: Import websocket url from environment var
2024-09-22 18:36:35 +00:00
John Colvin
42022bad0b
Add scripts to deploy data stream apps
2024-09-22 18:36:35 +00:00
John Colvin
15b8a2189b
Add SpaServer to Production environment
...
For Bts.DataStreamWebApp.Server
2024-09-22 18:33:42 +00:00
John Colvin
64ce742e2a
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-09-22 18:33:42 +00:00
John Colvin
38d2145a78
Publish Bts.DataStreamWebApp.Server along with PubSub & DataStream
2024-09-22 18:33:42 +00:00
John Colvin
171d786a49
cleanup: Remove unused code in Bts.DataStreamWebApp.Client
2024-09-22 18:33:42 +00:00
John Colvin
45ae320324
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-09-22 18:33:42 +00:00
John Colvin
fc16ed7194
Hardcode webSocketUrl to aws server in DataStreamWebApp client
2024-09-22 18:33:42 +00:00
John Colvin
f4584afdf0
Assert that System publishers 'doWork' is always called on same thread
2024-09-22 18:33:42 +00:00
John Colvin
4fc0eec13c
fix: Make InternalPublisherQueue thread safe
2024-09-22 18:33:42 +00:00
John Colvin
c5e851d0aa
Improve error reporting in DataStreamWebSocketServer
2024-09-22 18:33:42 +00:00
John Colvin
402cac2d03
data stream web app client check pt
2024-09-22 18:33:42 +00:00
John Colvin
79673b7a01
fix build: Fix Spark build after making config init async
2024-09-22 18:33:42 +00:00
John Colvin
2cf7826e4d
fix Change Configuration.initialize to be async
2024-09-22 18:33:42 +00:00
John Colvin
8bb67dfba2
refactor: Tweak SparkCoreServices to synchronize Configuration.init globally
2024-09-22 18:33:42 +00:00
John Colvin
f922215cae
refactor: Change Configuration.initialize to be async
2024-09-22 18:33:42 +00:00
John Colvin
d9e804b4e1
vscode: Add 'isSparkApiEnabled' input to launch.json
2024-09-22 18:33:42 +00:00
John Colvin
8194a07a8e
SparkApiService check pt
2024-09-22 18:33:42 +00:00
John Colvin
d8e4c6e601
pubsub server checkpt
2024-09-22 18:33:42 +00:00
John Colvin
a8d3528125
pubsub checkpt
2024-09-22 18:33:42 +00:00
John Colvin
655329fec8
datastreamwebapp server checkpt
2024-09-22 18:33:41 +00:00
John Colvin
7d7c868f87
datastream webapp client check pt
2024-09-22 18:33:41 +00:00
John Colvin
c14bade720
fix add pubsub services
2024-09-22 18:33:41 +00:00
John Colvin
104de5df7b
Remove unused PubSubConfig props
2024-09-22 18:33:41 +00:00
John Colvin
bd52ef0a8e
Fix dsqa config json
2024-09-19 20:03:31 +00:00
John Colvin
a015ff98e4
fix: Always call 'handle_internal_pubs' in PubSubMessageReactor main loop
2024-09-19 20:03:31 +00:00
John Colvin
12fc295825
improvement: Accept CancellationToken, catch exceptions when running ds websocket server
2024-09-19 20:03:31 +00:00