John Colvin
a86d4490e4
Add json facilities for DataStream websocket api
2024-07-07 17:43:45 -04:00
John Colvin
1531c6e794
refactor: Add handy WebsocketExtensions
...
* IsSocketStateOpen
* IsClosedProperly
2024-07-07 17:43:45 -04:00
John Colvin
90f2c85b0b
feat: Add JsonRpc types for websocket paradigm
2024-07-07 17:42:33 -04:00
John Colvin
9858ba07c8
cleanup: Remove empty file (clearly added by accident)
2024-07-07 17:42:33 -04:00
John Colvin
d939c0efb3
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-07-07 17:42:33 -04:00
John Colvin
71f38f6712
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-07-07 17:42:33 -04:00
John Colvin
f5fc6d560a
refactor: Add WebsocketClient class
...
Basically an ISubject (I/O) wrapper for IWebsocketConnectionGateway
2024-07-07 17:42:33 -04:00
John Colvin
036f5b9c90
refactor: Change WebsocketServerConfig.port to uint32
...
It should always be a number between 1-65535
2024-07-07 17:42:33 -04:00
John Colvin
a29a64b842
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-07-07 17:42:33 -04:00
John Colvin
15949dbab4
refactor: Remove nullability constraint in GetValueOrDefault
2024-07-07 17:42:33 -04:00
John Colvin
bcb9056672
refactor: Use events to avoid circular deps for ws sync/gateway
2024-07-07 17:42:33 -04:00
John Colvin
f665062b35
refactor: Let caller specify nullability of T in json parse fn
2024-07-07 17:40:04 -04:00
Taha Afzal
4fb3a15ef0
Added pss_echo()
2024-07-07 10:24:09 -04:00
Taha Afzal
146676bfba
Merging
2024-07-07 10:24:09 -04:00
Taha Afzal
51b631f09f
src/DataStreamSuite/PubSub/ManagedTCP/AsyncTCPConnection_AsyncWrapper.cs
2024-07-07 10:24:09 -04:00
Taha
bcfc89f95b
Adding TableMetaDataStream
2024-07-07 10:24:09 -04:00
Taha Afzal
0026ecbfaa
Cleaning Config 1.0 (not completely done)
2024-07-07 10:24:09 -04:00
Taha
f964689a0c
Added pubsub routes to the Title of DSQA
2024-07-07 10:24:09 -04:00
Taha
8d03406fb7
Fixing the bug where messages were being sent by the pubsubserver out of order
2024-07-07 10:24:09 -04:00
Taha
5dc67084eb
some buf gixes + cleanup
2024-07-07 10:23:41 -04:00
Taha
cca24399d5
PubSuMessageReactor empties the message queue (instead oif one elem ata a time) in the main loop
2024-07-07 10:23:12 -04:00
Taha
46bc00ce87
PubSubServer's linux issues fixed
2024-07-07 10:23:12 -04:00
Taha
5cf7eacd82
Fixing the extra .0 in the default pubsub server routeplusfixing acorner cae issue of gettign a fast streaming data cakback after an unsubscribe
2024-06-24 00:28:07 -04:00
John Colvin
087d8ab8c9
Set text=auto in gitattributes
...
Otherwise git can cause files to show as "permanently modified" when you
apply changes from the index (e.g., by running 'git rebase', or 'git
stash pop')
2024-06-11 17:39:12 +00:00
John Colvin
b69b7b3350
vscode: Use '\' dir separator in show_last_run.cmd
...
This script only runs on Windows
2024-06-08 15:08:25 -05:00
John Colvin
5620f33524
vscode: Add task to view logs for last PubSubServer run
2024-06-08 14:42:13 +00:00
John Colvin
f3e33fa390
vscode: Add task to run PubSubServer without building
2024-06-07 16:41:42 +00:00
John Colvin
3b631e0d5f
Fix a couple more typos in logs
2024-06-07 16:35:06 +00:00
John Colvin
f93d28ee76
vscode: Add task to view logs for last DSQA run
2024-06-07 11:34:36 -05:00
John Colvin
23d7d3775d
cleanup: Delete unused files
2024-06-07 10:40:34 -05:00
John Colvin
4940771166
fix: Don't login to sparkd from DSQA
2024-06-07 10:02:42 -05:00
John Colvin
c1967a8f6a
vscode: Add tasks to edit Spark, DataStream config
2024-06-06 11:12:56 -05:00
John Colvin
8c797ee76b
Fix typo in log msg
2024-06-06 09:21:01 -05:00
John Colvin
ce80957d07
DSQA shouldn't connect to sparkd by default
2024-06-06 09:21:01 -05:00
John Colvin
c60018b59e
DataStreamPublisher shouldn't connect to sparkd by default
...
It only needs to connect to sparkd if it's publishing market data
2024-06-06 09:21:01 -05:00
John Colvin
3a27af87d1
PubSubServer shouldn't download config from sparkd by default
...
As far as I know, it only needs spark/protobuf config to initialize the
c++ logging system. Eventually, we should get rid of that dependency and
use builtin Microsoft Logging facilities for c# instead. In the
meantime, PubSubServer will load config from local files by default
(i.e., spark.conf).
2024-06-06 09:21:01 -05:00
John Colvin
068c1c6973
cleanup: Remove erroneous comment
2024-06-06 09:21:01 -05:00
John Colvin
645a58c97d
vscode: Add launch.json
2024-06-06 09:21:01 -05:00
John Colvin
b7f455b29a
vscode: Remove launch/tasks.json from gitignore
2024-06-06 09:21:00 -05:00
John Colvin
4a2735839e
Change line endings to crlf in a few cs files
2024-06-06 09:21:00 -05:00
John Colvin
d2e9fe8237
Change line endings to crlf in a few cs files
2024-06-06 09:21:00 -05:00
John Colvin
cfc60766d8
Change line endings to crlf in a few cs files
2024-06-06 09:21:00 -05:00
John Colvin
b03fec7f79
Change line endings to crlf in a few cs files
2024-06-06 09:20:59 -05:00
John Colvin
fb8e7c5b81
Ensure crlf line endings for cs files
2024-06-06 09:20:05 -05:00
John Colvin
e44601d1b1
fix merge: Bring back few fns that SchemaGuesserStream needs
...
* BlueDataUtility.get_typed_schema
* BlueDataUtility.get_typed_table
2024-06-06 09:20:05 -05:00
Taha
07bade53c0
Fixing AsyncTCPCOnnection_APM's double partial messages for messages > 100 MB
2024-06-06 09:20:05 -05:00
Taha
fac0a9c25b
RemoteQueryStream
2024-06-06 09:20:05 -05:00
John Colvin
1d1de3dd18
Ensure proper line endings for sh, cmd scripts
...
Via new gitattributes file
2024-06-06 09:20:05 -05:00
John Colvin
cfcbf004ba
vscode: Use consistent naming conventions in tasks.json
2024-06-06 09:20:05 -05:00
John Colvin
78c7dadbbe
vscode: Add parameterless task variants
...
This allows us to build as a 'preLaunchTask' when debugging (without
requiring users to redundantly specify 'Debug' as the build type).
2024-06-06 09:20:01 -05:00