-
Notifications
You must be signed in to change notification settings - Fork 4k
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
High level construct for an AppSync Elasticsearch data source #6063
Comments
This looks great. Just go ahead and open a PR with your code. Please also add some basic tests for the new data source. |
I've extended the integration test. There I noticed some mapping templates are also included in the code. So I've looked into the console and listed them below here: Request mapping templateGet document by id
Simple term query
Paginate with fixed-size pages
Get all documents within a 20 mile radius
Response mapping templatesReturn single document's source
Return a list of document sources
Which of these should I include? The response templates seem good to include. For the request templates, only Changes can already be viewed here |
@bartcallant @BryanPan342 where does this effort stand? Can I be helpful in getting it across the finish line? |
@adamelmore This PR has a couple of comments to how to expand on this PR to bring it home. Mainly just adding an interface in |
@BryanPan342 if I wanted to pick up the baton, would it be kosher for me to open a new PR carrying the author's work forward and addressing the review feedback in #6108? I have a need for this and would love to help out if I won't be stepping on any toes. |
@adamelmore yeah go for it :) |
FYI, going to wait on the L2 construct for Elasticsearch which is currently in progress. Will quickly follow-up with a corresponding AppSync data source PR once that's merged. |
Hi @adamelmore - looks like the L2 may be ready? Would love this ES data source! |
Thanks for the reminder! Will get back to this shortly. |
Any ETA on the L2 ElasticSearch data source availability, please? We've lost days trying to go the CfnDataSource / CfnResolver route, but that seems to have its own issues (type_name lookup issues). Thank you. |
Guys, make it work with the following (based on the original example):
Hope it helps. |
@adamelmore - Hi Adam, did you get anywhere with this? There's currently no one assigned to this so it seems like it's gone stale. Thanks for your work on this anyway 👍 |
Sorry all, I fell off the wagon here after wrapping up the Elasticsearch L2 work! With my current priorities, I don't see me getting to this soon, unfortunately. |
@adamelmore - That's too bad, but thanks for the reply, and good luck with your current work! |
I created a PR for this issue :) #14651 I'm not an expert Elasticsearch user, so I would love to get a pass from people who use it. |
Implement support for elasticsearch data source. Endpoint is fixed to `https` URL as through testing, CloudFormations requires the domain to be in the form of `https://[...]`. Fixes #6063 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
|
Implement support for elasticsearch data source. Endpoint is fixed to `https` URL as through testing, CloudFormations requires the domain to be in the form of `https://[...]`. Fixes aws#6063 ---- *By submitting this pull request, I confirm that my contribution is made under the terms of the Apache-2.0 license*
While working on an application I needed to setup an AppSync API which accesses Elasticsearch.
Use Case
Currently this has to be done through the
CfnXyz
construct. Implementing a higher level construct would simplify the usage of Elasticsearch as a data source.Proposed Solution
A simple class to create an Elasticsearch data source would do. Implementation could be done similar to the existing
DynamoDbDataSource
andLambdaDataSource
.Implementation could be as simple as this:
Other
There was a PR which already added a base class for a data source> This makes it easy to add a new resolver.
This is a 🚀 Feature Request
The text was updated successfully, but these errors were encountered: