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

ghga-de / work-package-service
87%

Build:
DEFAULT BRANCH: main
Repo Added 07 Feb 2023 03:09PM UTC
Token L9CUewbgQujrrNklx5aaF36BzztS5iSOp regen
Build 229 Last
Files 32
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • 0.1.0
  • 0.1.1
  • 0.1.2
  • 0.1.3
  • 0.1.4
  • 1.0.0
  • 1.0.1
  • 2.0.0
  • 2.0.1
  • 2.0.2
  • 2.0.3
  • 2.0.4
  • 2.0.5
  • 2.0.6
  • 3.0.0
  • 3.0.1
  • 3.1.0
  • 3.1.1
  • 4.0.0
  • 4.0.1
  • 4.0.2
  • 4.1.0
  • 5.0.0
  • 5.0.1
  • 6.0.0
  • bug/do-not-inherit-from-key-error
  • feature/add-rest-api-GDEV-1584
  • feature/add-token-module-GDEV-1586
  • feature/bump-major-version
  • feature/check-download-access-GSI-37
  • feature/clean-up-before-first-release
  • feature/create-patch-release
  • feature/enable_dlq_GSI-1400
  • feature/enable_opentelemetry
  • feature/get-datasets-GSI-39
  • feature/handle-datasets-GSI-26
  • feature/hexkit_v4_GSI-1335
  • feature/hexkit_v7
  • feature/implement_caching_GSI-1238
  • feature/init-from-template-GDEV-1619
  • feature/lynx_boreal_GSI-1816
  • feature/more-secure-creation-of-wot-GSI-903
  • feature/process-dataset-deletion-GIM-299
  • feature/provide-validity-period-gsi-71-gsi-73
  • feature/refactor-di-GSI-443
  • feature/standardized_event_config_GSI-1441
  • feature/template_updates_GSI-613
  • feature/update-dependencies
  • feature/update-dependencies-and-fix-timeout-GSI-707
  • feature/update-dependencies-and-template-files
  • feature/update-deps-GSI-525
  • feature/update-docker-and-deps
  • feature/update-from-template-GSI-385
  • feature/update-hexkit
  • feature/update-service-commons-GSI-692
  • feature/update-template-and-dependencies
  • feature/update-to-service-template
  • feature/update_dependencies_GSI-182
  • feature/use-crypt-from-commons-lib-GSI-98
  • feature/use_configured_logging_GSI-614
  • feature/work-package-management-api-GDEV-1584
  • fix/add-httpx-dependency
  • fix/entry-point
  • fix/h11_patch
  • fix/increate-timeout-in-test
  • fix/opentelemetry
  • fix/opentelemetry_refactoring
  • fix/otel_autoinstrumentation_issues
  • fix/otel_decorator_order
  • fix/set-work-type
  • fix/update_hexkit
  • main
  • non_ars_backport
  • revert_version
  • test/rip_out_otel_distro
  • v4

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

Relevant lines Covered
Build:
Build:
872 RELEVANT LINES 762 COVERED LINES
0.87 HITS PER LINE
Source Files on main
  • Tree
  • List 32
  • Changed 14
  • Source Changed 0
  • Coverage Changed 14
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
17854285753 main 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 ver... push 19 Sep 2025 09:26AM UTC web-flow github
87.39
17853825603 feature/lynx_boreal_GSI-1816 Rename DownloadType to DownloadPathType for symmetry Pull #50 19 Sep 2025 09:07AM UTC TheByronHimes github
87.39
17829173834 feature/lynx_boreal_GSI-1816 Move box population step out of test and into existing fixture Pull #50 18 Sep 2025 12:50PM UTC TheByronHimes github
87.4
17826922786 feature/lynx_boreal_GSI-1816 Further organize WOT models Pull #50 18 Sep 2025 11:17AM UTC TheByronHimes github
87.29
17803643269 feature/lynx_boreal_GSI-1816 Add missing error handling for get_upload_wot Pull #50 17 Sep 2025 04:06PM UTC TheByronHimes github
84.35
17493723504 feature/lynx_boreal_GSI-1816 Exchange RDUbox ID for FUbox ID in WOT generation Pull #50 05 Sep 2025 12:55PM UTC TheByronHimes github
84.99
17491153849 feature/lynx_boreal_GSI-1816 Include the UCS's file upload box ID in data saved to WPS Pull #50 05 Sep 2025 10:54AM UTC TheByronHimes github
84.96
17490189244 feature/lynx_boreal_GSI-1816 Remove sleep statement in outbox consumer test Pull #50 05 Sep 2025 10:09AM UTC TheByronHimes github
84.91
17490125135 feature/lynx_boreal_GSI-1816 Add extra check for box expiration in get_upload_boxes() Pull #50 05 Sep 2025 10:06AM UTC TheByronHimes github
84.91
17488032296 feature/lynx_boreal_GSI-1816 Remove unused fields from WOTs and fix validator decorator order Pull #50 05 Sep 2025 08:31AM UTC TheByronHimes github
84.16
See All Builds (177)

Badge your Repo: work-package-service

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

Refresh
  • Settings
  • Repo on GitHub
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

© 2025 Coveralls, Inc