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

MITLibraries / dspace-submission-composer
96%
main: 95%

Build:
Build:
LAST BUILD BRANCH: ocw-mapping-fix
DEFAULT BRANCH: main
Repo Added 02 Dec 2024 08:56PM UTC
Token Is1ouZ3Mu7H6XOLn5MQ3NKDGwcSUnnTxZ regen
Build 511 Last
Files 18
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 IN-1455-create-batch-for-base-workflow
branch: IN-1455-create-batch-for-base-workflow
CHANGE BRANCH
x
Reset
Sync Branches
  • IN-1455-create-batch-for-base-workflow
  • 1319-create-separate-folder-for-dspace-metadata
  • IN-1095-simplecsv-workflow
  • IN-1096-ocw-workflow
  • IN-1097-wiley-workflow
  • IN-1098-sccs-workflow
  • IN-1099-aws-clients
  • IN-1099-ses-and-sqs-clients
  • IN-1099-ses-sqs-clients
  • IN-1100-archivesspace-workflow
  • IN-1101-base-workflow
  • IN-1101-sqs-refactor
  • IN-1103-reconcile-cli-command
  • IN-1104-deposit-command
  • IN-1105-finalize-command
  • IN-1106-add-docs
  • IN-1108-setup-app
  • IN-1157-build-report-system
  • IN-1158-revise-reconcile-method
  • IN-1167-remove-demo-workflow
  • IN-1172-improve-logging-for-submit-and-finalize-methods
  • IN-1172-logging-for-finalize-methods
  • IN-1173-create-reconcile-report
  • IN-1174-create-submit-report
  • IN-1176-opencourseware-subjects-field
  • IN-1186-simplecsv-fix-item-identifiers
  • IN-1227-update-dsc-to-use-s3-bucket
  • IN-1235-set-sqs-output-queues
  • IN-1236-rename-s3-bucket-env
  • IN-1315-create-item-db-model
  • IN-1316-update-reconcile-command-to-use-dynamodb
  • IN-1317-submit-dynamodb
  • IN-1318-update-finalize-command-to-use-dynamodb
  • IN-1319-create-separate-folder-for-dspace-metadata
  • IN-1320-consolidate-results-in-finalize-report
  • IN-1323-improve-methods-for-processing-result-messages
  • IN-1324-workflows-use-single-output-queue
  • IN-1341-rename-env-var-for-item-submissions-table
  • IN-1344-finalize-fix-args-when-getting-record-from-dynamodb
  • IN-1352-add-sync-cli-command
  • IN-1354-itemsubmission-class-update
  • IN-1355-refactor-reconcile-for-itemsubmission
  • IN-1356-update-submit
  • IN-1357-finalize-refactor
  • IN-1394-opencourseware-use-metadata-transformer
  • IN-1408-reconcile-by-record
  • IN-1409-repo-alignment
  • IN-1428-opencourseware-contrib-department-field-method
  • IN-1431-align-methods-for-retrieving-source-metadata
  • IN-1432-cache-bitstreams-to-workflow
  • IN-1433-define-record-level-reconcile-item-methods
  • IN-1455-create-batch-for-base-workflow-update
  • IN-1456-add-create-cli-command
  • IN-1460-add-batch-creation-report
  • IN-1460-refactor-reporting-modules
  • IN-1511-ocw-prepare-batch-method-and-review
  • IN-1512-report-on-failures-during-batch-creation
  • INFRA-509-sccs-deposit-request
  • dependabot/pip/boto3-1.35.76
  • dependabot/pip/boto3-1.35.77
  • dependabot/pip/boto3-1.35.78
  • dependabot/pip/boto3-1.35.79
  • dependabot/pip/boto3-1.35.80
  • dependabot/pip/boto3-1.35.81
  • dependabot/pip/boto3-1.35.82
  • dependabot/pip/boto3-1.35.83
  • dependabot/pip/boto3-1.35.84
  • dependabot/pip/boto3-1.35.85
  • dependabot/pip/boto3-1.35.86
  • dependabot/pip/boto3-1.35.87
  • dependabot/pip/boto3-1.35.88
  • dependabot/pip/boto3-1.35.89
  • dependabot/pip/boto3-1.35.90
  • dependabot/pip/boto3-1.35.91
  • dependabot/pip/boto3-1.35.92
  • dependabot/pip/boto3-1.35.93
  • dependabot/pip/boto3-1.35.94
  • dependabot/pip/boto3-1.35.95
  • dependabot/pip/boto3-1.35.96
  • dependabot/pip/boto3-1.35.97
  • dependabot/pip/boto3-1.35.98
  • dependabot/pip/boto3-1.35.99
  • dependabot/pip/boto3-1.36.0
  • dependabot/pip/boto3-1.36.1
  • dependabot/pip/boto3-1.36.10
  • dependabot/pip/boto3-1.36.11
  • dependabot/pip/boto3-1.36.12
  • dependabot/pip/boto3-1.36.13
  • dependabot/pip/boto3-1.36.14
  • dependabot/pip/boto3-1.36.15
  • dependabot/pip/boto3-1.36.16
  • dependabot/pip/boto3-1.36.17
  • dependabot/pip/boto3-1.36.18
  • dependabot/pip/boto3-1.36.19
  • dependabot/pip/boto3-1.36.2
  • dependabot/pip/boto3-1.36.20
  • dependabot/pip/boto3-1.36.21
  • dependabot/pip/boto3-1.36.22
  • dependabot/pip/boto3-1.36.23
  • dependabot/pip/boto3-1.36.24
  • dependabot/pip/boto3-1.36.25
  • dependabot/pip/boto3-1.36.26
  • dependabot/pip/boto3-1.36.3
  • dependabot/pip/boto3-1.36.4
  • dependabot/pip/boto3-1.36.5
  • dependabot/pip/boto3-1.36.6
  • dependabot/pip/boto3-1.36.7
  • dependabot/pip/boto3-1.36.8
  • dependabot/pip/boto3-1.36.9
  • dependabot/pip/boto3-1.37.0
  • dependabot/pip/boto3-1.37.1
  • dependabot/pip/boto3-1.37.2
  • dependabot/pip/boto3-1.37.3
  • dependabot/pip/boto3-1.37.4
  • dependabot/pip/boto3-stubs-1.35.76
  • dependabot/pip/boto3-stubs-1.35.77
  • dependabot/pip/boto3-stubs-1.35.78
  • dependabot/pip/boto3-stubs-1.35.79
  • dependabot/pip/boto3-stubs-1.35.80
  • dependabot/pip/boto3-stubs-1.35.81
  • dependabot/pip/boto3-stubs-1.35.82
  • dependabot/pip/boto3-stubs-1.35.83
  • dependabot/pip/boto3-stubs-1.35.84
  • dependabot/pip/boto3-stubs-1.35.85
  • dependabot/pip/boto3-stubs-1.35.86
  • dependabot/pip/boto3-stubs-1.35.87
  • dependabot/pip/boto3-stubs-1.35.88
  • dependabot/pip/boto3-stubs-1.35.89
  • dependabot/pip/boto3-stubs-1.35.90
  • dependabot/pip/boto3-stubs-1.35.91
  • dependabot/pip/boto3-stubs-1.35.92
  • dependabot/pip/boto3-stubs-1.35.93
  • dependabot/pip/boto3-stubs-1.35.94
  • dependabot/pip/boto3-stubs-1.35.95
  • dependabot/pip/boto3-stubs-1.35.96
  • dependabot/pip/boto3-stubs-1.35.97
  • dependabot/pip/boto3-stubs-1.35.98
  • dependabot/pip/boto3-stubs-1.35.99
  • dependabot/pip/boto3-stubs-1.36.0
  • dependabot/pip/boto3-stubs-1.36.1
  • dependabot/pip/boto3-stubs-1.36.10
  • dependabot/pip/boto3-stubs-1.36.11
  • dependabot/pip/boto3-stubs-1.36.12
  • dependabot/pip/boto3-stubs-1.36.13
  • dependabot/pip/boto3-stubs-1.36.14
  • dependabot/pip/boto3-stubs-1.36.15
  • dependabot/pip/boto3-stubs-1.36.16
  • dependabot/pip/boto3-stubs-1.36.17
  • dependabot/pip/boto3-stubs-1.36.18
  • dependabot/pip/boto3-stubs-1.36.2
  • dependabot/pip/boto3-stubs-1.36.21
  • dependabot/pip/boto3-stubs-1.36.22
  • dependabot/pip/boto3-stubs-1.36.23
  • dependabot/pip/boto3-stubs-1.36.24
  • dependabot/pip/boto3-stubs-1.36.25
  • dependabot/pip/boto3-stubs-1.36.26
  • dependabot/pip/boto3-stubs-1.36.3
  • dependabot/pip/boto3-stubs-1.36.4
  • dependabot/pip/boto3-stubs-1.36.5
  • dependabot/pip/boto3-stubs-1.36.6
  • dependabot/pip/boto3-stubs-1.36.7
  • dependabot/pip/boto3-stubs-1.36.8
  • dependabot/pip/boto3-stubs-1.36.9
  • dependabot/pip/boto3-stubs-1.37.0
  • dependabot/pip/boto3-stubs-1.37.1
  • dependabot/pip/boto3-stubs-1.37.2
  • dependabot/pip/boto3-stubs-1.37.3
  • dependabot/pip/boto3-stubs-1.37.4
  • dependabot/pip/cryptography-44.0.1
  • dependabot/pip/jinja2-3.1.5
  • dependabot/pip/moto-5.0.23
  • dependabot/pip/moto-5.0.24
  • dependabot/pip/moto-5.0.25
  • dependabot/pip/moto-5.0.26
  • dependabot/pip/moto-5.0.27
  • dependabot/pip/moto-5.0.28
  • dependabot/pip/mypy-1.14.0
  • dependabot/pip/mypy-1.14.1
  • dependabot/pip/mypy-1.15.0
  • dependabot/pip/pre-commit-4.1.0
  • dependabot/pip/pytest-8.3.4
  • dependabot/pip/ruff-0.8.1
  • dependabot/pip/ruff-0.8.2
  • dependabot/pip/ruff-0.8.3
  • dependabot/pip/ruff-0.8.4
  • dependabot/pip/ruff-0.8.5
  • dependabot/pip/ruff-0.8.6
  • dependabot/pip/ruff-0.9.0
  • dependabot/pip/ruff-0.9.1
  • dependabot/pip/ruff-0.9.2
  • dependabot/pip/ruff-0.9.3
  • dependabot/pip/ruff-0.9.4
  • dependabot/pip/ruff-0.9.5
  • dependabot/pip/ruff-0.9.6
  • dependabot/pip/ruff-0.9.7
  • dependabot/pip/ruff-0.9.8
  • dependabot/pip/ruff-0.9.9
  • dependabot/pip/sentry-sdk-2.19.0
  • dependabot/pip/sentry-sdk-2.19.1
  • dependabot/pip/sentry-sdk-2.19.2
  • dependabot/pip/sentry-sdk-2.20.0
  • dependabot/pip/sentry-sdk-2.22.0
  • infra-flow
  • main
  • ocw-mapping-fix
  • refactor-cli-options
  • support-for-dynamodb
  • workaround

