Commit graph

17 commits

Author SHA1 Message Date
8c6230ca20 Implement a reverse proxy using grpc-gateway 2020-06-13 00:23:21 +01:00
7ababb79f6 Migrate to gRPC rather than REST with swagger
Will also be adding in a RESTful endpoint to the server as well so it can consume both types
2020-06-12 22:51:18 +01:00
223c50228e Add comments to the accounts proto file 2020-06-11 18:38:34 +01:00
99da6c5d67 Move accountant to it's own deployment using gRCP 2020-06-11 13:24:42 +01:00
8f25f55658 Refactor accounts to store a data map rather than just a rover ID 2020-06-10 22:48:45 +01:00
7749854eb7 Remove account IDs in favor of just account names
These were a "security" feature but pre-emptive and just add complications when we can implement secrets later
2020-06-10 18:57:43 +01:00
14c4e61660 Fix up gocritic issues 2020-06-10 12:34:04 +01:00
e242fcc4f7 Fix issue with command returning true when no rover was spawned 2020-06-06 00:18:41 +01:00
0fbad15c01 Huge Instance -> Rover refactor, for clarification 2020-06-04 21:19:25 +01:00
e2857d7506 Add the /commands path to handle a set of commands
Entirely synchronous now but allows for the "move" command
2020-06-03 18:40:19 +01:00
c5ebbc3c40 Extract persistence code into own class 2020-06-03 12:10:31 +01:00
4c76530832 Fix tests and actually use the account name 2020-06-02 18:06:34 +01:00
b152861222 Add test for /spawn
Required small refactor
2020-06-02 18:00:51 +01:00
68d117e0d8 Serialise the World as well 2020-06-02 18:00:51 +01:00
50c970fea2 Add /spawn command to let an account spawn it's primary instance 2020-06-02 18:00:51 +01:00
5033ec4e63 Specify the persistence path using the command line 2020-06-02 16:12:44 +01:00
179dd3f984 Implement saving and loading for account data, currently a basic json file 2020-05-31 19:15:57 +01:00