Change to using jsonrpc instead of reqwest #13
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "jsonrpc"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This PR changes peach-dyndns-server to use jsonrpc instead of rocket, to allow for parity with the other peach microservices (that run on peachcloud) and to provide a nice framework for uniformly structured success and error messages for API requests.
The new jsonrpc methods are:
The service is deployed to peach-vps in the same was as before, using cargo-deb. For convenience, you can run the script
deploy_prod.sh
which contains all relevant commands for building and installing the deb on peach-vps.@mycognosist I'm merging this now if you want to take a look at your convenience