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

IQSS/8957 JWT creation test for DRS Archiver #8958

Merged
merged 107 commits into from
Feb 1, 2023

Conversation

qqmyers
Copy link
Member

@qqmyers qqmyers commented Sep 6, 2022

What this PR does / why we need it: Just a simple test created for HDC 3A / Archiving to DRS that didn't make it into the main PR.

Which issue(s) this PR closes:

Closes #8957

Special notes for your reviewer:

Suggestions on how to test this: Verify the test runs and doesn't fail in the auto build.

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

Is there a release notes update needed for this change?:

Additional documentation:

Conflicts:
	src/main/java/edu/harvard/iq/dataverse/engine/command/impl/LocalSubmitToArchiveCommand.java
or create ones to compare with our local one. I'l probably add this back
in the DRS archiver where we'll have other means to send the hashes.
probably not required - good practice/helped in debugging to be able to
check sourcecode online which is for the current version.
note that the write to file part of the bag generation already tests the
hash values of the individual files internally.
there are archived copies, or
one can archive this dataset
(same signature as Dataset in 3b - inherit?)
@qqmyers qqmyers added HDC Harvard Data Commons HDC: 3a Harvard Data Commons Obj. 3A labels Sep 6, 2022
@coveralls
Copy link

coveralls commented Sep 6, 2022

Coverage Status

Coverage: 20.011% (+0.01%) from 19.997% when pulling a13a265 on GlobalDataverseCommunityConsortium:GDCC/HDC3 into dd46319 on IQSS:develop.

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.

I'm seeing a failure...

[ERROR] Failures:

[ERROR] DRSSubmitToArchiveCommandTest.createJWT:115

... at https://jenkins.dataverse.org/blue/organizations/jenkins/IQSS-Dataverse-Develop-PR/detail/PR-8958/1/pipeline

@qqmyers
Copy link
Member Author

qqmyers commented Sep 7, 2022

@qqmyers
Copy link
Member Author

qqmyers commented Sep 7, 2022

@pdurbin - I don't see any reason it should fail only in jenkins - can a new run be triggered to see if this is repeatable?

@mreekie mreekie added the bk2211 label Nov 1, 2022
@mreekie mreekie removed the bk2211 label Jan 11, 2023
@qqmyers qqmyers added the Size: 3 A percentage of a sprint. 2.1 hours. label Jan 23, 2023
@qqmyers
Copy link
Member Author

qqmyers commented Jan 23, 2023

This is a small amount of code - a test that should pass. It was accidentally left out of earlier PRs. Shouldn't take much review or QA. Size 3

@scolapasta scolapasta added this to Ready for Review ⏩ in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) via automation Feb 1, 2023
@scolapasta scolapasta moved this from Ready for Review ⏩ to Ready for QA ⏩ in IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) Feb 1, 2023
@kcondon kcondon self-assigned this Feb 1, 2023
@kcondon kcondon merged commit 608edb9 into IQSS:develop Feb 1, 2023
IQSS/dataverse (TO BE RETIRED / DELETED in favor of project 34) automation moved this from QA ✅ to Done 🚀 Feb 1, 2023
@pdurbin pdurbin added this to the 5.13 milestone Feb 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
HDC Harvard Data Commons HDC: 3a Harvard Data Commons Obj. 3A Size: 3 A percentage of a sprint. 2.1 hours.
Projects
Status: No status
Development

Successfully merging this pull request may close these issues.

Missing test for DRS Archiver class
6 participants