25 Sep 2025 06:27PM UTC coverage: 96.154% (-0.5%) from 96.691%
18017142515

Pull #200

github

jonavellecuerdo
Add batch creation methods to the Workflow abstract base class

Why these changes are being introduced:
* Support workflows that require programmatic batch creation.
It was decided that the batch creation step would assume
the responsibilities that were previously assigned to the
reconcile step, which is now up for deprecation.

How this addresses that need:
* Define shared private method for writing records to DynamoDB
* Add abstract method custom batch preparation processes
* Define SimpleCSV.prepare_batch
* Add unit tests for batch creation methods
* Remove record creation from Workflow.reconcile_items

Side effects of this change:
* Sets the stage for deprecation of 'reconcile_items'

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/IN-1455
Pull Request #200: Add batch creation method to Workflow abstract base class

43 of 51 new or added lines in 5 files covered. (84.31%)

1 existing line in 1 file now uncovered.

1075 of 1118 relevant lines covered (96.15%)

0.96 hits per line

Relevant lines Covered
Build:
Build:
1118 RELEVANT LINES 1075 COVERED LINES
0.96 HITS PER LINE
Source Files on IN-1455-create-batch-for-base-workflow
  • Tree
  • List 21
  • Changed 5
  • Source Changed 5
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
18017142515 IN-1455-create-batch-for-base-workflow Add batch creation methods to the Workflow abstract base class Why these changes are being introduced: * Support workflows that require programmatic batch creation. It was decided that the batch creation step would assume the responsibilities tha... Pull #200 25 Sep 2025 06:33PM UTC jonavellecuerdo github
96.15
18016793742 IN-1455-create-batch-for-base-workflow Address comments in PR #200 Pull #200 25 Sep 2025 06:18PM UTC jonavellecuerdo github
96.15
18013765568 IN-1455-create-batch-for-base-workflow Address comments in PR #200 Pull #200 25 Sep 2025 04:15PM UTC jonavellecuerdo github
96.15
17987431107 IN-1455-create-batch-for-base-workflow Resolve linting error Pull #200 24 Sep 2025 07:31PM UTC jonavellecuerdo github
95.81
17986825781 IN-1455-create-batch-for-base-workflow Refactor batch creation methods Why these changes are being introduced: It was decided that the batch creation step would assume the responsibilities that were previously assigned to the reconcile step, which is now up for deprecation. How this ... Pull #200 24 Sep 2025 07:06PM UTC jonavellecuerdo github
95.81
17866031234 IN-1455-create-batch-for-base-workflow Update submit method to access source metadata from ItemSubmission Why these changes are being introduced: * ItemSubmission has been updated to store the source metadata as a serialized JSON string. How this addresses that need: * Update methods... Pull #200 19 Sep 2025 06:01PM UTC jonavellecuerdo github
95.46
17865657860 IN-1455-create-batch-for-base-workflow Update submit method to access source metadata from ItemSubmission Why these changes are being introduced: * ItemSubmission has been updated to store the source metadata as a serialized JSON string. How this addresses that need: * Update methods... Pull #200 19 Sep 2025 05:41PM UTC jonavellecuerdo github
95.46
17773994576 IN-1455-create-batch-for-base-workflow Remove record creation from Workflow.reconcile_items Pull #200 16 Sep 2025 05:31PM UTC jonavellecuerdo github
95.97
17773916481 IN-1455-create-batch-for-base-workflow Remove record creation from Workflow.reconcile_items push 16 Sep 2025 05:27PM UTC jonavellecuerdo github
95.97
17772511140 IN-1455-create-batch-for-base-workflow Add a batch creation method to the base workflow Why these changes are being introduced: * Support workflows that require programmatic batch creation. How this addresses that need: * Add OPTIONAL method for preparing batch submission assets in S... push 16 Sep 2025 04:30PM UTC jonavellecuerdo github
96.15
See All Builds (510)

Badge your Repo: dspace-submission-composer

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