File tree Expand file tree Collapse file tree
lib/elastomer_client/client/rest_api_spec Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -12,11 +12,11 @@ jobs:
1212 strategy :
1313 matrix :
1414 ruby-version : ['3.2']
15- ES_VERSION : ['8.13.2 ']
15+ ES_VERSION : ['8.18.0 ']
1616 include :
17- - ES_VERSION : ' 8.13.2 '
17+ - ES_VERSION : ' 8.18.0 '
1818 ES_DOWNLOAD_URL : >-
19- https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.13.2 -linux-x86_64.tar.gz
19+ https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-8.18.0 -linux-x86_64.tar.gz
2020 steps :
2121 - uses : ruby/setup-ruby@v1
2222 with :
Original file line number Diff line number Diff line change 110110This client is tested against:
111111
112112- Ruby version 3.2
113- - Elasticsearch versions 5.6 and 8.13
113+ - Elasticsearch versions:
114+ - 5.6
115+ - 8.13
116+ - 8.18
114117
115118## Development
116119
Original file line number Diff line number Diff line change 11version : " 3"
22
33services :
4- elasticsearch8.13 :
5- image : docker.elastic.co/elasticsearch/elasticsearch:8.13.2
6- container_name : es8.13
4+ elasticsearch8.18 :
5+ image : docker.elastic.co/elasticsearch/elasticsearch:8.18.0
6+ container_name : es8.18
77 profiles : ["es8", "ccr", "all"]
88 environment :
9- - cluster.name=elastomer8.13
9+ - cluster.name=elastomer8.18
1010 - bootstrap.memory_lock=true
1111 - discovery.type=single-node
1212 - xpack.security.enabled=false
@@ -30,7 +30,7 @@ services:
3030 - 127.0.0.1:${ES_8_PORT:-9208}:9200
3131
3232 elasticsearchFollower :
33- image : docker.elastic.co/elasticsearch/elasticsearch:8.13.2
33+ image : docker.elastic.co/elasticsearch/elasticsearch:8.18.0
3434 container_name : es-follow
3535 profiles : ["ccr"]
3636 environment :
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ class RestApiSpecGenerator
2222
2323 attr_reader :version , :short_version , :class_version
2424
25- def initialize ( version = "8.13 " )
25+ def initialize ( version = "8.18 " )
2626 @version = version
2727
2828 sliced = @version . split ( "." ) . slice ( 0 , 2 )
Original file line number Diff line number Diff line change @@ -66,7 +66,7 @@ case "$1" in
6666 "cluster": {
6767 "remote": {
6868 "leader": {
69- "seeds": ["es8.13 :9300"]
69+ "seeds": ["es8.18 :9300"]
7070 }
7171 }
7272 }
Original file line number Diff line number Diff line change 7979
8080 it "returns cluster stats" do
8181 h = @cluster . stats
82- expected = $client. version_support . es_version_8_plus? ? %w[ cluster_name cluster_uuid indices nodes snapshots status timestamp ] : %w[ cluster_name indices nodes status timestamp ]
82+ expected = $client. version_support . es_version_8_plus? ? %w[ ccs cluster_name cluster_uuid indices nodes repositories snapshots status timestamp ] : %w[ cluster_name indices nodes status timestamp ]
83+
8384 expected . unshift ( "_nodes" )
8485
8586 assert_equal expected , h . keys . sort
You can’t perform that action at this time.
0 commit comments