John Colvin
475bf1effc
cleanup: Remove unused pubsub tag handler code
...
* Removed 'IPubSubServerTagHandler.register'
- All implementations of this function were empty
* Removed 'IPubSubServerTagHandler.supportedTagTypes'
- This property wasn't referenced anywhere
* Remove IWorker inheritance from IPubSubServerTagHandler
- No reason these interfaces have to be tied together
2024-09-18 14:02:35 +00:00
John Colvin
ec1e657687
refactor: Rename CloudStreamManager.cs -> RemoteQueryManager.cs
...
This matches the file name
2024-09-18 14:02:35 +00:00
John Colvin
284c84dfe6
Change pub sub schema prefix 'bluto://' -> 'bts-cloud://'
...
In config json files (not actual code change)
2024-09-18 14:02:35 +00:00
John Colvin
b78c61bf44
fix build: Fix prop names after refactoring PubSubRoute
...
* Change 'server_address' -> 'ServerAddress'
* Change 'tag_reg_exp' -> 'TagRegExp'
2024-09-18 14:02:35 +00:00
John Colvin
09a41775bb
build: Add scripts to publish data stream apps
2024-09-18 14:02:35 +00:00
John Colvin
b9ef3ddf91
Fix typo in log msg
2024-09-18 14:02:35 +00:00
John Colvin
e516496fe8
Fix build scripts so they propagate the exit code back to the shell
...
I noticed this was broken because launch.json configurations would still start the debugger
even when the preLaunchTask (build) failed!
2024-09-18 14:02:35 +00:00
John Colvin
a55705db75
vscode: Add DataStreamPublisher debug cfg to skip build
2024-09-18 14:02:35 +00:00
John Colvin
e39ad91e1c
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.
2024-09-18 14:02:35 +00:00
John Colvin
658472b2a8
feat: Add DataStream WebApp
...
Included in DataStreamSuite.sln, but not DataStreamQueryAnalyzer.sln
2024-09-18 14:02:35 +00:00
John Colvin
1ad94cfe49
Add spark service modules designed for Dependency Injection
2024-09-18 14:02:35 +00:00
John Colvin
22a5a9a4c1
build: Copy libspark to all dotnet dirs in single cmake target
...
This is cleaner than the previous impl, which used separate build
targets to copy libspark to "net7.0", and "net7.0-windows" (dirs).
2024-09-18 14:02:35 +00:00
John Colvin
e5bbc26da5
fix: Parse ServerAddress as normal string
...
The "JsonValueOrArrayConverter<T>" doesn't work the way I thought it
would. When it is associated with a property via the JsonConverter
attribute, dotnet json parsing code throws an exception if "T" isn't
assignable to the property type.
2024-09-18 14:02:35 +00:00
John Colvin
6a628a3070
fix build (api server): Change namespace to bts.websocket_core
2024-09-18 14:02:35 +00:00
John Colvin
ac120658eb
Remove docker submodules again
2024-09-18 14:02:35 +00:00
John Colvin
85a36384ce
Change externals url from ssh to https style
...
So we don't need ssh keys to clone it (the builtin credential manager
makes https authentication safe/easy)
2024-09-18 14:02:35 +00:00
John Colvin
563833bc67
cleanup: Fix benign typos in build scripts
...
Change BUILD_SPARK_PY var name to BUILD_PY (because these scripts to actually build 'spark')
2024-09-18 14:02:35 +00:00
John Colvin
d77ac1600b
fix build (warn): Only use Registry on windows
2024-09-18 14:02:35 +00:00
John Colvin
3b41a2065a
cleanup: Fix numerous build warnings in DataStreamSuite
...
Nearly all warnings were due to nullability issues, since the concept of
nullable reference types did not exist when the DataStream code was
originally written.
* PubSubClientMessage
- Normalize indentation/whitespace
- Fix some typos
- Address nullability issues to fix build warnings
- Modernize code
* Compression related files
- ZipEntry
- ZipFile
- ZipInputStream
- TarHeader
* RemoteMessage
- make 'message' nullable to resolve warnings elsewhere (in calling code)
* PubSubSingleTagStateEvent.cs
* PubSubMessageReactor
* PubSubState
* SystemHeartbeatPublisher
* SystemStatsPublisher
* SingleTagData
* ManagedTCPMessageHub
* PubsubDeserializationController
* PublisherCore
* InflaterHuffmanTree
* AsyncTCPConnection_APM
* ThreadSafeQueue
* ManagedSubscriber
* SubscriberCore
* PubSubServerManagedTCPConnection
* AsyncTCPConnection_APM
* SuperMapStream
* MapStream
* TradeBarsStream
2024-09-18 14:02:35 +00:00
John Colvin
f993f01634
cleanup: Normalize indentation in TradeBarsStream
2024-09-18 14:02:35 +00:00
John Colvin
e7067a708b
cleanup: Disable nullability warnings
...
* BZip2InputStream
* TarInputStream
* Inflater
* InflaterDynHeader
* BZip2OutputStream
* DeflaterHuffman
* ParallelJoinTest
2024-09-18 14:02:35 +00:00
John Colvin
04ac2b9d3d
cleanup: Modernize PubSubRoute code, json parsing
2024-09-18 14:02:35 +00:00
John Colvin
66c6b0bf8c
cleanup: Remove unused DateTime grammar from exp parser
2024-09-18 14:02:34 +00:00
John Colvin
03dd4000fe
Add JsonRpcRequestObservable, AsyncEnumerable
2024-09-18 14:02:34 +00:00
John Colvin
e928295e71
Add json facilities for DataStream websocket api
2024-09-18 14:02:34 +00:00
John Colvin
b94c5823e9
refactor: Add handy WebsocketExtensions
...
* IsSocketStateOpen
* IsClosedProperly
2024-09-18 14:02:34 +00:00
John Colvin
467e81b543
feat: Add JsonRpc types for websocket paradigm
2024-09-18 14:02:34 +00:00
John Colvin
8f7409b3e7
cleanup: Remove empty file (clearly added by accident)
2024-09-18 14:02:34 +00:00
John Colvin
0d19702e12
fix: Fix improper 'OfType' linq cast
...
Previously, animations were expressed through polymorphism (derived from the
base class CellAnimation), but the new impl uses composition. This 'OfType' call
was leftover from the polymorphism implementation, an attempt to linq cast
elements of base class (CellAnimation) to BackgroundAnimation.
2024-09-18 14:02:34 +00:00
John Colvin
466fa265fe
editorconfig: Use standard c# capitalization rules
...
* Use 'PascalCase' for public members (instead of 'snake_case')
* Use 'camelCase' for private members (instead of '_snake_case')
2024-09-18 14:02:34 +00:00
John Colvin
ebd1852221
refactor: Add WebsocketClient class
...
Basically an ISubject (I/O) wrapper for IWebsocketConnectionGateway
2024-09-18 14:02:34 +00:00
John Colvin
f1130160b1
refactor: Change WebsocketServerConfig.port to uint32
...
It should always be a number between 1-65535
2024-09-18 14:02:34 +00:00
John Colvin
99fba0b3ce
refactor: Rename WebsocketServerConfig proto pkg 'bts.websocket_core'
...
This matches the namespace used in spark_websocket csproj. Eventually,
I'd like to use conventional capitalization (TitleCase namespaces/types,
etc.), but let's shelf that until we have enough time/energy to do a
more comprehensive refactoring.
2024-09-18 14:02:34 +00:00
John Colvin
89afbbd00a
refactor: Remove nullability constraint in GetValueOrDefault
2024-09-18 14:02:34 +00:00
John Colvin
9e4af550f8
refactor: Use events to avoid circular deps for ws sync/gateway
2024-09-18 14:02:34 +00:00
John Colvin
ea67280252
refactor: Let caller specify nullability of T in json parse fn
2024-09-18 14:02:34 +00:00
Taha Afzal
8c06d84a8b
Fixing problems where PSS's client socket's IP was different than what the client was sending in PubSubClientSubscription
2024-09-18 14:02:34 +00:00
Taha Afzal
941186a12a
Fixing PubsubEchoTestStream
2024-09-18 14:02:34 +00:00
Taha Afzal
0984007c6e
Added pss_echo()
2024-09-18 14:02:34 +00:00
Taha Afzal
2bb7a89777
Merging
2024-09-18 14:02:34 +00:00
Taha Afzal
15fc3cb785
src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnection_AsyncWrapper.cs
2024-09-18 14:02:34 +00:00
Taha
725396589e
Adding TableMetaDataStream
2024-09-18 14:02:34 +00:00
Taha Afzal
6fc1ec4d67
Cleaning Config 1.0 (not completely done)
2024-09-18 14:02:34 +00:00
Taha
0496b299dd
Added pubsub routes to the Title of DSQA
2024-09-18 14:02:34 +00:00
Taha
b55c4103df
Fixing the bug where messages were being sent by the pubsubserver out of order
2024-09-18 14:02:34 +00:00
Taha
6604eaaea7
some buf gixes + cleanup
2024-09-18 14:02:34 +00:00
Taha
29e5c72969
PubSuMessageReactor empties the message queue (instead oif one elem ata a time) in the main loop
2024-09-18 14:02:34 +00:00
Taha
21e07e1b2e
PubSubServer's linux issues fixed
2024-09-18 14:02:34 +00:00
John Colvin
74afdde8de
fix build: Add ".list" to SymbolLists config
...
For new exchanges, TAIFEX and CBOE
2024-09-17 13:01:05 +00:00
John Colvin
0a92ad2eb1
fix (build): Add break statement to new venue switch cases
...
Namely, TAIFEX and CBOE
2024-09-17 13:00:14 +00:00