John Colvin
efaef11e7c
fix add scripts to deploy data stream apps
2024-09-18 14:02:36 +00:00
John Colvin
c095614c67
fix: Import websocket url from environment var
2024-09-18 14:02:36 +00:00
John Colvin
f41114ee13
Add scripts to deploy data stream apps
2024-09-18 14:02:36 +00:00
John Colvin
39c33f082f
Add SpaServer to Production environment
...
For Bts.DataStreamWebApp.Server
2024-09-18 14:02:36 +00:00
John Colvin
a3c0bc977e
Change DirectoryBrowser requestPath to "/browse"
...
So we can view a psuedo file explorer for the webapp by requesting the "/browse" path
(only activated in Development environment).
2024-09-18 14:02:36 +00:00
John Colvin
3a39b3c516
Publish Bts.DataStreamWebApp.Server along with PubSub & DataStream
2024-09-18 14:02:36 +00:00
John Colvin
9265746198
cleanup: Remove unused code in Bts.DataStreamWebApp.Client
2024-09-18 14:02:36 +00:00
John Colvin
0236e3a47a
Capture OperationCanceledException (instead of TaskCanceledException)
...
The former is the base class for the latter, so this will widen the umbrella to catch a few corner cases
that would otherwise been handled by the generic "Exception" catch block. One corner case I know
of is when an op is canceled via "CancellationToken.ThrowIfCancellationRequested". In that case,
an OperationCanceledException is thrown (not a TaskCanceledException).
https://stackoverflow.com/questions/34359129/operationcanceledexception-vs-taskcanceledexception-when-task-is-canceled
2024-09-18 14:02:36 +00:00
John Colvin
71d52c2dc9
Hardcode webSocketUrl to aws server in DataStreamWebApp client
2024-09-18 14:02:36 +00:00
John Colvin
ce0b4872ff
Assert that System publishers 'doWork' is always called on same thread
2024-09-18 14:02:36 +00:00
John Colvin
b686159cf3
fix: Make InternalPublisherQueue thread safe
2024-09-18 14:02:36 +00:00
John Colvin
ee7c8c393e
Improve error reporting in DataStreamWebSocketServer
2024-09-18 14:02:36 +00:00
John Colvin
7c4191289f
data stream web app client check pt
2024-09-18 14:02:36 +00:00
John Colvin
f18949a1e3
fix build: Fix Spark build after making config init async
2024-09-18 14:02:36 +00:00
John Colvin
f3b9cb2d62
fix Change Configuration.initialize to be async
2024-09-18 14:02:36 +00:00
John Colvin
faeb10cf9d
refactor: Tweak SparkCoreServices to synchronize Configuration.init globally
2024-09-18 14:02:36 +00:00
John Colvin
e5f1039671
refactor: Change Configuration.initialize to be async
2024-09-18 14:02:36 +00:00
John Colvin
39de6bdb2d
vscode: Add 'isSparkApiEnabled' input to launch.json
2024-09-18 14:02:36 +00:00
John Colvin
e93f970706
SparkApiService check pt
2024-09-18 14:02:36 +00:00
John Colvin
844677dae0
pubsub server checkpt
2024-09-18 14:02:36 +00:00
John Colvin
3541feef87
pubsub checkpt
2024-09-18 14:02:36 +00:00
John Colvin
776a589945
datastreamwebapp server checkpt
2024-09-18 14:02:36 +00:00
John Colvin
396f72d7c1
datastream webapp client check pt
2024-09-18 14:02:35 +00:00
John Colvin
62a9917a48
fix add pubsub services
2024-09-18 14:02:35 +00:00
John Colvin
a3dd7c3815
Remove unused PubSubConfig members from MarketDataPublisher cfg json
2024-09-18 14:02:35 +00:00
John Colvin
e669cf6b77
Remove unused PubSubConfig members from PubSubServer cfg json
2024-09-18 14:02:35 +00:00
John Colvin
c5e3c4aa18
fix Remove unused PubSubConfig members
2024-09-18 14:02:35 +00:00
John Colvin
be35ed120b
Remove unused PubSubConfig members from DSQA config json
2024-09-18 14:02:35 +00:00
John Colvin
9846bf3936
Remove unused PubSubConfig members from WebApp config json
2024-09-18 14:02:35 +00:00
John Colvin
cb5fcee2ce
Remove unused PubSubConfig props
2024-09-18 14:02:35 +00:00
John Colvin
08319cfd38
Fix dsqa config json
2024-09-18 14:02:35 +00:00
John Colvin
777c276437
fix: Always call 'handle_internal_pubs' in PubSubMessageReactor main loop
2024-09-18 14:02:35 +00:00
John Colvin
5ab0e1f886
improvement: Accept CancellationToken, catch exceptions when running ds websocket server
2024-09-18 14:02:35 +00:00
John Colvin
a90896f606
Fix mismatched types in PubSubServerTagStatsStream schema
2024-09-18 14:02:35 +00:00
John Colvin
3f6f5ab0e0
Add DataStreamPublisher service modules designed for Dependency Injection
...
* Change DataStreamPublisher json fields to match cs class property names verbatim
* Rename Publishers -> PublisherNodes in DataStreamPublisherConfig
2024-09-18 14:02:35 +00:00
John Colvin
24e5683ad2
refactor: Decouple ViewPublisher from IPubTableBroker impl
2024-09-18 14:02:35 +00:00
John Colvin
34999d0a5a
Add PubSub service modules designed for Dependency Injection
...
* Get rid of JsonPropertyName attributes in PubSubConfig
- The Dependency Injection framework (based around dotnet ApplicationBuilder)
does not support this attribute, and maps property names verbatim to json fields.
* Change PubSubServer json fields to match cs class property names verbatim
2024-09-18 14:02:35 +00:00
John Colvin
ace7ae2695
refactor: Decouple RemoteQueryManager from IManagedSubscriber, IPubTableBroker impl
2024-09-18 14:02:35 +00:00
John Colvin
f9016907e6
refactor: Decouple ManagedSubscriber from ISubscriberCore impl
2024-09-18 14:02:35 +00:00
John Colvin
0913fe28d4
refactor: Only support 1 tag type in IPubSubServerTagHandler
2024-09-18 14:02:35 +00:00
John Colvin
400b4ff848
refactor: Decouple PubTableBroker from IPublisherCore impl
...
Reference interface rather than the PublisherCore impl.
2024-09-18 14:02:35 +00:00
John Colvin
5a36a5f4d4
improvement: Accept CancellationToken in JsonRpcRequestObservable
2024-09-18 14:02:35 +00:00
John Colvin
0f6539ed00
fix: Dispose market data sub in various md streams
2024-09-18 14:02:35 +00:00
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