SI: Implement put operations#67
Merged
Commits
Commits on Nov 15, 2022
Basic PUT operation. Currently this never executes because the server
Show description for 28c3a59committed
Jesse WhitehouseBump Spark CLI service protocol version being used.
Show description for 1b245b1committed
Jesse WhitehouseLog when attempting a staging operation
Show description for 1239defcommitted
Jesse Whitehouse
Commits on Nov 16, 2022
Fix failing unit tests since function signature for ExecuteResponse changed
Show description for b605ccecommitted
Jesse WhitehouseAdd e2e test for put.
Show description for 3ed84d8committed
Jesse WhitehouseBail on tests if staging_ingestion_user is not set
Show description for 57b8a34committed
Jesse WhitehouseBlack client.py
Show description for 7812278committed
Jesse Whitehouse
Commits on Nov 17, 2022
Add unit test that sanity checks _handle_staging_operation is called
Show description for 6b76439committed
Jesse WhitehouseFix imports so that this module can be run independently:
Show description for 3df7c89committed
Jesse WhitehouseImplement GET operation
Show description for 8f0a02ecommitted
Jesse Whitehouse
Commits on Nov 23, 2022
Refactor client.py into distinct methods for each ingestion command type
Show description for 55525cbcommitted
Jesse WhitehouseUpdate pypoetry so I can develop on Python 3.10
Show description for 157ac3dcommitted
Jesse WhitehouseApplied PR feedback around explicit response codes.
Show description for 0739ccccommitted
Jesse WhitehouseApplying PR feedback
Show description for d3a3651committed
Jesse WhitehousePR feedback
Show description for 72f917ecommitted
Jesse WhitehouseBlack client.py
Show description for fba64b7committed
Jesse WhitehouseRefactor e2e test to use a single teste for PUT, GET, and REMOVE
Show description for c27a3d6committed
Jesse WhitehouseMake REMOVE command work
Show description for 19ca706committed
Jesse WhitehouseThese methods don't need to know the `operation`
Show description for 0167bd9committed
Jesse WhitehouseRemove single quote that broke query
Show description for 85e4d7ccommitted
Jesse WhitehouseRemove unneeded argument
Show description for 713002dcommitted
Jesse WhitehouseExpect operation to succeed
Show description for fc06ef8committed
Jesse WhitehouseBlack PySQLStagingIngestionTestSuite only
Show description for cafa17dcommitted
Jesse WhitehouseTidy up comments in e2e test
Show description for a508a1ccommitted
Jesse WhitehouseBasic e2e test scaffolded in. Currently fails.
Show description for ce80df0committed
Jesse WhitehouseOnly allow ingestion commands when base_uploads_path is specified
Show description for 36885a4committed
Jesse WhitehouseRestrict local file operations to descendents of uploads_base_path
Show description for c0c09d4committed
Jesse Whitehouse
Commits on Dec 20, 2022
Remove per PR feedback
Show description for f612795committed
Jesse WhitehouseAdd check for null local_file per PR feedback
Show description for e609ef3committed
Jesse WhitehouseOpen output stream _after_ successful HTTP request
Show description for cdbe2d6committed
Jesse WhitehouseResolve relative paths before comparing row.localFile to uploads_base_path
Show description for 34a0362committed
Jesse WhitehouseAdd test that PUT fails if file exists in staging location and OVERWRITE not set
Show description for c8a64c7committed
Jesse WhitehouseAdd tests: operations fail to modify another user's staging location
Show description for d48d3f3committed
Jesse WhitehouseAdd test that ingestion command fails if local file is blank
Show description for e0037e0committed
Jesse WhitehouseAdd test that invalid staging path will fail at server
Show description for 3fa5d84committed
Jesse Whitehouse
Commits on Dec 22, 2022
Basic usage example (needs tweaking)
Show description for 4824b68committed
Jesse WhitehouseAdd samples of GET and REMOVE
Show description for 469f35fcommitted
Jesse Whitehouse
Commits on Dec 28, 2022
Refactor to allow uploads_base_path to be either a single string object
Show description for bdb948acommitted
Jesse Whitehouse
Commits on Dec 29, 2022
Refactor uploads_base_path to staging_allowed_local_path
Show description for 0261b7acommitted
Jesse Whitehouse
Commits on Dec 30, 2022
Fix mypy static type failures
Show description for 00d8a49committed
Jesse WhitehouseBlack src files
Show description for 7a602e6committed
Jesse Whitehouse