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

Add a method to getAllFileMetadata into FileRepository interface #417

Open
1 task
aaronzi opened this issue Aug 29, 2024 · 0 comments
Open
1 task

Add a method to getAllFileMetadata into FileRepository interface #417

aaronzi opened this issue Aug 29, 2024 · 0 comments

Comments

@aaronzi
Copy link
Member

aaronzi commented Aug 29, 2024

The FileRepository lacks a method to get AllFileMetadata, so there is no way to get the information on all the files inside the repository.

User Story:

As a BaSyx user, I want to get all the information of all the files stored in the FileRepository, so that I do not have to know the file ID to retrieve the file.

Rules

  • Only Metadata should be supplied
  • should use PaginationInfo as well

Entry Points

  1. basyx-java-server-sdk/basyx.common/basyx.filerepository-backend/src/main/java/org/eclipse/digitaltwin/basyx/core/filerepository/FileRepository.java at main · eclipse-basyx/basyx-java-server-sdk (github.com)
  2. basyx-java-server-sdk/basyx.common/basyx.filerepository-backend-inmemory/src/main/java/org/eclipse/digitaltwin/basyx/core/filerepository/InMemoryFileRepository.java at main · eclipse-basyx/basyx-java-server-sdk (github.com)
  3. basyx-java-server-sdk/basyx.common/basyx.filerepository-backend-mongodb/src/main/java/org/eclipse/digitaltwin/basyx/core/filerepository/MongoDBFileRepository.java at main · eclipse-basyx/basyx-java-server-sdk (github.com)

Acceptance Criteria

  • getAllMetadata returns existing file Metadata inside the file repo

Dependencies and Blockers

Pagination should also be applied

@aaronzi aaronzi moved this from General to BaSyx Java V2 in BaSyx Backlog Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: BaSyx Java V2
Development

No branches or pull requests

1 participant