Commit Graph
82 Commits
Author SHA1 Message Date
John Colvin a3f194d708 build (web): Upgrade web build to net7.0 2023-04-05 11:39:37 -04:00
John Colvin f5c8c29f5a build: Migrate web build to net6.0
Clean up the web build process a bit while we're at it
* Add 'custom_commands' to run npm install in CMakeLists
* Generate tsconfig files for CMake preset configurations
* Rename local variables to _snake_case in CMakeLists
2022-09-21 00:14:38 -05:00
John Colvin ffb2245ae6 refactor: Clean up immutable.pb.cs code-gen template a bit more
So the generated code more closely follows our formatting practices
2022-08-23 16:54:17 -04:00
John Colvin 4a37e2d6a6 refactor: Implement IKeyedData in generated cs pbuf types
For convenience, so we don't have to pass key-selector lambdas all over the
place when dealing w/ IObservable<TableUpdate>s from the pbuf services
2022-08-16 17:25:02 -04:00
John Colvin 12b2371a69 style: Clean up api code-gen template immutable.pb.cs 2022-08-16 17:25:02 -04:00
John Colvin ef69dfa646 refactor: Add 'table' subscription fns to generated proto services
* Provides a simple convenience, as nearly all api subscriptions made on the
  front-end are converted to TableUpdates anyways

* Can help reduce overhead by instantiating TableUpdate subscriptions
  lazily, and by using one internal TableUpdate subscription to provide
  notifications to all observers
2022-05-24 12:25:16 -04:00
John Colvin 377be5030f style: Clean up pb.cs templates (generated code) 2022-05-24 12:25:16 -04:00
John Colvin 62bf1d069c Fix build errors caused by big merge, externals upgrade
A lot of server-side changes were just merged as part of the Brandon
project (crypto).  Many of those changes were in libspark (a lib on
which both the client and server depend), and upgrades to its external
dependencies.  As a result, windows counterparts of several upgraded
external libs needed to be similarly upgraded (or added for the first
time).  These libs include: boost, btree, catch, curl, fmt, nlohmann json,
openssl, range, rxcpp, websocketpp

