Skip to content

#10053: Add support for PCI Endorsement workflow #3735

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

Merged
merged 3 commits into from
Mar 17, 2025

Conversation

amgciadev
Copy link
Contributor

@amgciadev amgciadev commented Dec 9, 2024

References

Add references/links to any related issues or PRs. These may include:

Description

This PR fixes the issues described in DSpace/DSpace#10053 and provides better support for the PCI Endorsement workflow

Instructions for Reviewers

List of changes in this PR:

  • Modifies the service creation form to add support for the usesActorEmailId parameter (to allow the configuration of the service in cases where the submitter email needs to be sent in the LDN notifications)
  • Modifies signposting model to allow exposing the profile attribute in signposting describedBy typed links

Include guidance for how to test or review your PR. This may include: steps to reproduce a bug, screenshots or description of a new feature, or reasons behind specific changes.

Checklist

This checklist provides a reminder of what we are going to look for when reviewing your PR. You do not need to complete this checklist prior creating your PR (draft PRs are always welcome).
However, reviewers may request that you complete any actions in this list if you have not done so. If you are unsure about an item in the checklist, don't hesitate to ask. We're here to help!

  • My PR is created against the main branch of code (unless it is a backport or is fixing an issue specific to an older branch).
  • My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
  • My PR passes ESLint validation using npm run lint
  • My PR doesn't introduce circular dependencies (verified via npm run check-circ-deps)
  • My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
  • My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
  • My PR aligns with Accessibility guidelines if it makes changes to the user interface.
  • My PR uses i18n (internationalization) keys instead of hardcoded English text, to allow for translations.
  • My PR includes details on how to test it. I've provided clear instructions to reviewers on how to successfully test this fix or feature.
  • If my PR includes new libraries/dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.
  • If my PR includes new features or configurations, I've provided basic technical documentation in the PR itself.
  • If my PR fixes an issue ticket, I've linked them together.

@tdonohue tdonohue added bug integration: COAR Notify / LDN Related to Linked Data Notifications (LDN) or COAR Notify services port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release labels Dec 9, 2024
@tdonohue
Copy link
Member

tdonohue commented Dec 9, 2024

@abollini or @atarix83 : I'm assigning this to you because it's improvements to COAR Notify to support PCI better. Could you or someone on your team take a look at this / test it out?

@steph-ieffam
Copy link
Contributor

Hey @amgciadev just a minor stuff I have noticed while testing. I would suggest to change the label quality-assurance.event.table.event.message.serviceUrl from Service URL to a more general label Actor

I'm asking you this change just because with the recent changes you implemented in that field the email of the submitter will be displayed so it makes sense to have a more general label
In the following screenshot aaa is just a random test email I used on my local env.

Screenshot from 2025-02-26 15-51-22

Copy link
Contributor

@steph-ieffam steph-ieffam left a comment

Choose a reason for hiding this comment

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

Hey @amgciadev I check my note #3735 (comment)

@github-project-automation github-project-automation bot moved this from 🙋 Needs Reviewers Assigned to 👀 Under Review in DSpace 9.0 Release Feb 27, 2025
@amgciadev
Copy link
Contributor Author

@steph-ieffam update the label now on this PR and on the dspace 8 port PR

@amgciadev
Copy link
Contributor Author

@steph-ieffam just mentioning this issue here: #4042. I have been testing again the PCI workflows in full (on a 8.1 DSpace instance) to test fixes PCI has put at their end for the resubmission workflow but encountered issues when submitting endorsement requests due to the issue describe above. Do you have any hints on where to look in the angular to track down any changes between 7.x (I think that in 8.0 it was also working as that is what we were using to fix and test what we have put in this PR) and 8.1 where it no longer works.

@steph-ieffam
Copy link
Contributor

Hey @amgciadev thanks for reporting the issue #4042
We're already looking at the issue, as far I understand the issue is not directly impacting the changes in this PR since it's related to the PCI side when they retrieve information using signposting. Can you kindly confirm that?
That said, the changes in this PR looks good so I'm approving your PR

@amgciadev
Copy link
Contributor Author

Hi @steph-ieffam , that is correct: PCI uses HEAD requests to retrieve signposting links.

Copy link

Hi @amgciadev,
Conflicts have been detected against the base branch.
Please resolve these conflicts as soon as you can. Thanks!

@tdonohue tdonohue moved this from 👀 Under Review to 👍 Reviewer Approved in DSpace 9.0 Release Mar 17, 2025
Copy link
Member

@tdonohue tdonohue left a comment

Choose a reason for hiding this comment

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

👍 Thanks @amgciadev ! Code looks good & was tested already.

@tdonohue tdonohue removed the port to dspace-8_x This PR needs to be ported to `dspace-8_x` branch for next bug-fix release label Mar 17, 2025
@tdonohue tdonohue added this to the 9.0 milestone Mar 17, 2025
@tdonohue tdonohue merged commit a18e03d into DSpace:main Mar 17, 2025
15 checks passed
@github-project-automation github-project-automation bot moved this from 👍 Reviewer Approved to ✅ Done in DSpace 9.0 Release Mar 17, 2025
@tdonohue
Copy link
Member

Ported to 8.x in #4037

@amgciadev amgciadev deleted the fix-10053-b branch March 24, 2025 10:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug improvement integration: COAR Notify / LDN Related to Linked Data Notifications (LDN) or COAR Notify services
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

COAR Notify: add support for PCI endorsement workflows
3 participants