John Colvin
58bdb4e00d
cleanup: Add key attributes to jsx code
...
They were causing warnings in console log
2024-11-26 18:53:32 +00:00
John Colvin
ee629278cf
cleanup: Add semi-colons to js code
2024-11-26 18:53:32 +00:00
John Colvin
09ca8f504f
Add logs for vite dev proxy server
2024-11-26 18:53:32 +00:00
John Colvin
fd6926eee8
Incorporate env files into docker compose
...
In order to support local (ephemeral) config. For example, to run sparkd
with replay md to troubleshoot an issue.
2024-11-26 18:53:32 +00:00
John Colvin
5ae46fef77
fix: Run MDReplayer on background thread (don't block)
...
This was preventing other services from starting up
2024-11-26 18:53:32 +00:00
John Colvin
07d12cbf94
Add BlueRowColumnMask to hide columns w/ minimal overhead
...
Less overhead than ProjectStream
2024-11-26 18:53:32 +00:00
John Colvin
e75dd34213
fix build: Update protobuf namespaces in c#
2024-11-26 18:53:32 +00:00
John Colvin
73294f1b76
fix build: Fix win cpp build after lots of datastream work on linux
...
* Fix protoc path
* Disable tests (the catch2 build from vcpkg uses incorrect RuntimeIdentifier).
TODO: Need to look into this.
* Update cmake target name from 'libspark' -> 'spark' in vs_filters.cmake
* Disable concurrencpp (async coroutines) in HttpClient
* Update paths in GetWindowsClientSources.cmake
* Update libs in GetWindowsClientLinkLibraries.cmake
* Handful of other trivial changes
2024-11-26 18:53:32 +00:00
John Colvin
1ca34db259
fix build: Move SecurityTests.cpp into "tests" dir
...
We build outside of the main lib (libspark in this case), and instead
build them in a separate exe.
2024-11-26 18:53:32 +00:00
John Colvin
c35865a620
vscode: Fix prelaunchTask in datastream webapp debug cfg (launch.json)
2024-11-26 18:53:32 +00:00
John Colvin
7a3804f1cd
Update datastream webapp appsettings.json (config)
2024-11-26 18:53:32 +00:00
John Colvin
dd10feb286
build: Add 'compose-file' arg to deploy script
2024-11-26 18:53:32 +00:00
John Colvin
f03b571f05
Generate a few row types with new t4 templates
2024-11-26 18:53:32 +00:00
John Colvin
07aa53dffa
fix SQLiteEnumerator
2024-11-26 18:53:32 +00:00
John Colvin
68b42bdb01
Add async SQLiteEnumerator to read sqlite tables as IBlueRowCollection
2024-11-26 18:53:32 +00:00
John Colvin
2d7e6b1ec2
build: Generate c# code for RowTypes
...
Produces structs that implement IBlueRow with strongly typed
properties for each column.
2024-11-26 18:53:32 +00:00
John Colvin
db0df50b53
Add some nifty DataPacket/TableUpdate IObservable utils
2024-11-26 18:53:32 +00:00
John Colvin
bb6662a2c1
fix: Remove query from literal error stream
...
The parser can't handle colons in the expression (it throws/crashes)
2024-11-26 18:53:32 +00:00
John Colvin
e1f98a3209
Tweak new streams database config
2024-11-26 18:53:32 +00:00
John Colvin
1f3b2c5cab
fix build: Disable some includes on windows
2024-11-26 18:53:32 +00:00
John Colvin
cd1f4631dd
build: Move lib_spark tests into separate exe
...
So we don't have to run them through sparkd
2024-11-26 18:53:32 +00:00
John Colvin
4a1a7308dd
refactor: Move catch_test_runner from spark (lib) to sparkd (app)
...
This source file provides the entry point for catch2
2024-11-26 18:53:32 +00:00
John Colvin
7da668c136
Add gen purpose blue row/table utils for data streams
...
* Add BlueRowReflection<T> so ViewStream implementations can use
strong row types without needing to implement IBlueRow
* Add default implementations for IDictionary members in IBlueRow to make
implementing IBlueRow less tedious
2024-11-26 18:53:32 +00:00
John Colvin
304e669de2
Extend dsl to support explicit param names
2024-11-26 18:53:32 +00:00
John Colvin
9d86c85686
Remove erroneous "DSL: " prefix in ai prompt stream
...
This causes parse errors since we extended the dsl syntax to support named
params in the form of "name: arg".
2024-11-26 18:53:32 +00:00
John Colvin
410680cadf
Configure directory browser endpt for vite dev server
2024-11-26 18:53:32 +00:00
John Colvin
64bd5eef4f
Load IDataStremFactory impls 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.
2024-11-26 18:53:32 +00:00
John Colvin
3619d4b22c
refactor: Use generic collections in PrimitiveManager
...
The class that instantiates ViewStreams via reflection
2024-11-26 18:53:32 +00:00
John Colvin
baa9dbfe76
Fix typo in NLStream's namespace
2024-11-26 18:53:32 +00:00
John Colvin
11241b9b37
Fix LiteralStream syntax in md publisher appsettings.json
2024-11-26 18:53:32 +00:00
John Colvin
eb3fad64b0
fix build: Upgrade Newtonsoft.Json 13.0.2 -> 13.0.3 in spark_websocket
...
The DataStreamSuite.sln build was broken because other projects in the sln were
already using the newer version (can't mix and match).
2024-11-26 18:53:32 +00:00
John Colvin
cb97f26c89
vscode: Set ASPNETCORE_ENVIRONMENT=Development in api server debug cfg
2024-11-26 18:53:32 +00:00
John Colvin
5739f948b8
build: Change publish_spark.py default verbosity to 2
...
This equates to STATUS and normal in cmake and dotnet, respectively
2024-11-26 18:53:32 +00:00
John Colvin
bdfb00aa22
Add c# Variant class, modeled after std::variant in c++
2024-11-26 18:53:32 +00:00
John Colvin
50611fe4a3
Add generic ViewStream, BlueRow types/interfaces
2024-11-26 18:53:32 +00:00
John Colvin
4a193bd0e2
Add scripts to deploy apps via docker compose
2024-11-26 18:53:32 +00:00
John Colvin
75907e2bd5
Clean up build scripts
2024-11-26 18:53:32 +00:00
John Colvin
73d670c0dc
fix: Add null check
2024-11-26 18:53:32 +00:00
John Colvin
688a6c8512
vscode: Add debug cfg for api server on linux
2024-11-26 18:53:32 +00:00
John Colvin
551430e256
fix: Update source paths for api server docker
2024-11-26 18:53:32 +00:00
John Colvin
c57312fb4d
feat: Add stream subscriptions to websocket api
2024-11-26 18:53:32 +00:00
John Colvin
418201de6b
fix build: Update proto path in csproj file
2024-11-26 18:53:32 +00:00
John Colvin
5e1a83db8d
fix build: Install actual dir instead of symlink
2024-11-26 18:53:32 +00:00
John Colvin
e0ad6f72c0
fix build (c#): Update source file paths, namespaces, etc.
...
The c# builds have been broken ever since we reorganized the c++ projects with
stuttering dirs.
2024-11-26 18:53:32 +00:00
John Colvin
8a22d7e318
fix: Load logging config at runtime
...
Don't use hardcoded default
2024-11-26 18:53:29 +00:00
John Colvin
856ba177aa
refactor: Replace BoolName w/ FormattedBool
2024-11-26 18:40:34 +00:00
John Colvin
54819d7d9b
Init hb timestamp to avoid false drops
...
Mainly when debugging.
2024-11-26 18:40:34 +00:00
John Colvin
aaf9229f7e
fix: Run heartbeat timer in MarketDataGateway
...
This is why we were getting those heartbeat asserts. Previously,
only ExchangeSimApplication would start this timer. Since
MarketDataGateway doesn't share its MDProducer with
ExchangeSimApplication, it must start one itself.
2024-11-26 18:40:34 +00:00
John Colvin
009a00c041
Make utils::TimeStamp formattable for logs, etc.
2024-11-26 18:40:34 +00:00
John Colvin
104742c9c0
fix build: Link Onixs dep libACE with --no-as-needed
...
libACE is an Onixs dep that isn't called directly by our code. For some
reason, gcc builds fail to resolve this dep at runtime unless this flag
is used. This isn't a problem with clang builds.
2024-11-26 18:40:34 +00:00