Zed Agent test implementing multiple content stores#214
Zed Agent test implementing multiple content stores#214thijslemmens wants to merge 6 commits intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR implements support for multiple content stores by introducing a ContentStoreRegistry abstraction. The changes enable content references to include an optional store identifier, allowing content to be stored across different storage backends while maintaining backward compatibility with existing single-store implementations.
Changes:
- Introduced
ContentStoreRegistryinterface andDefaultContentStoreRegistryimplementation to manage multiple content stores - Enhanced
ContentReferenceto support optional store IDs with parsing/serialization logic - Updated
ContentApiImpl,DatamodelApiImpl, and related components to use the registry instead of directContentStorereferences
Reviewed changes
Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| ContentApiImplTest.java | Updated test setup to use ContentStoreRegistry instead of direct ContentStore, with extensive code formatting changes |
| ContentUploadAttributeMapper.java | Modified to use ContentStoreRegistry for writing content and store content references with store IDs |
| DatamodelApiImpl.java | Replaced ContentStore dependency with ContentStoreRegistry throughout, with significant code reformatting |
| ContentApiImpl.java | Updated to retrieve stores from registry based on content reference store IDs |
| ContentReference.java | Converted from Lombok @Value to explicit implementation with store ID support and parsing logic |
| build.gradle | Added test dependencies for the contentstore-api module |
| ContentGridDomainAutoConfiguration.java | Added bean configuration for ContentStoreRegistry and updated wiring |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
ac20c99 to
3987af6
Compare
|




This is totally created by Zed Agent backed by Claude, I did not review it myself yet.