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

MITLibraries / dspace-submission-composer / 12602522762
96%

Build:
DEFAULT BRANCH: main
Ran 03 Jan 2025 07:00PM UTC
Jobs 1
Files 11
Run time 1min
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

03 Jan 2025 06:59PM UTC coverage: 96.226% (-0.4%) from 96.656%
12602522762

push

github

web-flow
Refactor SQS functionality and add new high-level methods (#33)

* Refactor SQS functionality and add new high-level methods

Why these changes are being introduced:
* The SQS functionality copied from wiley-deposits needs to be refactored to accommodate additional workflows.

How this addresses that need:
* Update ItemSubmission class to store item_identifier rather than metadata_s3_key as an attribute
* Update ItemSubmission.upload_dspace_metadata method signature to accept s3_prefix
* Add ItemSubmission.send_submission_message method and corresponding unit test
* Rename SQSClient.create_dss_message_attributes param package_id > identifier for clarity
* Update SQSClient.create_dss_message_body to handle multiple bitstreams
* Rename method to SQSClient.validate_result_message to clarify the type of SQS message being validated
* Update BaseWorkflow.s3_prefix type hinting
* Update BaseWorkflow.run method and corresponding unit test
* Refactor BaseWorkflow.item_submission_iter to account for the new ItemSubmission.item_identifier attribute
* Add s3 to metadata_uri and bitstream_uris attribute names across repo for clarity

Side effects of this change:
* None

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1128

* Updates based on discussion in PR #33

* Add links to DSS message spec in docstrings
* Update tests after SimpleCSV PR merge

* Further updates based on discussion in PR #33

* Rename identifier > item_identifier
* Rename s3_prefix > prefix

32 of 34 new or added lines in 4 files covered. (94.12%)

306 of 318 relevant lines covered (96.23%)

0.96 hits per line

Jobs
ID Job ID Ran Files Coverage
1 12602522762.1 03 Jan 2025 07:00PM UTC 0
96.23
GitHub Action Run
Source Files on build 12602522762
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12602522762
  • f664aaa9 on github
  • Prev Build on main (#12601110470)
  • Next Build on main (#12677602835)
  • Delete
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