Commit Graph

2608 Commits (72c2b472225b5a0d7c952c84ac0bee871d97baf3)

Author SHA1 Message Date
jMyles c5b2c9a457 OK, let's have this be the primary canonical location for the logic of automatic node certificate storage, at least for now. 2018-09-21 21:42:43 +02:00
jMyles 8df28ce369 We actually don't want to immediately learn again here, or we risk an infinite recursiion. 2018-09-21 21:41:59 +02:00
Kieran Prasch fb7a2716c6 Fix top-lvel ContractAgent bug - accept contract at agent init-time 2018-09-21 12:24:34 -07:00
Kieran Prasch b137ebbc76 Resolve typing ImportError in policy 2018-09-21 12:01:50 -07:00
Kieran Prasch 4e1fe0e659 Tone-down mypy even more 2018-09-21 11:43:07 -07:00
Kieran Prasch 37c3ffd384 Bug fixes indicated by mypy checks; More annotations for all. 2018-09-21 11:42:44 -07:00
Kieran Prasch 824ef32a85 type hints for blockchain submodules 2018-09-21 11:04:52 -07:00
Kieran Prasch ba8bfdf435 Type hints for keyring; fixes several NameErrors along the way 2018-09-21 10:47:38 -07:00
Kieran Prasch 4c02e5cd9e A huge slew of type hints and annotations to help resolve mypy checks 2018-09-21 10:16:38 -07:00
Kieran Prasch 8387602295 Skip run_ursula test due to multi calls to reactor.run during tests 2018-09-21 09:39:12 -07:00
Kieran Prasch 2bcc485f93 Add local try/finally in cli.config test to cleanup a single test dir 2018-09-21 09:03:45 -07:00
Kieran Prasch e39ffc8461 Work on lazy default configurations; NetworkMiddleware default values 2018-09-21 09:03:02 -07:00
Justin Holmes acc0527566
Merge pull request #441 from jMyles/cli-vamp
Conjoined merge for several PRs into kokonusswasser.  Unless there are unforeseen troubles, this may be the final descent back into master.
2018-09-20 21:58:11 +02:00
Kieran Prasch db0219ff24 straggler Teacher -> Learner 2018-09-20 12:57:23 -07:00
Kieran Prasch 2384cbf7a0 Update fixture chatacter configurations to use local tmpdir 2018-09-20 12:54:16 -07:00
Kieran Prasch c0cde6778d Test coverage for run_ursula CLI: lone ursula 2018-09-20 12:54:16 -07:00
Kieran Prasch 6ad7d8d141 Handle db_filepath on ProxyRestServer a bit more closely 2018-09-20 12:54:16 -07:00
Kieran Prasch a5d561f9b6 type hints for crypto.api SSl functions 2018-09-20 12:54:16 -07:00
Kieran Prasch ba0a23c889 Allow for not-commital generation of filepaths for CLI; Type hints throughout 2018-09-20 12:54:16 -07:00
Kieran Prasch a8b931ad33 Additional work letting cli command fallback on Nocdeconfiguration defaults 2018-09-20 12:54:16 -07:00
jMyles 0c4db097ee Teacher is now Learner. 2018-09-20 18:39:32 +02:00
jMyles f7447d50e9 Fixing the test by copying Ursula's stamp. 2018-09-20 14:06:45 +02:00
jMyles 659a0a882a Vlad can optionally copy Ursula's signing public key now. 2018-09-20 14:06:29 +02:00
Kieran Prasch d1ffec14c2 CLI configuration test coverage; Mark unimplemented test as skip 2018-09-19 17:01:01 -07:00
Kieran Prasch b29e652e99 Name tmp CLI files seperately 2018-09-19 17:00:07 -07:00
Kieran Prasch 2ce01ccd3a Restore Ursula.from_config: use UrsulaConfiguration API 2018-09-19 16:27:00 -07:00
Kieran Prasch c2d35c887d Remove temporary databases by database engine path reference 2018-09-19 16:26:15 -07:00
Kieran Prasch c897ccb74a cache the db filepath on ProxyRestServer and ProxyRestRoutes 2018-09-19 16:25:51 -07:00
Kieran Prasch 0e9c75ada5 Add CLI Todos, Leave default calues to config classes 2018-09-19 16:25:14 -07:00
Kieran Prasch 7e403f39a2 Use pytest fixtures to cleanup temporary directories 2018-09-19 15:25:54 -07:00
Kieran Prasch d311c397a1 Include dbatabase filepath as a configuration option; Stop spraying databases during tests. 2018-09-19 14:30:53 -07:00
Kieran Prasch a63a99c3d9 Auto-initialize temp configuration in fixtures 2018-09-19 13:36:16 -07:00
Kieran Prasch 5b34800761 Use lazy and dynamic runtime path generation, with temp storage options 2018-09-19 13:21:11 -07:00
Kieran Prasch d2b35f8ed0 Further integrate NodeConfiguration with CLI 2018-09-19 13:20:29 -07:00
Kieran Prasch 6116dac451 Modify character classes to use runtime files and directories: certificates and metadata 2018-09-19 13:17:21 -07:00
jMyles 38fbb32a2c Passing cert dir through the flow to save the cert to disk. 2018-09-19 13:17:20 -07:00
Kieran Prasch d8208d9e37 Removes anything that mentions the DHT. Kademlia remains. 2018-09-19 13:16:13 -07:00
Kieran Prasch ffb8c5c4f2 Namespace and modularize nucypher sandbox utilities 2018-09-19 13:16:13 -07:00
Kieran Prasch a8544bd93d Modify character classes to use runtime files and directories: certificates and metadata 2018-09-19 13:12:58 -07:00
jMyles 638c78697c Passing cert dir through the flow to save the cert to disk. 2018-09-19 13:12:29 -07:00
Kieran Prasch f3c614db17 Namespace and modularize nucypher sandbox utilities 2018-09-19 13:10:17 -07:00
Kieran R. Prasch fa71f0c8c5 Cleanup run_ursula command and cli module from some stale imports. 2018-09-19 21:40:35 +02:00
Kieran Prasch c23ff73002 Working lonely federated node via CLI using UrsulaConfiguration API 2018-09-19 21:40:35 +02:00
Kieran Prasch 4fe815388b Small adjustment to CLI run_ursula to keep test collection running 2018-09-19 21:40:35 +02:00
Kieran Prasch f5e0056b5f Update two tests to use ursula configuration fixture 2018-09-19 21:40:35 +02:00
Kieran Prasch 600fece176 make_ursulas accepts node configuration instances 2018-09-19 21:40:35 +02:00
Kieran Prasch e8323e125d Pass certificate filepath through TLSHostingPower 2018-09-19 21:40:35 +02:00
Kieran Prasch 81e5fd5641 Optimize imports 2018-09-19 21:40:35 +02:00
Kieran Prasch b4d241da67 Update middlewares to use certificate paths 2018-09-19 21:40:35 +02:00
Kieran Prasch 9842b5d096 Modify character classes to use runtime files and directories: certificates and metadata 2018-09-19 21:40:35 +02:00