This change also makes protobuf generation compatible with python3, and thus
eliminates the build's dependency on python2
2021-12-09 11:40:42 -05:00
John Colvin 75c0fee5bf Merge remote-tracking branch 'origin/spark_crypto_base.server' into spark_crypto_base.client_server_merge 2021-11-22 19:57:53 -05:00
John Colvin 09a5343daa Fix fsharp indentation error in gen'd code 2021-11-19 16:30:58 -05:00
John Colvin 6ca7d3904d Make plugin.py use env python (not hardcoded path) 2021-11-19 16:30:58 -05:00
John Colvin c4953590bc Remove spark_excel from spark_client.sln 2021-09-06 17:40:58 -04:00
Pete Fisher a66eae66bb fixing for python3 2020-10-14 21:56:49 -04:00
Eric Harding bb232d8f1e Add easy convert to immutable function c# 2019-09-12 17:17:15 -04:00
Eric Harding 46d6ca9d2c SP-152 Handle stream unsubscribe with IDisposable 2019-07-29 13:06:31 -04:00
Eric Harding 03bbf2f4a8 SP-152 unsubscribe support 2019-07-29 12:37:28 -04:00
Eric Harding 6b81dcef7d SP-152 fix F# type definition 2019-07-29 11:29:49 -04:00
Eric Harding 322f1164be SP-152 typescript/f# half 2019-07-26 17:35:54 -04:00
Eric Harding f04a48d4f8 Explicitly deny copying a service. make_*_publisher points back to the owning service 2019-02-27 14:00:04 -05:00
Eric Harding e05ce79abf It is not always safe to convert Foo to FooImmutable. It is always safe to convert it to Nullabke<FooImmutable> 2018-12-20 20:30:10 -05:00
Eric Harding e749a24a77 Fix stream with qualifier broken by api_security merge 2018-12-17 14:06:27 -05:00
Eric Harding ad8e803a8c SPARK-1901 C++ AuthToken* is unwieldy. Replace with empty token 2018-12-07 13:20:31 -05:00
Eric Harding 97925a82d4 SPARK-1906 - C++ client 2018-12-05 13:35:57 -05:00
Eric Harding 0bdd2dfca0 Api: centralize formatting stream topic+qualifier 2018-12-05 11:33:13 -05:00
Eric Harding a0c572ef2e Remove generated call to format_qualifier 2018-12-05 11:08:25 -05:00
Eric Harding b5c24880a1 SPARK-1901 - Send qualifier to stream access check 2018-12-05 10:51:37 -05:00
Eric Harding 112a5703e0 SPARK-1906 Stream Auth : C++ Server 2018-12-03 17:35:01 -05:00
Eric Harding d652646e93 SPARK-1906 Stream Auth : C# Server 2018-11-30 17:22:42 -05:00
Eric Harding 86199755f5 SPARK-1906 Stream Auth : C# Client 2018-11-30 17:05:37 -05:00
Eric Harding d68156f214 Remove api stream "structured qualifiers". Nobody uses this feature and it is very fragile 2018-11-30 15:56:49 -05:00
Eric Harding 895bf3be6a Add AuthenticatedServiceBase class C# 2018-11-30 14:08:44 -05:00
Eric Harding 860132469f Add AuthenticatedServiceBase base class to opt in to service authentication 2018-11-30 13:37:37 -05:00
Eric Harding e1568c1e67 SPARK-1905 Attach token to api request header (c++) 2018-11-30 11:24:58 -05:00
Kevin Darby ea3eacbbae async blows up brian's laptop, adding it as an option 2018-11-09 15:40:26 -05:00
Kevin Darby 9f3941d1a1 favor the async excel interface for our api calls 2018-11-09 13:39:06 -05:00
Kevin Darby 81d67f640b my head hurts from the f# 2018-10-31 17:26:34 -04:00
Kevin Darby 00f2ea75ac Merge branch 'excel' of bitbucket.org:bluetradesys/spark 2018-10-05 10:27:23 -04:00
Kevin Darby 3def034af8 added sorting and filtering for subscriptions 2018-10-04 18:15:17 -04:00
Kevin Darby 38a1139475 got orders working, we need to get rid of MarketDataClient 2018-10-04 15:12:18 -04:00
Kevin Darby 16d43c6766 I think we got orders, need to test tomorrow 2018-10-03 18:35:22 -04:00
Kevin Darby 6a0147e0f4 adding custom api for orders from excel the generated ones don't really work 2018-10-03 16:58:47 -04:00
Eric Harding 3182bc68ab Fix typo in client.pb.h (qualierifer) 2018-10-03 15:03:32 -04:00
Kevin Darby 1ce33fe146 spacing 2018-10-02 18:15:39 -04:00
Kevin Darby 19827be1d8 now excel can call in to spark. I can probably send an order 2018-10-02 18:14:27 -04:00
Kevin Darby c789392e0a generating excel bindings 2018-10-02 16:25:45 -04:00
Eric Harding 03eff1f388 Api generated code namespace ambiguity fix. 2018-06-27 16:49:55 -04:00
Eric Harding 91fdd6ec58 Improve generated structs by adding C# 7.2 readonly keyword 2018-06-06 20:21:20 -04:00
Eric Harding a0e86faa78 Bugfix in c++ service generator. Need full namespace for service with argument types in a different namespace. 2018-05-23 09:23:16 -04:00
Pedro Pinto ab950cba91 Merged from dev 2018-05-18 16:57:03 -04:00
Kevin Darby 2b4ee75393 exposed immutable in sdk and added ToString() => _impl.ToString()
made a slightly better async model in sdk
2018-04-24 12:38:18 -04:00