Commit Graph

9194 Commits (9f87a5d1f5cb9b206e9d561cbca640b5d71cca50)

Author SHA1 Message Date
Piotr Roslaniec 9f87a5d1f5 Fix pathlib usage 2021-08-06 18:10:22 +02:00
Piotr Roslaniec a69a41b73e Update click version 2021-08-06 18:10:22 +02:00
Piotr Roslaniec 6a270c1713 Use pathlib 2021-08-06 18:10:20 +02:00
KPrasch 47d281a30e
Merge pull request #2664 from nucypher/porter
[EPIC] Porter MVP - "Infura for NuCypher"
2021-08-04 10:53:18 -07:00
derekpierre 6a2d953bbb Fixed TreasureMapPublisher code not included from rebase. 2021-08-04 13:35:40 -04:00
Derek Pierre 614e4fa792
Merge pull request #2764 from derekpierre/remove-expired-stakers
Don't include stakers with expired stakes in the `missing_stakers` results for `StakingEscrowAgent.partition_stakers_by_activity()`
2021-07-30 08:38:12 -04:00
KPrasch 94413392ec
Merge pull request #2766 from vepkenez/main
force pull latest tagged image on external geth deployment
2021-07-29 13:48:51 -07:00
damon 59c4df13b4 force pull latest tagged image on external geth deployment 2021-07-29 08:58:09 -07:00
derekpierre 1be607de20 Add newsfragment for #2764. 2021-07-29 09:36:06 -04:00
derekpierre f1c850f479 Don't include stakers with expired stakes in the missing_stakers results for StakingEscrowAgent.partition_stakers_by_activity() 2021-07-28 18:59:02 -04:00
derekpierre dbdb5a207f Invalidate circle ci caches. 2021-07-26 15:21:28 -04:00
derekpierre eabe6ce325 Respond to RFCs from #2664. 2021-07-26 15:14:43 -04:00
derekpierre c23e4b8f83 Add newsfragment for #2664. 2021-07-26 15:14:43 -04:00
Derek Pierre 1f49599769 Merge pull request #2729 from derekpierre/exec-work-order
Porter implementation of `/exec_work_order` (associated with TMapConKFrags for `/reencrypt` endpoint)
2021-07-26 15:14:43 -04:00
Derek Pierre 03d5cf20b8 Merge pull request #2746 from vepkenez/porter
Allow query parameters to be passed in the URL
2021-07-26 15:14:43 -04:00
derekpierre def9ef1116 Ensure that url query parameters in tests are url encoded. Added note about url encoding in docs.
Add unit test for Base64BytesRepresentation field.
Cleanup imports.
2021-07-26 15:14:43 -04:00
derekpierre d6cdd3259d Remove collections.py 2021-07-26 15:14:43 -04:00
derekpierre ece5c97f81 Add note about the vagaries of the url character limit. 2021-07-26 15:14:43 -04:00
derekpierre 6ca5292105 Clarify format of "work_order_result" returned as the result of Porter /exec_work_order. Documentation cleanup: use version 6.0.0 in output, 401 error status code. 2021-07-26 15:14:43 -04:00
derekpierre da0231673c Fix lingering references to relayer_verifying_key to instead be publisher_verifying_key. 2021-07-26 15:14:43 -04:00
derekpierre c77de789c8 Allow URL query parameters for all HTTP methods. Add documentation about URL query parameters and the usage. 2021-07-26 15:14:43 -04:00
derekpierre 463078ce0d Fix issues after TMapConKFrag rebase including how work orders are created and used for tests. exec_work_order tests now actually use /reencrypt ursulas endpoints. 2021-07-26 15:14:43 -04:00
derekpierre d9cbee9469 Cleanup tests that use the random treasure map data to instead use a common fixture. 2021-07-26 15:14:43 -04:00
derekpierre 25f3db3355 Use query parameters for GET methods; updated tests for stringlist and query parameters. 2021-07-26 15:14:43 -04:00
derekpierre 1e0607b89b Clean up WebController handling of request data. 2021-07-26 15:14:43 -04:00
derekpierre 927e89ebe4 Properly verify ursulas before returning as sample result for /get_ursulas endpoing and log any exceptions. 2021-07-26 15:14:43 -04:00
damon 0dfada8056 StringList field for flexible handling of GET/POST data close #2735 2021-07-26 15:14:43 -04:00
derekpierre 42a42b7fe4 Initial documentation of Porter '/exec_work_order' endpoint. 2021-07-26 15:14:43 -04:00
derekpierre d31f5938ca Fix imports and function calls after rebasing over latest changes (TMapConKFrags and umbral_adapter).
Fix incompatible treasure map data used in tests.
2021-07-26 15:14:43 -04:00
damon 43559443b9 add handling for HTTP query params 2021-07-26 15:14:43 -04:00
derekpierre 1baa05ba3f Initial implementation of Porter '/exec_work_order' functionality and tests.
Some code refactoring.
2021-07-26 15:14:43 -04:00
derekpierre 26968e05bc Rename docker image to nucypher/porter instead of nucypher/nucypher-porter.
Update documentation regarding the port that the Porter service runs on.
2021-07-26 15:14:43 -04:00
derekpierre c9c72a29ab Remove unnecessarly CLI commands for Porter. Some schema cleanup to group ursula schemas together. 2021-07-26 15:14:43 -04:00
derekpierre 00f38e7b35 Build and publish separate nucypher/nucypher-porter docker image.
Minor cleanups including docker-compose container names, and documentation updates.
2021-07-26 15:14:43 -04:00
derekpierre 3faf1de19b Fix broken docker-compose for porter. 2021-07-26 15:14:43 -04:00
derekpierre ad36021a2f Make pagination exception check a little less specific. 2021-07-26 15:14:43 -04:00
derekpierre f384c7e87a Properly handle pagination sizes when getting active stakers from StakingEscrow, and standardize porter execution timeouts. 2021-07-26 15:14:43 -04:00
derekpierre b8f1a96367 Fix Porter Docker TLS volume mapping path. 2021-07-26 15:14:43 -04:00
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