Skip to content

Commit 136d5b9

Browse files
committed
Updated the endpoints for ES 7.12 + removed cpliakas/git-wrapper in favor of symplify/git-wrapper
1 parent 0d81be1 commit 136d5b9

File tree

398 files changed

+891
-448
lines changed

Some content is hidden

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

398 files changed

+891
-448
lines changed

.ci/test-matrix.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
11
---
22
STACK_VERSION:
3-
- 7.x-SNAPSHOT
3+
- 7.12.0-SNAPSHOT
44

55
PHP_VERSION:
66
- 8.0-cli
77
- 7.4-cli
88
- 7.3-cli
9-
- 7.2-cli
10-
- 7.1-cli
119

1210
TEST_SUITE:
1311
- free

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ composer.phar
66

77
#editor related
88
.idea
9+
.vscode
910

1011
# OS generated files
1112
.DS_Store

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@
1313
}
1414
],
1515
"require": {
16-
"php": "^7.1 || ^8.0",
16+
"php": "^7.3 || ^8.0",
1717
"ext-json": ">=1.3.7",
1818
"ezimuel/ringphp": "^1.1.2",
1919
"psr/log": "~1.0"
2020
},
2121
"require-dev": {
2222
"ext-yaml": "*",
2323
"ext-zip": "*",
24-
"cpliakas/git-wrapper": "~2.0 || ~3.0",
24+
"symplify/git-wrapper": "~9.0",
2525
"doctrine/inflector": "^1.3",
2626
"mockery/mockery": "^1.2",
2727
"phpstan/phpstan": "^0.12",

src/Elasticsearch/Client.php

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
use Elasticsearch\Namespaces\GraphNamespace;
4444
use Elasticsearch\Namespaces\IlmNamespace;
4545
use Elasticsearch\Namespaces\LicenseNamespace;
46+
use Elasticsearch\Namespaces\LogstashNamespace;
4647
use Elasticsearch\Namespaces\MigrationNamespace;
4748
use Elasticsearch\Namespaces\MlNamespace;
4849
use Elasticsearch\Namespaces\MonitoringNamespace;
@@ -52,6 +53,7 @@
5253
use Elasticsearch\Namespaces\SlmNamespace;
5354
use Elasticsearch\Namespaces\SqlNamespace;
5455
use Elasticsearch\Namespaces\SslNamespace;
56+
use Elasticsearch\Namespaces\TextStructureNamespace;
5557
use Elasticsearch\Namespaces\TransformNamespace;
5658
use Elasticsearch\Namespaces\WatcherNamespace;
5759
use Elasticsearch\Namespaces\XpackNamespace;
@@ -60,7 +62,7 @@
6062
* Class Client
6163
*
6264
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
63-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
65+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
6466
*/
6567
class Client
6668
{
@@ -171,6 +173,11 @@ class Client
171173
*/
172174
protected $license;
173175

176+
/**
177+
* @var LogstashNamespace
178+
*/
179+
protected $logstash;
180+
174181
/**
175182
* @var MigrationNamespace
176183
*/
@@ -216,6 +223,11 @@ class Client
216223
*/
217224
protected $ssl;
218225

226+
/**
227+
* @var TextStructureNamespace
228+
*/
229+
protected $textStructure;
230+
219231
/**
220232
* @var TransformNamespace
221233
*/
@@ -260,6 +272,7 @@ public function __construct(Transport $transport, callable $endpoint, array $reg
260272
$this->graph = new GraphNamespace($transport, $endpoint);
261273
$this->ilm = new IlmNamespace($transport, $endpoint);
262274
$this->license = new LicenseNamespace($transport, $endpoint);
275+
$this->logstash = new LogstashNamespace($transport, $endpoint);
263276
$this->migration = new MigrationNamespace($transport, $endpoint);
264277
$this->ml = new MlNamespace($transport, $endpoint);
265278
$this->monitoring = new MonitoringNamespace($transport, $endpoint);
@@ -269,6 +282,7 @@ public function __construct(Transport $transport, callable $endpoint, array $reg
269282
$this->slm = new SlmNamespace($transport, $endpoint);
270283
$this->sql = new SqlNamespace($transport, $endpoint);
271284
$this->ssl = new SslNamespace($transport, $endpoint);
285+
$this->textStructure = new TextStructureNamespace($transport, $endpoint);
272286
$this->transform = new TransformNamespace($transport, $endpoint);
273287
$this->watcher = new WatcherNamespace($transport, $endpoint);
274288
$this->xpack = new XpackNamespace($transport, $endpoint);
@@ -1198,6 +1212,7 @@ public function scroll(array $params = [])
11981212
* $params['max_concurrent_shard_requests'] = (number) The number of concurrent shard requests per node this search executes concurrently. This value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests (Default = 5)
11991213
* $params['pre_filter_shard_size'] = (number) A threshold that enforces a pre-filter roundtrip to prefilter search shards based on query rewriting if the number of shards the search request expands to exceeds the threshold. This filter roundtrip can limit the number of shards significantly if for instance a shard can not match any documents based on its rewrite method ie. if date filters are mandatory to match but the shard bounds and the query are disjoint.
12001214
* $params['rest_total_hits_as_int'] = (boolean) Indicates whether hits.total should be rendered as an integer or an object in the rest search response (Default = false)
1215+
* $params['min_compatible_shard_node'] = (string) The minimum compatible version that all shards involved in search should have for this request to be successful
12011216
* $params['body'] = (array) The search definition using the Query DSL
12021217
*
12031218
* @param array $params Associative array of parameters
@@ -1544,6 +1559,10 @@ public function license(): LicenseNamespace
15441559
{
15451560
return $this->license;
15461561
}
1562+
public function logstash(): LogstashNamespace
1563+
{
1564+
return $this->logstash;
1565+
}
15471566
public function migration(): MigrationNamespace
15481567
{
15491568
return $this->migration;
@@ -1580,6 +1599,10 @@ public function ssl(): SslNamespace
15801599
{
15811600
return $this->ssl;
15821601
}
1602+
public function textStructure(): TextStructureNamespace
1603+
{
1604+
return $this->textStructure;
1605+
}
15831606
public function transform(): TransformNamespace
15841607
{
15851608
return $this->transform;

src/Elasticsearch/Endpoints/AsyncSearch/Delete.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name async_search.delete
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
27+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
2828
*/
2929
class Delete extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/AsyncSearch/Get.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name async_search.get
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
27+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
2828
*/
2929
class Get extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/AsyncSearch/Status.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name async_search.status
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
27+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
2828
*/
2929
class Status extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/AsyncSearch/Submit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Elasticsearch API name async_search.submit
2424
*
2525
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
26-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
26+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
2727
*/
2828
class Submit extends AbstractEndpoint
2929
{

src/Elasticsearch/Endpoints/Autoscaling/DeleteAutoscalingPolicy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* Elasticsearch API name autoscaling.delete_autoscaling_policy
2525
*
2626
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
27-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
27+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
2828
*/
2929
class DeleteAutoscalingPolicy extends AbstractEndpoint
3030
{

src/Elasticsearch/Endpoints/Autoscaling/GetAutoscalingCapacity.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
* Elasticsearch API name autoscaling.get_autoscaling_capacity
2424
*
2525
* NOTE: this file is autogenerated using util/GenerateEndpoints.php
26-
* and Elasticsearch 7.12.0-SNAPSHOT (8532092b1b040934004e863c98b261c8cc71817b)
26+
* and Elasticsearch 7.12.0-SNAPSHOT (c4379e122f178e346f6402b1a4ebf382d29fec05)
2727
*/
2828
class GetAutoscalingCapacity extends AbstractEndpoint
2929
{

0 commit comments

Comments
 (0)