Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding api for new mdc processing state db table #10424

Merged
merged 7 commits into from
Mar 27, 2024

Conversation

stevenwinship
Copy link
Contributor

@stevenwinship stevenwinship commented Mar 25, 2024

Keeps track of the processing state of each of the tar files combating log data for MDC. This allows for re-running failed logs and tracking failures as reported by counter_processor.

Does not close the issue IQSS/dataverse.harvard.edu#3 but is a dependency

Special notes for your reviewer:

Suggestions on how to test this: Simple CRUD apis for makedatacountprocessstate table

Does this PR introduce a user interface change? If mockups are available, please link/include them here: No

Is there a release notes update needed for this change?: Needs docs for new APIs. release notes included

Additional documentation:

https://dataverse-guide--10424.org.readthedocs.build/en/10424/developers/make-data-count.html

@coveralls
Copy link

coveralls commented Mar 25, 2024

Coverage Status

coverage: 20.717% (+0.06%) from 20.659%
when pulling 6cb9a4c on operationalize-mdc-processing-state-api
into 30666f9 on develop.

This comment has been minimized.

This comment has been minimized.

This comment has been minimized.

@stevenwinship stevenwinship self-assigned this Mar 26, 2024
@stevenwinship stevenwinship added pm.GREI-d-1.5.1 NIH, yr1, aim5, task1: Standardize download metrics pm.GREI-d-1.5.2 NIH, yr1, aim5, task2: WG with other repositories to follow Make Data Count recommendations labels Mar 26, 2024
@stevenwinship stevenwinship added this to the 6.2 milestone Mar 26, 2024
@stevenwinship stevenwinship removed their assignment Mar 26, 2024
Copy link
Contributor

@scolapasta scolapasta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good and straightforward - I did leave one comment about not needing a create table script because JPA automatically creates tables for new entities (unless there's something I'm missing).

src/main/resources/db/migration/V6.1.0.8.sql Outdated Show resolved Hide resolved

This comment has been minimized.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Info about new APIs need to be the guides.

Also, I'm wondering about a potentially backward-incompatible change.

@stevenwinship I'm sending this back to you but I'll test what's here.

Copy link
Member

@pdurbin pdurbin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we standardize on camelCase?

This comment has been minimized.

@cmbz cmbz added the Size: 0.5 A percentage of a sprint. 0.35 hours label Mar 27, 2024

This comment has been minimized.

@pdurbin
Copy link
Member

pdurbin commented Mar 27, 2024

After a little back and forth, we're good. Merging.

@pdurbin pdurbin merged commit 0291cf9 into develop Mar 27, 2024
10 of 11 checks passed
@pdurbin pdurbin deleted the operationalize-mdc-processing-state-api branch March 27, 2024 20:20
@pdurbin pdurbin removed their assignment Mar 27, 2024
Copy link

📦 Pushed preview images as

ghcr.io/gdcc/dataverse:operationalize-mdc-processing-state-api
ghcr.io/gdcc/configbaker:operationalize-mdc-processing-state-api

🚢 See on GHCR. Use by referencing with full name as printed above, mind the registry name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pm.GREI-d-1.5.1 NIH, yr1, aim5, task1: Standardize download metrics pm.GREI-d-1.5.2 NIH, yr1, aim5, task2: WG with other repositories to follow Make Data Count recommendations Size: 0.5 A percentage of a sprint. 0.35 hours
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants