-
Notifications
You must be signed in to change notification settings - Fork 108
Elasticsearch indices data source #686
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
Elasticsearch indices data source #686
Conversation
💚 CLA has been signed |
@jdesnoes are you able to take a look at the CLA so we can move forward with this? |
I can see you've signed the CLA, however the email address used to author the commits here isn't associated with your GH account at all. If you can re-author the commits with the email shared as part of the CLA process (@so*ria.com) or any email that's linked to your GH account then it'll get matched up properly. |
e46cbbc
to
df2eb91
Compare
Thank you, that was the problem indeed, I fixed it and the CLA now appears signed. |
db27dc8
to
e5bb843
Compare
Hello @tobio |
@jdesnoes sorry, I've been meaning to look at this in comparison to #698 which moves the existing index resource to the plugin framework being used here. We should be able to re-use a lot of the model code in both of these PR's. I think it makes sense to get this merged and then I can merge the two code bases together. Just a heads up, I think it makes sense to get both of these merged quite close together. This one may sit approved but unmerged for a little while whilst I get them both inline. The actual code changes look good, thanks for adding this! Are you able to take a look at why the tests are failing? |
Thanks for your answer @tobio Indeed, considering the #698 PR purpose, there is some code that can be used in common with this current PR, mostly for the model. I also fixed the unit tests. So that, no problem if in the meanwhile this PR has to be sit approved but unmerged. |
Thanks mate, we're working through the review process on the other one now, so we should get the both merged in the next couple of weeks. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your patience on this one. One small change on the schema, where I think keeping with the documented names may be nicer. Otherwise this LGTM.
Thanks again for your help and your review @tobio You're definitely right, it makes sense to keep the name and the description of the official Elasticsearch API documentation. I just updated the pull request to take this in account, thanks. |
…-data-source * origin/main: (23 commits) Migrate index resource to plugin framework (elastic#698) Remove duplicate code (elastic#761) fix(deps): update module github.com/hashicorp/terraform-plugin-framework-jsontypes to v0.2.0 (elastic#760) fix(deps): update module github.com/golangci/golangci-lint to v1.61.0 (elastic#759) Add support for the`frequency` field in the Create Rule API (elastic#753) Prevent a provider panic when the referenced snapshot repo does not exist (elastic#758) remove space_id paramter from private locations (elastic#733) chore(deps): update dependency go to v1.23.1 (elastic#755) chore(deps): update docker.elastic.co/elasticsearch/elasticsearch docker tag to v8.15.1 (elastic#756) chore(deps): update golang:latest docker digest to 4a3c2bc (elastic#754) chore(deps): update docker.elastic.co/kibana/kibana docker tag to v8.15.1 (elastic#757) Fixup error handling during saved object imports (elastic#738) fix(deps): update module github.com/goreleaser/goreleaser to v2 (elastic#748) chore(deps): update golangci/golangci-lint-action action to v6 (elastic#746) chore(deps): update codecov/codecov-action action to v4 (elastic#745) fix(deps): update module github.com/go-resty/resty/v2 to v2.14.0 (elastic#741) chore(deps): update actions/setup-go action to v5 (elastic#744) chore(deps): update actions/checkout action to v4 (elastic#743) fix(deps): update module github.com/deepmap/oapi-codegen/v2 to v2.3.0 (elastic#740) chore(deps): update dependency go to v1.23.0 (elastic#739) ...
I'll look at merging the duplicate code in a follow up PR. Thanks for taking the time to add this one in @jdesnoes! |
This reverts commit 17859f3.
This reverts commit 17859f3.
Pull request to add an indices data source