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

always find unique providers #4741

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

butonic
Copy link
Contributor

@butonic butonic commented Jun 25, 2024

The gateway will now always try to find a single unique provider. It has stopped aggregating multiple ListContainer responses when we removed any business logic from it.

related:

@butonic butonic requested review from labkode, glpatcern and a team as code owners June 25, 2024 09:50
@butonic butonic self-assigned this Jun 26, 2024
Copy link
Contributor

@kobergj kobergj left a comment

Choose a reason for hiding this comment

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

Do you have a green ocis pipeline for this? Code looks good but I would like to have full test suite for operations on the open heart.

@butonic butonic force-pushed the always-find-unique branch 4 times, most recently from 391ccc6 to 2fde371 Compare July 16, 2024 08:29
Signed-off-by: Jörn Friedrich Dreyer <jfd@butonic.de>
return client, p[0], err
}

// FIXME findAndUnwrap currently just returns the first provider ... which may not be what is needed.
// for the ListRecycle call we need an exact match, for Stat and List we need to query all related providers
Copy link
Contributor Author

Choose a reason for hiding this comment

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

the gateway is no longer smart. it does not aggregate any directories. clients have to do that now.

@butonic
Copy link
Contributor Author

butonic commented Jul 16, 2024

@kobergj green save the fossa check

@butonic
Copy link
Contributor Author

butonic commented Jul 16, 2024

ocis test run was green: owncloud/ocis#9621

@butonic butonic merged commit 11ee452 into cs3org:edge Jul 16, 2024
9 of 10 checks passed
@butonic butonic deleted the always-find-unique branch July 16, 2024 11:10
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.

2 participants