Skip to content

Commit 9a2e29c

Browse files
authored
[9.0] Update apis (#1023)
* Update TypedAPI to v9.0.2 (a0b0db2) * Update API to v9.0.2 (3d5f100) * Tests: Use nominal payload for get_alias * Update TypedAPI to v9.0.2 (de4ff9e) * Update skip list * Tests: exclude non generated knn search endpoint * Bump to 9.0.1 * add 9.0.1 changelog * CI: propagate ELASTICSEARCH_BUILD_VERSION to test downloader container * Update TypedAPI to v9.0.1 (86f4183)
1 parent 0497716 commit 9a2e29c

File tree

4,588 files changed

+26498
-24069
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

4,588 files changed

+26498
-24069
lines changed

.buildkite/pipeline.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ steps:
44
provider: "gcp"
55
env:
66
TEST_SUITE: "{{ matrix.suite }}"
7-
STACK_VERSION: 9.0.0-SNAPSHOT
7+
STACK_VERSION: 9.0.4-SNAPSHOT
88
WORKSPACE: /tmp/go-elasticsearch
99
matrix:
1010
setup:

.buildkite/run-repository.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ ELASTICSEARCH_BUILD_VERSION=$(curl -sSk $external_elasticsearch_url | jq -r '.ve
4141
ELASTICSEARCH_BUILD_HASH=$(curl -sSk $external_elasticsearch_url | jq -r '.version.build_hash')
4242

4343
echo -e "\033[34;1mINFO:\033[0m Download Elasticsearch specs... \033[0m"
44-
docker run --volume=$WORKSPACE/tmp:/tmp --workdir=/go-elasticsearch/internal/build --rm elastic/go-elasticsearch /bin/sh -c "
44+
docker run -e ELASTICSEARCH_BUILD_VERSION=$ELASTICSEARCH_BUILD_VERSION --volume=$WORKSPACE/tmp:/tmp --workdir=/go-elasticsearch/internal/build --rm elastic/go-elasticsearch /bin/sh -c "
4545
go mod download
4646
go run main.go download-spec -o /tmp -d
4747
"

.github/workflows/test-api.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
test-free:
1212
name: Free
1313
env:
14-
ELASTICSEARCH_VERSION: elasticsearch:9.0.0-SNAPSHOT
14+
ELASTICSEARCH_VERSION: elasticsearch:9.0.4-SNAPSHOT
1515
ELASTICSEARCH_URL: http://localhost:9200
1616
runs-on: ubuntu-latest
1717
steps:
@@ -43,7 +43,7 @@ jobs:
4343
test-platinum:
4444
name: Platinum
4545
env:
46-
ELASTICSEARCH_VERSION: elasticsearch:9.0.0-SNAPSHOT
46+
ELASTICSEARCH_VERSION: elasticsearch:9.0.4-SNAPSHOT
4747
ELASTICSEARCH_URL: https://elastic:elastic@localhost:9200
4848
runs-on: ubuntu-latest
4949
steps:

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,13 @@
1+
# 9.0.1
2+
3+
# API
4+
5+
* Updated APIs to 9.0.4
6+
7+
# Typed API
8+
9+
* Update TypedAPI to latest [elasticsearch-specification 9.0](https://github.com/elastic/elasticsearch-specification/commit/e585438)
10+
111
# 9.0.0
212

313
* The client now requires **Go 1.23** or later.

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
SHELL := /bin/bash
22

3-
ELASTICSEARCH_DEFAULT_BUILD_VERSION = "9.0.0-SNAPSHOT"
3+
ELASTICSEARCH_DEFAULT_BUILD_VERSION = "9.0.4-SNAPSHOT"
44

55
##@ Test
66
test-unit: ## Run unit tests

esapi/api._.go

Lines changed: 3 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esapi/api.cluster.get_component_template.go

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esapi/api.cluster.put_component_template.go

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esapi/api.create.go

Lines changed: 24 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

esapi/api.indices.recovery.go

Lines changed: 38 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)