Commit Graph
13799 Commits
Author SHA1 Message Date
John Colvin baae080402 Add PUT method to http client 2024-12-04 20:22:38 +00:00
John Colvin 1c7965b590 fix ws client 2024-12-04 20:22:13 +00:00
John Colvin 44f9618c48 refactor: Move OrderServiceServer to sparkd
Where it belongs
2024-11-30 17:30:10 +00:00
John Colvin ad54c47f0e Add WebsocketClient (cpp) 2024-11-29 15:05:54 +00:00
John Colvin d50fd65e22 Add scaffolding for PandasExpressions 2024-11-29 15:05:54 +00:00
John Colvin edf1ba53c9 Reduce log noise in SingleTagData 2024-11-29 15:05:54 +00:00
John Colvin 26fe3c0e20 Reduce log noise in AsyncTCPConnection_AsyncWrapper 2024-11-29 15:05:54 +00:00
John Colvin f2341a689c TEMP changes to appsettings.json (at least i should review them before making permanent) 2024-11-29 15:05:54 +00:00
John Colvin 7e6530c69d Add ColumnIndex class to resolve column names to indices
Improves performance compared to accessing columns by name
2024-11-29 15:05:54 +00:00
John Colvin 2795044712 Serialize TimeSpan w/ microsecond precision in DataPacket json 2024-11-29 15:05:54 +00:00
John Colvin 2fb67bdb55 Make 'name' default to CallerArgumentExpression for convenience 2024-11-29 15:05:54 +00:00
John Colvin 66dc76b9ff Rewrite much of compose.yaml 2024-11-29 15:05:54 +00:00
John Colvin f68674924b Add GetValue fn to Variant, PrimitiveVariant 2024-11-29 15:05:54 +00:00
John Colvin fbc6806a9a Add BlueColumnTable for pandas integration
This will make it easier/more natural to support pandas column expressions
2024-11-29 15:05:54 +00:00
John Colvin c9740b22cd refactor: Rename snake_case fns PascalCase 2024-11-29 15:05:54 +00:00
John Colvin c6d039d899 Format DateTimes w/ microsecond precision in DataPacketJsonConverter 2024-11-29 15:05:54 +00:00
John Colvin 611d21d112 Generate some more row types with new t4 templates 2024-11-29 15:05:54 +00:00
John Colvin d28e70cd37 fix: Import all IDataStreamFactory instances in publisher service 2024-11-29 15:05:54 +00:00
John Colvin 7f22bb5f3b fix: Add Ipv6 urls to Kestrel config
The vite dev proxy server was routing requests to ipv6
loopback, ::1, instead of ipv4, 127.0.0.1
2024-11-29 15:05:54 +00:00
John Colvin 437b7b1e69 cleanup: Add key attributes to jsx code
They were causing warnings in console log
2024-11-29 15:05:54 +00:00
John Colvin 68d5b8fda2 cleanup: Add semi-colons to js code 2024-11-29 15:05:54 +00:00
John Colvin 73297e63ab Add logs for vite dev proxy server 2024-11-29 15:05:54 +00:00
John Colvin 44f9400499 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-29 15:05:54 +00:00
John Colvin c8d40fd157 fix: Run MDReplayer on background thread (don't block)
This was preventing other services from starting up
2024-11-29 15:05:53 +00:00
John Colvin 26b0377fa4 Add BlueRowColumnMask to hide columns w/ minimal overhead
Less overhead than ProjectStream
2024-11-29 15:05:53 +00:00
John Colvin b169bedbb2 fix build: Update protobuf namespaces in c# 2024-11-29 15:05:53 +00:00
John Colvin 103892e65a 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-29 15:05:53 +00:00
John Colvin 86d90fdb0a 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-29 15:05:53 +00:00
John Colvin 6674b2ff3b vscode: Fix prelaunchTask in datastream webapp debug cfg (launch.json) 2024-11-29 15:05:53 +00:00
John Colvin ad5692b552 Update datastream webapp appsettings.json (config) 2024-11-29 15:05:53 +00:00
John Colvin 8a313f9b99 build: Add 'compose-file' arg to deploy script 2024-11-29 15:05:53 +00:00
John Colvin f893f2d9b5 Generate a few row types with new t4 templates 2024-11-29 15:05:53 +00:00
John Colvin b17a3c9441 Add async SQLiteEnumerator to read sqlite tables as IBlueRowCollection 2024-11-29 15:05:53 +00:00
John Colvin 63e70650fb build: Generate c# code for RowTypes
Produces structs that implement IBlueRow with strongly typed
properties for each column.
2024-11-29 15:05:53 +00:00
John Colvin d6d919afe4 Add some nifty DataPacket/TableUpdate IObservable utils 2024-11-29 15:05:53 +00:00
John Colvin d242c79079 fix: Remove query from literal error stream
The parser can't handle colons in the expression (it throws/crashes)
2024-11-29 15:05:53 +00:00
John Colvin 144456e83a Tweak new streams database config 2024-11-29 15:05:53 +00:00
John Colvin 832f8c74b3 fix build: Disable some includes on windows 2024-11-29 15:05:53 +00:00
John Colvin 64d015d1ed build: Move lib_spark tests into separate exe
So we don't have to run them through sparkd
2024-11-29 15:05:53 +00:00
John Colvin 7d4367d50c refactor: Move catch_test_runner from spark (lib) to sparkd (app)
This source file provides the entry point for catch2
2024-11-29 15:05:53 +00:00
John Colvin 3aa4fdc359 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-29 15:05:53 +00:00
John Colvin 53ac678b58 Extend dsl to support explicit param names 2024-11-29 15:05:53 +00:00
John Colvin 1674e37506 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-29 15:05:53 +00:00
John Colvin 8629ab7053 Configure directory browser endpt for vite dev server 2024-11-29 15:05:53 +00:00
John Colvin a399d315c3 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-29 15:05:53 +00:00
John Colvin ffb8943afa refactor: Use generic collections in PrimitiveManager
The class that instantiates ViewStreams via reflection
2024-11-29 15:05:53 +00:00
John Colvin 1f41b0ff9f Fix typo in NLStream's namespace 2024-11-29 15:05:53 +00:00
John Colvin 274c9835a5 Fix LiteralStream syntax in md publisher appsettings.json 2024-11-29 15:05:53 +00:00
John Colvin 617bf296e5 vscode: Set ASPNETCORE_ENVIRONMENT=Development in api server debug cfg 2024-11-29 15:05:53 +00:00
John Colvin 4ba92b212d build: Change publish_spark.py default verbosity to 2
This equates to STATUS and normal in cmake and dotnet, respectively
2024-11-29 15:05:53 +00:00