Commit Graph
9 Commits
Author SHA1 Message Date
Tim Bruijnzeels b3d73ade3d Process repository response in publisher client. 2018-11-20 15:27:02 +01:00
Tim Bruijnzeels 200191839a Let server generate a RepositoryResponse for a Publisher. Also refactored things to use PathBuf for directories, rather than String, in lots of related places. 2018-11-19 16:55:16 +01:00
Tim Bruijnzeels c8f9e491d4 Rename server.rs to daemon.rs, will have separate stateful server (eg with identity) as the next step. 2018-11-16 16:28:04 +01:00
Tim Bruijnzeels a28b132509 Extended integration test to set up client, and add that as a publisher to the server. 2018-11-16 15:45:34 +01:00
Tim Bruijnzeels febec5d16d Failed to extract generic function or macro for boiler plate around response testing in the integration test. Leaving this commented out though for discussion and future work. 2018-11-16 11:09:02 +01:00
Tim Bruijnzeels e4a1d09b53 Shorten waiting time for server to come up in integration test. 2018-11-15 12:53:13 +01:00
Tim Bruijnzeels 544b5c11a5 Integration test.. can be improved but at least starting a server and parsing a response. 2018-11-14 16:22:15 +01:00
Tim Bruijnzeels 3e2aaa93e5 Fixing warnings for integration test, leaving it as a work in progress. 2018-10-29 14:41:32 +01:00
Tim Bruijnzeels cd47bd3b25 Various fixes: keystore is immutable so it can go in an Arc, yet it can update things internally using its RWLock. Now syncing the PublisherList at start up and passing to the server. A start of an integration test was added, but it needs a whole more work to make it play with starting a hyper server for the duration of the test. 2018-10-26 16:47:29 +02:00