Skip to content

feat: Add JSON schema to elasticsearch destination#16489

Merged
kodiakhq[bot] merged 5 commits into
mainfrom
feat/jsonschema/elasticsearch
Feb 3, 2024
Merged

feat: Add JSON schema to elasticsearch destination#16489
kodiakhq[bot] merged 5 commits into
mainfrom
feat/jsonschema/elasticsearch

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented Feb 2, 2024

Closes #16448


func (s *Spec) SetDefaults() {
if len(s.Addresses) == 0 {
s.Addresses = []string{"http://localhost:9200"}
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is very basic and Validate() is empty... doesn't make a good json schema :)

Comment thread plugins/destination/elasticsearch/client/schema.json Outdated
Comment thread plugins/destination/elasticsearch/client/schema.json
Comment thread plugins/destination/elasticsearch/client/spec.go Outdated
Comment thread plugins/destination/elasticsearch/client/spec.go
@disq disq requested a review from candiduslynx February 2, 2024 20:40
@disq disq added the automerge Automatically merge once required checks pass label Feb 2, 2024
Copy link
Copy Markdown
Contributor

@candiduslynx candiduslynx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

only a small nit

Comment thread plugins/destination/elasticsearch/client/spec.go Outdated
@candiduslynx candiduslynx removed the automerge Automatically merge once required checks pass label Feb 3, 2024
@candiduslynx candiduslynx changed the title feat: Add JSON schema to elasticsearch destination feat: Add JSON schema to elasticsearch destination Feb 3, 2024
@candiduslynx candiduslynx added the automerge Automatically merge once required checks pass label Feb 3, 2024
@kodiakhq kodiakhq Bot merged commit ed26da5 into main Feb 3, 2024
@kodiakhq kodiakhq Bot deleted the feat/jsonschema/elasticsearch branch February 3, 2024 08:16
kodiakhq Bot pushed a commit that referenced this pull request Feb 13, 2024
🤖 I have created a release *beep* *boop*
---


## [3.2.0](plugins-destination-elasticsearch-v3.1.13...plugins-destination-elasticsearch-v3.2.0) (2024-02-13)


### Features

* Add JSON schema to `elasticsearch` destination ([#16489](#16489)) ([ed26da5](ed26da5))


### Bug Fixes

* **deps:** Update golang.org/x/exp digest to 1b97071 ([#16419](#16419)) ([6d77cd1](6d77cd1))
* **deps:** Update google.golang.org/genproto/googleapis/api digest to 1f4bbc5 ([#16421](#16421)) ([9489931](9489931))
* **deps:** Update google.golang.org/genproto/googleapis/rpc digest to 1f4bbc5 ([#16422](#16422)) ([74e98fc](74e98fc))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.27.0 ([#16237](#16237)) ([3fcdab0](3fcdab0))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.27.1 ([#16296](#16296)) ([ab4a0da](ab4a0da))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.27.2 ([#16342](#16342)) ([f3eb857](f3eb857))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.28.0 ([#16362](#16362)) ([9166b6b](9166b6b))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.29.0 ([#16395](#16395)) ([fb1102e](fb1102e))
* **deps:** Update module github.com/cloudquery/plugin-sdk/v4 to v4.29.1 ([#16430](#16430)) ([738e89f](738e89f))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci area/plugin/destination/elasticsearch automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add JSON schema to plugins/destination/elasticsearch

3 participants