Change to using jsonrpc instead of reqwest #13

Merged
mhfowler merged 8 commits from jsonrpc into master 2021-05-29 07:05:08 +00:00
mhfowler commented 2021-05-25 14:21:23 +00:00 (Migrated from github.com)

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:

  • register_domain(domain)
  • is_domain_available(domain)

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.

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: - register_domain(domain) - is_domain_available(domain) 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.
mhfowler commented 2021-05-29 07:05:03 +00:00 (Migrated from github.com)

@mycognosist I'm merging this now if you want to take a look at your convenience

@mycognosist I'm merging this now if you want to take a look at your convenience
Sign in to join this conversation.
No description provided.