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

3942 dcm notifications #4034

Merged
merged 33 commits into from
Aug 10, 2017
Merged

3942 dcm notifications #4034

merged 33 commits into from
Aug 10, 2017

Conversation

pdurbin
Copy link
Member

@pdurbin pdurbin commented Aug 1, 2017

Related Issues

Pull Request Checklist

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 10.733% when pulling 39cc6b6 on 3942-DCM-notifications into e6a8b99 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 10.733% when pulling 3af2355 on 3942-DCM-notifications into e6a8b99 on develop.

@pdurbin
Copy link
Member Author

pdurbin commented Aug 1, 2017

Here's the todo list/punch list from the meeting we just had:

img_20170801_154106

Also, @pameyer supplied existing messages:

happy path:
Dataset doi:XXXX/XXXX/XXX has been successfully uploaded and verified. If you have any questions, please contact XXXX@XXXX.XXX.

failure path:
One or more files in your dataset failed to match the checksum calculated on your local system. Please re-run the upload script associated with this dataset. If you have any questions, please contact XXXX@XXXX.XXX.


@POST
@Path("{identifier}/dataCaptureModule/checksumValidation")
public Response receiveChecksumValidationResults(@PathParam("identifier") String id, JsonObject jsonFromDcm) throws IOException {
Copy link
Contributor

Choose a reason for hiding this comment

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

where does this throw?

Copy link
Member Author

Choose a reason for hiding this comment

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

Whoops. I'll take that out as well as some imports I added when adding test code. Good catch, @oscardssmith . Thanks!

Copy link
Member Author

Choose a reason for hiding this comment

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

Fixed in f3048e0.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 11.369% when pulling 3b263e2 on 3942-DCM-notifications into e6a8b99 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 11.369% when pulling 8a2bb41 on 3942-DCM-notifications into e6a8b99 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 11.369% when pulling e812470 on 3942-DCM-notifications into e6a8b99 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 11.381% when pulling f3048e0 on 3942-DCM-notifications into e6a8b99 on develop.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.6%) to 11.381% when pulling f3048e0 on 3942-DCM-notifications into e6a8b99 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 11.381% when pulling 2f394b9 on 3942-DCM-notifications into f23ed5f on develop.

@pameyer pameyer self-assigned this Aug 2, 2017
if ("validation passed".equals(statusMessageFromDcm)) {
try {
// String url = "http://localhost:8080/api/batch/jobs/import/datasets/files/${DOI_SHOULDER}/${datasetIdentifier}?mode=MERGE&uploadFolder=trn&totalSize=${sz}&userId=${dv_userId}";
String url = systemConfig.getDataverseSiteUrl() + "/api/batch/jobs/import/datasets/files/" + dataset.getId();
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not leave this as calling localhost?

Copy link
Member Author

Choose a reason for hiding this comment

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

@pameyer no objection. Fixed in 6c9c249.

@pameyer pameyer removed their assignment Aug 2, 2017
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 11.381% when pulling bbfd71a on 3942-DCM-notifications into e859001 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 11.378% when pulling 2dd89a5 on 3942-DCM-notifications into e859001 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.01%) to 11.378% when pulling 6c9c249 on 3942-DCM-notifications into e859001 on develop.

Copy link
Contributor

@matthew-a-dunlap matthew-a-dunlap left a comment

Choose a reason for hiding this comment

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

I've only read over the sphinx guide, but it reads ok to me!

That's why it's called `findDatasetOrDie`.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 11.364% when pulling 3164bb6 on 3942-DCM-notifications into e859001 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 11.36% when pulling f8809c3 on 3942-DCM-notifications into e859001 on develop.

The methods aren't used anymore by the code but they are still useful
for testing.
@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 11.364% when pulling 59120c4 on 3942-DCM-notifications into e859001 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.03%) to 11.363% when pulling 87241de on 3942-DCM-notifications into e859001 on develop.

@coveralls
Copy link

Coverage Status

Coverage decreased (-0.02%) to 12.058% when pulling 103b40c on 3942-DCM-notifications into a1792ad on develop.

@kcondon kcondon merged commit dd55c08 into develop Aug 10, 2017
@kcondon kcondon deleted the 3942-DCM-notifications branch August 10, 2017 20:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants