Skip to content

implem GCP Storage connector#28

Merged
lucas-amiaud merged 3 commits into
masterfrom
feature/gcp-storage-connector
Oct 30, 2025
Merged

implem GCP Storage connector#28
lucas-amiaud merged 3 commits into
masterfrom
feature/gcp-storage-connector

Conversation

@lucas-amiaud

Copy link
Copy Markdown
Member

No description provided.

public void deleteAll(List<String> fileUniqueNames) throws IOException {
for (String fileUniqueName : fileUniqueNames) {
BlobId blobId = BlobId.of(bucketName, objectName(fileUniqueName));
if (!storage.delete(blobId)) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

J'ai l'impression que la spec n'est pas respectée :

 * Delete the files data identified by the fileUniqueNames.
 * If a file is already deleted, no exception must be raised
 * Must not fail if the files have already been deleted

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

ha yes tu as raison :/

on a aussi le cas sur FileStorageDatabaseService

Comment thread plume-file-storage-gcp/pom.xml Outdated
Comment thread plume-file-storage-gcp/README.md Outdated
Comment thread plume-file-storage-gcp/README.md Outdated
Comment thread plume-file-storage-gcp/README.md Outdated
Comment thread plume-file-storage-gcp/README.md Outdated
Comment thread plume-file-storage-gcp/README.md Outdated
public void deleteAll(List<String> fileUniqueNames) {
for (String fileUniqueName : fileUniqueNames) {
BlobId blobId = BlobId.of(bucketName, objectName(fileUniqueName));
storage.delete(blobId);

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

ça va pas faire une exception si le blobID est null ?

@lucas-amiaud lucas-amiaud merged commit daa6b99 into master Oct 30, 2025
1 check passed
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