Add Gemfire VectorStore Auto-Configuration #599
Draft
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR closes #488
GemFireVectorStoreProperties
to set all config parametersTODO:
As suggested in #488 (comment) I tried to implement the integration tests with the https://hub.docker.com/r/gemfire/gemfire Image with a custom
docker-compose.yml
to add the GemFire VectorDB extension.The first problem I encountered is that you have to be logged in or provide an VMWare API Key in order to download the extension (.gfm file), therefore I had to manually download an add the
.gfm
file to the repo.The second problem is that the extension is mounted into the
/gemfire/extensions
which is successfully picked up in the class-path:But the VectorDB REST API is only returning 404s.
This setup works when I start GemFire locally and with the
.gfm
file in theextensions
folder, I can then request e.g.GET http://localhost:7070/gemfire-vectordb/v1/indexes
and get a 200 with an empty list, but it does not work with the Docker image, does anybody have any suggestions why?The general GemFire API does work with Docker (e.g.
GET http://localhost:7070/gemfire-api/v1/ping
), but not the VectorDB API.