Skip to content

Conversation

@rawe0
Copy link
Member

@rawe0 rawe0 commented Sep 1, 2025

This enables for creation of OCM shares through the LibreGraph implementation instead of using the old /sciencemesh endpoint that is gone in the new frontend.

  • LinkOrShare has been changed to include OCMShares and renamed
  • Web app now sends a POST request instead of a GET for OCM invite generation - this has been reflected in the backend.
  • Adds the IDP to the user id when returned if user is of type federated.
  • Cleaned up dead code since the /sciencemesh/create-share is no longer used.
  • Conversions now take OCM shares into account as well.

Note: Frontend needs to be updated to include a RecipientType 'Remote' if user is federated.

@update-docs
Copy link

update-docs bot commented Sep 1, 2025

Thanks for opening this pull request! The maintainers of this repository would appreciate it if you would create a changelog item based on your changes.

@rawe0 rawe0 force-pushed the ocm-fixes branch 2 times, most recently from 2d5cb99 to b38807d Compare September 1, 2025 12:20
Copy link
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

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

Those are mostly cosmetic changes, as far as I can see the refactored logic for normal shares should still work

@rawe0 rawe0 force-pushed the ocm-fixes branch 2 times, most recently from 6679108 to 4f9056a Compare September 7, 2025 20:39
Copy link
Member

@glpatcern glpatcern left a comment

Choose a reason for hiding this comment

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

A couple of trivial changes for clarity, otherwise we can merge and QA this

rawe0 and others added 2 commits September 8, 2025 09:45
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
Co-authored-by: Giuseppe Lo Presti <giuseppe.lopresti@cern.ch>
@glpatcern glpatcern self-requested a review September 8, 2025 08:08
@glpatcern glpatcern merged commit 8301819 into master Sep 8, 2025
26 checks passed
@jessegeens jessegeens deleted the ocm-fixes branch December 11, 2025 13:08
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.

3 participants