S3ContentStore, FilesystemContentStore, etc extend deprecated ContentStore
jacobbroberg opened this issue · 2 comments
Describe the bug
When migrating to Spring Boot 3, the org.springframework.content.commons.repository.ContentStore
was marked as deprecated and moved to org.springframework.content.commons.store.ContentStore
.
But the specific interface extensions of ContentStore
, e.g. S3ContentStore
and FilesystemContentStore
still use the old ContentStore
and therefore generate a lot of deprecation warnings.
To Reproduce
I use Spring Boot 3.1.0 and spring-content-fs-boot-starter
and spring-content-s3-boot-starter
version 3.0.3.
Warnings show up in Eclipse IDE.
Expected behavior
All interface extensions of ContentStore
should be refactored to use the new/moved ContentStore
I can see that you write in the 3.0.0 release note that Package org/springframework/content/commons/repository/** has been deprecated and is scheduled for removal in Spring Content 4.x. Package org/springframework/content/commons/store/** replaces it.
But it would still be nice if the S3ContentStore
and FilesystemContentStore
among others could use the new package.
Hey @jacobbroberg, ah yes - the storage specific stores should indeed inherit from the new package. Thanks for raising.