Commit Graph

9456 Commits (c8a1d4095aaade30ec3339e903e3c0f70b828f8a)

Author SHA1 Message Date
derekpierre 5c21990fce Add mising command line prompts for docs. 2021-07-26 15:14:43 -04:00
derekpierre 1fe532c99c Add documentation about Basic Authentication provided by Porter. 2021-07-26 15:14:43 -04:00
derekpierre 73a186ba90 Updated information for `/publish_treasure_map` endpoint and what it returns - it should have some data representing confirmation. 2021-07-26 15:14:43 -04:00
derekpierre c58184f246 Add Docker and Docker Compose sections as separate. 2021-07-26 15:14:43 -04:00
derekpierre 5c80256456 Add documentation for Porter docker usage. 2021-07-26 15:14:43 -04:00
derekpierre 11a5eea51b Add documentation about CLI usage of Porter service. 2021-07-26 15:14:43 -04:00
derekpierre bcaa4c2bd6 Flesh out initial API documentation for Porter endpoints. 2021-07-26 15:14:43 -04:00
derekpierre 9c7051ce6a Very rough initial diagram and blurb for Porter documentation. 2021-07-26 15:14:43 -04:00
derekpierre e8f0e20400 Add Basic Authentication tests. 2021-07-26 15:14:43 -04:00
derekpierre dc2b75b0ba Provide informed import error if basic authentication is attempted without porter extra installation. 2021-07-26 15:14:43 -04:00
derekpierre 5485484e36 Add very simple iteration of basic authentication to Porter. 2021-07-26 15:14:42 -04:00
derekpierre ed17df1be3 Docker compose file for porter. 2021-07-26 15:14:42 -04:00
derekpierre 0720f7ca51 Modify --certificate-filepath option to instead be --tls-certificate-filepath. 2021-07-26 15:14:42 -04:00
derekpierre 8babb11e96 Add acceptance cli tests for porter. 2021-07-26 15:14:42 -04:00
derekpierre fd890e33e4 Allow Porter to be launched with TLS. 2021-07-26 15:14:42 -04:00
derekpierre e83128fd91 One potential solution for contextualizing federated vs non-federated treasure maps provided as bytes in the `/publish_treasure_map` endpoint.
The context information is provided either at construction time of the TreasureMap field, or via the parent Schema context.
2021-07-26 15:14:42 -04:00
derekpierre 2403c27370 Code cleanup based on RFCs from #2717. 2021-07-26 15:14:42 -04:00
derekpierre e45124463c Fix import statement, and add comment about follow-up PR for treasure map id length.
Co-authored-by: David Núñez <david@nucypher.com>
2021-07-26 15:14:42 -04:00
derekpierre 2cdad04528 Cleanup reservoir exclusion/inclusion code a little to make it simpler. 2021-07-26 15:14:42 -04:00
derekpierre 39e5217d63 Use uri instead of ip_address for UrsulaInfo. 2021-07-26 15:14:42 -04:00
derekpierre ebd0a18916 Apply RFCs from #2717. 2021-07-26 15:14:42 -04:00
derekpierre 8df7a5da80 Apply RFCs from #2717. 2021-07-26 15:14:42 -04:00
derekpierre ab4b001b1e Fixed bug where teacher uri was not being used. Allow registry filepath to be specified. 2021-07-26 15:14:42 -04:00
derekpierre 471d807c75 Ensure acceptance/porter tests are run on Circle CI. 2021-07-26 15:14:42 -04:00
derekpierre 5b2984fd74 Improve treasuremap validation for rest api, and some code cleanup.
Added rpc and web control tests for porter.
2021-07-26 15:14:42 -04:00
derekpierre 34fbc058d6 Make duration_period for get_ursulas optional on the Learner object for federated mode (not changed for rest api). 2021-07-26 15:14:42 -04:00
derekpierre dbeec7f1ae Add integration and acceptance tests for porter functionality.
Remove unused 'publish_treasure_map' parameter from _enact() function.
Loosen validation on treasure map id which can be 32 bytes (federated) or 16 bytes (non-federated). Probably only care about non-federated but for ease of testing, federated really helps.
2021-07-26 15:14:42 -04:00
derekpierre 778c018593 Initial implementation of Alice.get_ursulas for Porter. 2021-07-26 15:14:42 -04:00
derekpierre b697831213 Very simple initial implementation of Bob.get_treasure_map and Alice.publish_treasure_map for Porter.
Added federated functionality to Porter.
2021-07-26 15:14:42 -04:00
derekpierre babb78fb52 Respond to RFCs for #2713. 2021-07-26 15:14:42 -04:00
derekpierre 4e083ed6b1 Clarify what next steps are needed for actual implementation. 2021-07-26 15:14:42 -04:00
derekpierre 01a62eac36 Add tests for Porter Schema definitions. 2021-07-26 15:14:42 -04:00
derekpierre 8de665a955 Initial unit tests for fields. 2021-07-26 15:14:42 -04:00
derekpierre 8b0d7d999f Simple code cleanup regarding field specifications - some definitions were incorrect or over-engineered. 2021-07-26 15:14:42 -04:00
derekpierre 12aee894d6 Fix Porter CLI logging issues and add rpc controller. 2021-07-26 15:14:42 -04:00
derekpierre 63c0aa93a0 Web Controller/Rest App plumbing for Porter based on Porter Schema. Drafted a very simple run command for the Porter CLI. 2021-07-26 15:14:42 -04:00
derekpierre 6cc34eb995 CLI plumbing for Porter based on Porter schema. 2021-07-26 15:14:42 -04:00
derekpierre 1fd7f2affd Ensure that porter schema input parameters have 'load_only' set to True. 2021-07-26 15:14:42 -04:00
derekpierre b126fbcecb Initial dump of the idea for Porter Schema definition. 2021-07-26 15:14:42 -04:00
derekpierre 589ddff4de Initial refactoring of "character control"; abstract what is now "character control" into a general "base control" from which "character control" can sub-class. 2021-07-26 15:14:42 -04:00
Derek Pierre b8ac12cb23
Merge pull request #2759 from derekpierre/update-cache
Increment cache version to force rebuild of dependencies.
2021-07-26 12:17:38 -04:00
Derek Pierre 1ae99e1350
Merge pull request #2762 from derekpierre/no-bytes
Don't put bytes directly into log - instead write as hex
2021-07-26 12:16:34 -04:00
derekpierre 6de7f9ecb7 Add newsfragment for #2762. 2021-07-26 11:32:22 -04:00
derekpierre 1ecaaa52b6 Put a hex string representation of current_teacher in the logs instead of bytes; bytes cause formatting exceptions. 2021-07-26 09:35:55 -04:00
KPrasch 871d0c9f65
Merge pull request #2753 from derekpierre/median-int
Ensure that gas price used for transactions is an int
2021-07-21 12:58:19 -07:00
derekpierre e02f41eac3 Increment cache version to force rebuild of dependencies. 2021-07-16 10:36:02 -04:00
derekpierre 34273bd8c7 Add newsfragment for #2753. 2021-07-15 12:27:57 -04:00
derekpierre a2f8b37d95 Ensure that median gas price returns an int. 2021-07-15 12:21:48 -04:00
KPrasch a95e236b75
Merge pull request #2748 from fjarri/make-stamp-a-stamp
Make `NodeSprout.stamp` be of type `SignatureStamp` and not `bytes`
2021-07-14 13:06:13 -07:00
Bogdan Opanchuk 22083267a8 Add a newsfragment for #2748 2021-07-13 18:00:25 -07:00