• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ghga-de / work-package-service / 17854285753

19 Sep 2025 09:24AM UTC coverage: 87.385% (+2.9%) from 84.514%
17854285753

push

github

web-flow
Support upload Work Packages (GSI-1816) (#50)

* Add upload WOTs, rename download WOT, add endpoints and core functionality

* Update existing tests

* Add box access checks to AccessCheckMock

* Replace now_as_utc with now_utc_ms_prec

* Bump version from 6.0.0 -> 7.0.0

* Delete old function that was never meant to live

* Fix typing issues for mypy

* Add regression test for existing work pkg docs

* Add outbox sub test

* Expand error checking and add tests for AccessCheck adapter

* Fill in repository crud for upload boxes

* Test the get_boxes method

* Fix user ID type hint in dataset endpoint

* Swap in ResearchDataUploadBox model

* Add work order token integration tests

* Fix test references to the access url plus some minor formatting

* Expose db migrations as standalone entrypoint

This also removes migrations from other commands, so migs will have to be done via init container

* Remove weird description

* Remove unused fields from WOTs and fix validator decorator order

* Add missing span in routes.py

* Bundle box_id and dataset_id validation for work package type

* Remove unused work_type parameter from get_datasets()

* Add extra check for box expiration in get_upload_boxes()

* Remove sleep statement in outbox consumer test

* Rename box models for clarity

* Include the UCS's file upload box ID in data saved to WPS

* Exchange RDUbox ID for FUbox ID in WOT generation

* Fix event sub doc strings

* Update API tags

* Enforce HTTP format for access check url

* Log errors for download methods in access check adapter

* Change WOTWorkType to WorkType

* Implement low-impact misc feedback

* Simplify WOT model definition

* Add missing error handling for get_upload_wot

* Remove extraneous work package type checks and error handling

* Restore doc string line for download WOT

* Add dataset_id and box_id validation to WorkPackage model as well

* Consolidate box and user id definitions as constants in api tests

* Further organize ... (continued)

301 of 331 new or added lines in 14 files covered. (90.94%)

3 existing lines in 2 files now uncovered.

762 of 872 relevant lines covered (87.39%)

0.87 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/wps/cli.py


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc