John Colvin
b6ee5335e5
build: Copy configuration profiles to build dir
...
So they are readily available to publish/deploy scripts.
2025-07-23 16:09:22 -04:00
John Colvin
4272f6dc41
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.
2025-07-23 16:09:22 -04:00
John Colvin
f4e4b56b3e
fix: Catch exception when creating TcpClient
2025-07-23 16:08:14 -04:00
John Colvin
542df5ff82
fix: Catch WebSocketException in DataStreamSubscription
2025-07-23 16:08:14 -04:00
John Colvin
997a97be40
fix: Add null check to NonIncGroupByStream
2025-07-23 16:08:14 -04:00
John Colvin
025eb4a4fc
fix: Add null check to TableAccumulator2
2025-07-23 16:08:14 -04:00
John Colvin
844c842357
fix: Add self-signed certificate to Dockerfile for ds webapp
2025-07-23 16:08:14 -04:00
John Colvin
a7d873f42f
fix: Make SystemSubscriptionMapPublisher threadsafe
...
The PubSubState.onTagMapChanged event may not be invoked on
the same thread as doWork.
2025-07-23 16:08:14 -04:00
John Colvin
c8970408a4
fix: Add null check in TimeBasedFilter.cs
2025-07-23 16:08:14 -04:00
John Colvin
3cef34179e
Reduce task wait/timeout code in AsyncTCPConnector
2025-07-23 16:08:14 -04:00
John Colvin
349a058567
Add a few canned queries to AwsProd.json for ds webapp
2025-07-23 16:08:14 -04:00
John Colvin
32599bdeff
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.
2025-07-23 16:08:14 -04:00
John Colvin
89845ace1c
fix: Convert invalid doubles to nan in ds webapp serializer
2025-07-23 16:07:35 -04:00
John Colvin
d77a7b6b56
Increase datagrid maxheight in ds webapp to 1000px
2025-07-23 16:07:15 -04:00
John Colvin
17f84a9d77
Improve error display in ds webapp
2025-07-23 16:07:04 -04:00
John Colvin
c7ac783570
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.
2025-07-23 16:06:51 -04:00
John Colvin
e296b83a2e
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
2025-07-23 16:06:38 -04:00
John Colvin
1474c84848
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
2025-07-23 16:06:25 -04:00
John Colvin
97f4268686
Add config profile and Dockerfile args to deploy script
2025-07-23 16:06:11 -04:00
John Colvin
678fb0ac4e
Copy DataStream WebApp 'dist' to 'wwwroot' in deploy script
2025-07-23 16:06:00 -04:00
John Colvin
2aa895f339
Tweak DataGrid style in DataStream WebApp
2025-07-23 16:05:46 -04:00
John Colvin
9a56634fc2
Add AwsProd config for DataStream WebApp
2025-07-23 16:05:34 -04:00
John Colvin
1cabc793d8
fix: Add VITE_ prefix to imported env vars
...
For the DataStream WebApp client
2025-07-23 16:05:18 -04:00
John Colvin
c88d0b626b
Fix urls for DataStreamPublisher AwsProd.json
2025-07-23 16:04:58 -04:00
John Colvin
757314f110
Add benzinga news streams to AwsProd.json
...
This is a config profile for DataStreamPublisher, designed to be deployed
to aws (on public internet).
2025-07-23 16:04:36 -04:00
John Colvin
f77e1dddc3
fix build warnings: Make props nullable strings in SharedStreamConfig
2025-07-23 16:04:25 -04:00
John Colvin
dbe35d4783
whitespace: Format PubSubServer.json (indentation issues)
2025-07-23 16:04:13 -04:00
John Colvin
eef090b77e
Add a few tasks to run DataStream WebApp
2025-07-23 16:03:50 -04:00
John Colvin
22cab0b4b8
fix: Import websocket url from environment var
2025-07-23 16:03:40 -04:00
John Colvin
9e554c1950
Add scripts to deploy data stream apps
2025-07-23 16:03:08 -04:00
John Colvin
0b32e1d3c9
Add SpaServer to Production environment
...
For Bts.DataStreamWebApp.Server
2025-07-23 16:02:16 -04:00
John Colvin
0d72746bea
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).
2025-07-23 16:01:51 -04:00
John Colvin
dffc08c790
Publish Bts.DataStreamWebApp.Server along with PubSub & DataStream
2025-07-23 16:01:19 -04:00
John Colvin
6aea1ddbc2
cleanup: Remove unused code in Bts.DataStreamWebApp.Client
2025-07-23 16:01:05 -04:00
John Colvin
da963b8da3
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
2025-07-23 16:00:50 -04:00
John Colvin
facd2f109f
Hardcode webSocketUrl to aws server in DataStreamWebApp client
2025-07-23 16:00:40 -04:00
John Colvin
ff21f3056f
Assert that System publishers 'doWork' is always called on same thread
2025-07-23 16:00:19 -04:00
John Colvin
7d1a16a6a6
fix: Make InternalPublisherQueue thread safe
2025-07-23 16:00:05 -04:00
John Colvin
debaaa0d04
Improve error reporting in DataStreamWebSocketServer
2025-07-23 15:59:52 -04:00
John Colvin
43735ed42e
data stream web app client check pt
2025-07-23 15:59:43 -04:00
John Colvin
44b214ec55
fix build: Fix Spark build after making config init async
2025-07-23 15:58:33 -04:00
John Colvin
4188b8c00d
refactor: Tweak SparkCoreServices to synchronize Configuration.init globally
2025-07-23 15:55:46 -04:00
John Colvin
44214aa195
refactor: Change Configuration.initialize to be async
2025-07-23 15:54:41 -04:00
John Colvin
16430e2b42
vscode: Add 'isSparkApiEnabled' input to launch.json
2025-07-23 15:54:21 -04:00
John Colvin
856fb6410b
SparkApiService check pt
2025-07-23 15:53:22 -04:00
John Colvin
ed8420f346
datastreamwebapp server checkpt
2025-07-23 15:53:06 -04:00
John Colvin
ca90b5dc43
datastream webapp client check pt
2025-07-23 15:52:40 -04:00
John Colvin
04829b1226
Remove unused PubSubConfig props
2025-07-23 15:52:09 -04:00
John Colvin
d725fe4ba1
Fix dsqa config json
2025-07-23 15:51:30 -04:00
John Colvin
fc8a39745d
fix: Always call 'handle_internal_pubs' in PubSubMessageReactor main loop
2025-07-23 15:49:41 -04:00