-
Notifications
You must be signed in to change notification settings - Fork 15
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
Serverless ES support (a working draft) #271
base: main
Are you sure you want to change the base?
Conversation
Hi @ccancellieri it would be really nice to have this working with elasticsearch serverless. Having a flag could work I think. Maybe someone else will have some thoughts too. If I am understanding, this is working on elasticsearch serverless with these modifications? |
Thank you!
Yes, it is :) I've a working draft in use under our review environment, it's under test at the moment. I'll be back in september with a refined review of the changes to provide to complete the pull request. My best |
I'm not sure how to add tests, do you have some feedback on this? |
I suppose that you will need to add serverless elasticsearch and a serverless es API to this docker-compose file. https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/docker-compose.yml You can then create a make command to run the tests against that service. https://github.com/stac-utils/stac-fastapi-elasticsearch-opensearch/blob/main/Makefile |
Related Issue(s):
Hi all,
I'm trying to use this great app to accomplish my task:
Connect with the ElasticSearch Serverless provided by ElasticSearch: https://elasticsearch-serverless-python.readthedocs.io/en/stable/api.html#module-elasticsearch_serverless
Make use of the right API and async app ( https://elasticsearch-py.readthedocs.io/en/latest/async.html
Ensure post and get capabilities to/from ES Serverless Stac items loaded with the python script.
Description:
This is only a rude but working implementation.
I'm curious to understand:
I can also contribute with a remote debug setup with debugpy and vscode.
PR Checklist:
pre-commit run --all-files
)make test
)