Commit Graph
14390 Commits
Author SHA1 Message Date
John Colvin 2ecf2000e2 deploy: Update sparkdata path to ~/.local/share in Dockerfile 2025-12-05 15:56:23 +00:00
John Colvin e2e39f9d2e fix build: Copy libspark to "net8.0" dir (was net7.0) 2025-12-05 15:56:23 +00:00
John Colvin b96027ae4f diag: Change log dir to ~/.local/share/bts/<exe>/data/logging 2025-12-05 15:56:23 +00:00
John Colvin 3e12a6570c config: Disable PubSub by default in Spark appsettings.json
Rename the key "Enabled" -> "IsEnabled" to be consistent with other appsettings
2025-12-05 15:56:23 +00:00
John Colvin 832c9b51ce cleanup: Change default DSQA pubsub config server to 127.0.0.1 2025-12-05 15:56:23 +00:00
John Colvin 313a6fb808 refactor: Support null values in Update, TableUpdate ctr 2025-12-05 15:56:23 +00:00
John Colvin f39a41bfcc build: Add local appsettings config to a couple csprojs
* DataStreamPublisher
* DataStreamQueryAnalyzer
* PubSubServer

Also modify gitignore to exclude DataStreamSuite local appsettings
2025-12-05 15:56:23 +00:00
John Colvin 9a3d996e71 fix: Use List instead of Array in WorkScheduler
I should have used a list in the first place...the array wasn't getting trimmed
after removing workers, which was causing null refs at the back of the array.
2025-12-05 15:56:23 +00:00
John Colvin 7fae875ee5 refactor: Hide AdminClient behind interface 2025-12-05 15:56:23 +00:00
John Colvin 02356cf97c refactor: Make AtomicGate actually atomic (lockless) 2025-12-05 15:56:23 +00:00
John Colvin 2cdeab394b vscode: Add "Local" pub sub config option to tasks.json 2025-12-05 15:56:23 +00:00
John Colvin 3684c2e781 vscode: Add PubSub config env var to launch.json 2025-12-05 15:56:23 +00:00
John Colvin 0674475566 refactor: Hide OrdersClient behind interface 2025-12-05 15:56:23 +00:00
John Colvin 546a52cb02 feat: Add historic md streams and replay client 2025-12-05 15:56:23 +00:00
John Colvin 2b1a1f262c fix build (api server): Fix typo DOTNET_BINARY_DIR cmake var (path)
This is the dir into which libspark (c++) is copied for dotnet (c#) exes.
2025-12-05 15:56:23 +00:00
John Colvin ea8bd4082f cleanup: Remove redundant IBlueTableSchema 'ResolveIndices' ext fns 2025-12-05 15:56:23 +00:00
John Colvin 4de85a978e refactor: Move a couple ViewStream extensions into DataStreamCore 2025-12-05 15:56:23 +00:00
John Colvin 4a42bc1600 fix: Change DataPacket to IDataPacket 2025-12-05 15:56:23 +00:00
John Colvin 3dcde6d089 refactor: Remove spark api server dependency on SecurityMD
This is part of a larger effort to decouple the api server from spark grpc
(protobuf) services
2025-12-05 15:56:23 +00:00
John Colvin e0e9989eda refactor: Move ObservableViewStream into DataStreamCore 2025-12-05 15:56:23 +00:00
John Colvin 5f4a811598 feat: Add ParquetReader/Writer streams 2025-12-05 15:56:23 +00:00
John Colvin dd136afad7 chore: Copy/paste some log utils from py interop dir to tools/py 2025-12-05 15:56:23 +00:00
John Colvin 4591755423 improve: Support arbitrary columns in py table_formatter
Not just key/values
2025-12-05 15:56:23 +00:00
John Colvin 7490fd107f refactor: Support dict and list of tuples in py fmt_table 2025-12-05 15:56:23 +00:00
John Colvin 5fb64e114c refactor: Hide md client behind interface, create via dep injection 2025-12-05 15:56:21 +00:00
John Colvin 0571429375 refactor: Decouple ViewStreamDatabase from TableStream, ISubscriberCore 2025-12-05 15:54:03 +00:00
John Colvin 8d10d512dd cleanup: Drop ".exe" from log dir name on windows 2025-12-05 15:54:03 +00:00
John Colvin 7d90f8c664 feat: Add SpreadBook stream 2025-12-05 15:54:03 +00:00
John Colvin 5412a90c2e fix: Check settings Subject.IsDisposed before using 2025-12-05 15:54:03 +00:00
John Colvin 50b4cf7556 ui (launcher): Move "X" button to left of report menu items
This is a more natural location. Also, it looked weird on the right because the
menu labels aren't fixed width, so the buttons weren't vertically aligned.
2025-12-05 15:54:03 +00:00
John Colvin 247dcf7d31 refactor: Use HostBuilder to launch spark w/ streams 2025-12-05 15:54:03 +00:00
John Colvin 0009e275b1 build (cleanup): Get rid of global.json
We don't need it anymore
2025-12-05 15:54:03 +00:00
John Colvin 05d2a54e8a build: Update System.Composition pkg refs to 8.0.0 2025-12-05 15:54:03 +00:00
John Colvin 6b27106f44 cleanup: Mark a few classes "internal" in Spark
* BookmarkShellModule
* TabDocument
  - In xaml only (it was already marked internal in xaml.cs)
* WindowManager
* WorkspaceViewModel
* WorkspacesDialogView
* WorkspacesDialogViewModel
* WorkspacesModel
2025-12-05 15:54:03 +00:00
John Colvin aadce1c989 refactor: Consolidate ShellBootstrapper and base class into one 2025-12-05 15:54:03 +00:00
John Colvin b532836d9c feat: Add Stream Reports shell window 2025-12-05 15:54:03 +00:00
John Colvin 3135778120 build: Define custom "main" (entry point) for Spark exe
This is a prelude to integrating streams into spark. The plan is to use
an ms HostBuilder to instantiate stream services/dependencies alongside
the spark Application object.
2025-12-05 15:54:03 +00:00
John Colvin 26e500368f cleanup: Get rid of stunnel code
This looks like it hasn't been hooked up for years...it would only start
if a stunnel.conf file was detected, which hasn't been around for a very
long time.
2025-12-05 15:54:03 +00:00
John Colvin 8957ef6230 fix: Only create mutex if spark app is NOT running in vs designer
I accidentally droped the '!' in a cleanup commit 4 years ago
2025-12-05 15:54:03 +00:00
John Colvin 9fdda62d16 vscode: Add DSQA debug cfg to skip build 2025-12-05 15:54:03 +00:00
John Colvin 982369fcc3 fix (dsqa): Resolve name conflicts with new BlueOrb streams 2025-12-05 15:54:03 +00:00
John Colvin d1186a81f8 fix: Fix typo in "DateTimeExpansionStream" type name
Previously, it was "DateTimeExpanstion" (erroneous "t")
2025-12-05 15:54:03 +00:00
John Colvin 8a5e4048f8 cleanup: Remove "partial" class modifiers from OrderBook vm classes
They simply weren't necessary.
2025-12-05 15:54:03 +00:00
John Colvin 71e2a76d95 build: Add scripts to publish data stream apps 2025-12-05 15:54:03 +00:00
John Colvin 153eb02a38 build: Use separate cmd to build DataStreamSuite/QueryAnalyzer.sln
The DataStreamSuite.sln builds the new webapp now, which will
(eventually) replace DSQA. We'll keep it around for now, but with a
clean separation from the main build.
2025-12-05 15:54:03 +00:00
John Colvin 4b1f31f2b8 diag: Reduce log noise in AsyncTCPConnection_AsyncWrapper 2025-12-05 15:54:03 +00:00
John Colvin 3636d1c785 refactor: Rename snake_case fns PascalCase 2025-12-05 15:54:03 +00:00
John Colvin 833101f026 refactor: Use dependency injection in DSQA 2025-12-05 15:54:03 +00:00
John Colvin f5ecbe8c80 refactor: Load IDataStreamFactory(s) with dependency injection
So we can create ViewStreams that depend on other services, config, etc.
Previously, the PrimitiveManager relied purely on static construction of
types through reflection.
2025-12-05 15:54:01 +00:00
John Colvin c839652ea3 refactor: Make CircularBufferTable immutable 2025-12-05 15:53:32 +00:00