From 5f1245cd1e4c4632b815f87a6418ae9a8cd8ec5b Mon Sep 17 00:00:00 2001 From: Vijayan Balasubramanian Date: Thu, 11 Nov 2021 18:58:44 -0800 Subject: [PATCH] Update license headers Signed-off-by: Vijayan Balasubramanian --- src/OpenSearch/Client.php | 16 +++-- src/OpenSearch/ClientBuilder.php | 17 +++-- src/OpenSearch/Common/EmptyLogger.php | 16 +++-- .../AuthenticationConfigException.php | 16 +++-- .../Exceptions/BadMethodCallException.php | 16 +++-- .../Exceptions/BadRequest400Exception.php | 16 +++-- .../ClientErrorResponseException.php | 16 +++-- .../Exceptions/Conflict409Exception.php | 16 +++-- .../Exceptions/Curl/CouldNotConnectToHost.php | 17 +++-- .../Curl/CouldNotResolveHostException.php | 16 +++-- .../Curl/OperationTimeoutException.php | 16 +++-- .../Exceptions/Forbidden403Exception.php | 16 +++-- .../Exceptions/InvalidArgumentException.php | 16 +++-- .../Common/Exceptions/MaxRetriesException.php | 17 +++-- .../Common/Exceptions/Missing404Exception.php | 16 +++-- .../Exceptions/NoDocumentsToGetException.php | 16 +++-- .../Exceptions/NoNodesAvailableException.php | 16 +++-- .../Exceptions/NoShardAvailableException.php | 17 +++-- .../Common/Exceptions/OpenSearchException.php | 16 +++-- .../Exceptions/RequestTimeout408Exception.php | 16 +++-- .../Exceptions/RoutingMissingException.php | 16 +++-- .../Common/Exceptions/RuntimeException.php | 16 +++-- .../ScriptLangNotSupportedException.php | 16 +++-- .../Serializer/JsonErrorException.php | 16 +++-- .../ServerErrorResponseException.php | 16 +++-- .../Common/Exceptions/TransportException.php | 16 +++-- .../Exceptions/Unauthorized401Exception.php | 16 +++-- .../Exceptions/UnexpectedValueException.php | 16 +++-- .../ConnectionPool/AbstractConnectionPool.php | 16 +++-- .../ConnectionPoolInterface.php | 16 +++-- .../Selectors/RandomSelector.php | 16 +++-- .../Selectors/RoundRobinSelector.php | 16 +++-- .../Selectors/SelectorInterface.php | 16 +++-- .../Selectors/StickyRoundRobinSelector.php | 16 +++-- .../ConnectionPool/SimpleConnectionPool.php | 16 +++-- .../ConnectionPool/SniffingConnectionPool.php | 16 +++-- .../ConnectionPool/StaticConnectionPool.php | 16 +++-- .../StaticNoPingConnectionPool.php | 17 +++-- src/OpenSearch/Connections/Connection.php | 16 +++-- .../Connections/ConnectionFactory.php | 16 +++-- .../ConnectionFactoryInterface.php | 17 +++-- .../Connections/ConnectionInterface.php | 17 +++-- src/OpenSearch/Endpoints/AbstractEndpoint.php | 16 +++-- .../Endpoints/AsyncSearch/Delete.php | 16 +++-- src/OpenSearch/Endpoints/AsyncSearch/Get.php | 16 +++-- .../Endpoints/AsyncSearch/Submit.php | 16 +++-- src/OpenSearch/Endpoints/Bulk.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Aliases.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Allocation.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Count.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Fielddata.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Health.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Help.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Indices.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Master.php | 16 +++-- .../Endpoints/Cat/MlDataFrameAnalytics.php | 50 --------------- src/OpenSearch/Endpoints/Cat/MlDatafeeds.php | 62 ------------------ src/OpenSearch/Endpoints/Cat/MlJobs.php | 63 ------------------ .../Endpoints/Cat/MlTrainedModels.php | 64 ------------------- src/OpenSearch/Endpoints/Cat/NodeAttrs.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Nodes.php | 16 +++-- src/OpenSearch/Endpoints/Cat/PendingTasks.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Plugins.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Recovery.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Repositories.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Segments.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Shards.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Snapshots.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Tasks.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Templates.php | 16 +++-- src/OpenSearch/Endpoints/Cat/ThreadPool.php | 16 +++-- src/OpenSearch/Endpoints/Cat/Transforms.php | 16 +++-- src/OpenSearch/Endpoints/ClearScroll.php | 16 +++-- src/OpenSearch/Endpoints/ClosePointInTime.php | 16 +++-- .../Endpoints/Cluster/AllocationExplain.php | 16 +++-- .../Cluster/DeleteComponentTemplate.php | 16 +++-- .../Cluster/DeleteVotingConfigExclusions.php | 17 +++-- .../Cluster/ExistsComponentTemplate.php | 16 +++-- .../Cluster/GetComponentTemplate.php | 16 +++-- .../Endpoints/Cluster/GetSettings.php | 16 +++-- src/OpenSearch/Endpoints/Cluster/Health.php | 17 +++-- .../Endpoints/Cluster/PendingTasks.php | 16 +++-- .../Cluster/PostVotingConfigExclusions.php | 16 +++-- .../Cluster/PutComponentTemplate.php | 16 +++-- .../Endpoints/Cluster/PutSettings.php | 16 +++-- .../Endpoints/Cluster/RemoteInfo.php | 16 +++-- src/OpenSearch/Endpoints/Cluster/Reroute.php | 16 +++-- src/OpenSearch/Endpoints/Cluster/State.php | 16 +++-- src/OpenSearch/Endpoints/Cluster/Stats.php | 16 +++-- src/OpenSearch/Endpoints/Count.php | 16 +++-- src/OpenSearch/Endpoints/Create.php | 16 +++-- .../DanglingIndices/DeleteDanglingIndex.php | 16 +++-- .../DanglingIndices/ImportDanglingIndex.php | 16 +++-- .../DanglingIndices/ListDanglingIndices.php | 16 +++-- .../DeleteTransform.php | 16 +++-- .../GetTransform.php | 16 +++-- .../GetTransformStats.php | 16 +++-- .../PreviewTransform.php | 16 +++-- .../PutTransform.php | 16 +++-- .../StartTransform.php | 16 +++-- .../StopTransform.php | 17 +++-- .../UpdateTransform.php | 16 +++-- src/OpenSearch/Endpoints/Delete.php | 16 +++-- src/OpenSearch/Endpoints/DeleteByQuery.php | 16 +++-- .../Endpoints/DeleteByQueryRethrottle.php | 16 +++-- src/OpenSearch/Endpoints/DeleteScript.php | 16 +++-- src/OpenSearch/Endpoints/Exists.php | 16 +++-- src/OpenSearch/Endpoints/ExistsSource.php | 16 +++-- src/OpenSearch/Endpoints/Explain.php | 16 +++-- src/OpenSearch/Endpoints/FieldCaps.php | 17 +++-- src/OpenSearch/Endpoints/Get.php | 16 +++-- src/OpenSearch/Endpoints/GetScript.php | 16 +++-- src/OpenSearch/Endpoints/GetScriptContext.php | 16 +++-- .../Endpoints/GetScriptLanguages.php | 16 +++-- src/OpenSearch/Endpoints/GetSource.php | 16 +++-- src/OpenSearch/Endpoints/Index.php | 16 +++-- src/OpenSearch/Endpoints/Indices/AddBlock.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Analyze.php | 16 +++-- .../Endpoints/Indices/ClearCache.php | 17 +++-- .../Endpoints/Indices/CloneIndices.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Close.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Create.php | 16 +++-- .../Endpoints/Indices/CreateDataStream.php | 16 +++-- .../Endpoints/Indices/DataStreamsStats.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Delete.php | 16 +++-- .../Endpoints/Indices/DeleteAlias.php | 16 +++-- .../Endpoints/Indices/DeleteDataStream.php | 16 +++-- .../Endpoints/Indices/DeleteIndexTemplate.php | 16 +++-- .../Endpoints/Indices/DeleteTemplate.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Exists.php | 16 +++-- .../Endpoints/Indices/ExistsAlias.php | 17 +++-- .../Endpoints/Indices/ExistsIndexTemplate.php | 16 +++-- .../Endpoints/Indices/ExistsTemplate.php | 16 +++-- .../Endpoints/Indices/ExistsType.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Flush.php | 16 +++-- .../Endpoints/Indices/FlushSynced.php | 16 +++-- .../Endpoints/Indices/ForceMerge.php | 17 +++-- src/OpenSearch/Endpoints/Indices/Freeze.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Get.php | 16 +++-- src/OpenSearch/Endpoints/Indices/GetAlias.php | 16 +++-- .../Endpoints/Indices/GetDataStream.php | 16 +++-- .../Endpoints/Indices/GetFieldMapping.php | 16 +++-- .../Endpoints/Indices/GetIndexTemplate.php | 16 +++-- .../Endpoints/Indices/GetMapping.php | 16 +++-- .../Endpoints/Indices/GetSettings.php | 17 +++-- .../Endpoints/Indices/GetTemplate.php | 16 +++-- .../Endpoints/Indices/GetUpgrade.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Open.php | 17 +++-- src/OpenSearch/Endpoints/Indices/PutAlias.php | 16 +++-- .../Endpoints/Indices/PutIndexTemplate.php | 17 +++-- .../Endpoints/Indices/PutMapping.php | 16 +++-- .../Endpoints/Indices/PutSettings.php | 16 +++-- .../Endpoints/Indices/PutTemplate.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Recovery.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Refresh.php | 17 +++-- .../Indices/ReloadSearchAnalyzers.php | 16 +++-- .../Endpoints/Indices/ResolveIndex.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Rollover.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Segments.php | 16 +++-- .../Endpoints/Indices/ShardStores.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Shrink.php | 16 +++-- .../Indices/SimulateIndexTemplate.php | 17 +++-- .../Endpoints/Indices/SimulateTemplate.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Split.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Stats.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Unfreeze.php | 16 +++-- .../Endpoints/Indices/UpdateAliases.php | 16 +++-- src/OpenSearch/Endpoints/Indices/Upgrade.php | 16 +++-- .../Endpoints/Indices/ValidateQuery.php | 16 +++-- src/OpenSearch/Endpoints/Info.php | 16 +++-- .../Endpoints/Ingest/DeletePipeline.php | 16 +++-- .../Endpoints/Ingest/GetPipeline.php | 16 +++-- .../Endpoints/Ingest/ProcessorGrok.php | 16 +++-- .../Endpoints/Ingest/PutPipeline.php | 16 +++-- src/OpenSearch/Endpoints/Ingest/Simulate.php | 16 +++-- src/OpenSearch/Endpoints/MTermVectors.php | 16 +++-- src/OpenSearch/Endpoints/Mget.php | 16 +++-- src/OpenSearch/Endpoints/Monitoring/Bulk.php | 16 +++-- src/OpenSearch/Endpoints/Msearch.php | 16 +++-- src/OpenSearch/Endpoints/MsearchTemplate.php | 16 +++-- src/OpenSearch/Endpoints/Nodes/HotThreads.php | 16 +++-- src/OpenSearch/Endpoints/Nodes/Info.php | 16 +++-- .../Endpoints/Nodes/ReloadSecureSettings.php | 16 +++-- src/OpenSearch/Endpoints/Nodes/Stats.php | 16 +++-- src/OpenSearch/Endpoints/Nodes/Usage.php | 16 +++-- src/OpenSearch/Endpoints/OpenPointInTime.php | 16 +++-- src/OpenSearch/Endpoints/Ping.php | 16 +++-- src/OpenSearch/Endpoints/PutScript.php | 16 +++-- src/OpenSearch/Endpoints/RankEval.php | 16 +++-- src/OpenSearch/Endpoints/Reindex.php | 16 +++-- .../Endpoints/ReindexRethrottle.php | 16 +++-- .../Endpoints/RenderSearchTemplate.php | 16 +++-- .../Endpoints/ScriptsPainlessExecute.php | 16 +++-- src/OpenSearch/Endpoints/Scroll.php | 16 +++-- src/OpenSearch/Endpoints/Search.php | 16 +++-- src/OpenSearch/Endpoints/SearchShards.php | 16 +++-- src/OpenSearch/Endpoints/SearchTemplate.php | 16 +++-- .../SearchableSnapshots/ClearCache.php | 16 +++-- .../Endpoints/SearchableSnapshots/Mount.php | 16 +++-- .../SearchableSnapshots/RepositoryStats.php | 16 +++-- .../Endpoints/SearchableSnapshots/Stats.php | 16 +++-- .../Endpoints/Snapshot/CleanupRepository.php | 16 +++-- .../Endpoints/Snapshot/CloneSnapshot.php | 16 +++-- src/OpenSearch/Endpoints/Snapshot/Create.php | 16 +++-- .../Endpoints/Snapshot/CreateRepository.php | 16 +++-- src/OpenSearch/Endpoints/Snapshot/Delete.php | 16 +++-- .../Endpoints/Snapshot/DeleteRepository.php | 16 +++-- src/OpenSearch/Endpoints/Snapshot/Get.php | 16 +++-- .../Endpoints/Snapshot/GetRepository.php | 16 +++-- src/OpenSearch/Endpoints/Snapshot/Restore.php | 16 +++-- src/OpenSearch/Endpoints/Snapshot/Status.php | 16 +++-- .../Endpoints/Snapshot/VerifyRepository.php | 16 +++-- src/OpenSearch/Endpoints/Ssl/Certificates.php | 16 +++-- src/OpenSearch/Endpoints/Tasks/Cancel.php | 16 +++-- src/OpenSearch/Endpoints/Tasks/Get.php | 16 +++-- src/OpenSearch/Endpoints/Tasks/ListTasks.php | 16 +++-- src/OpenSearch/Endpoints/TermVectors.php | 16 +++-- src/OpenSearch/Endpoints/Update.php | 16 +++-- src/OpenSearch/Endpoints/UpdateByQuery.php | 16 +++-- .../Endpoints/UpdateByQueryRethrottle.php | 16 +++-- .../Helper/Iterators/SearchHitIterator.php | 16 +++-- .../Iterators/SearchResponseIterator.php | 16 +++-- .../Namespaces/AbstractNamespace.php | 16 +++-- .../Namespaces/AsyncSearchNamespace.php | 16 +++-- .../Namespaces/BooleanRequestWrapper.php | 16 +++-- src/OpenSearch/Namespaces/CatNamespace.php | 16 +++-- .../Namespaces/ClusterNamespace.php | 16 +++-- .../Namespaces/DanglingIndicesNamespace.php | 16 +++-- .../DataFrameTransformDeprecatedNamespace.php | 16 +++-- .../Namespaces/IndicesNamespace.php | 16 +++-- src/OpenSearch/Namespaces/IngestNamespace.php | 16 +++-- .../Namespaces/MonitoringNamespace.php | 16 +++-- .../Namespaces/NamespaceBuilderInterface.php | 16 +++-- src/OpenSearch/Namespaces/NodesNamespace.php | 16 +++-- .../SearchableSnapshotsNamespace.php | 16 +++-- .../Namespaces/SnapshotNamespace.php | 16 +++-- src/OpenSearch/Namespaces/SslNamespace.php | 16 +++-- src/OpenSearch/Namespaces/TasksNamespace.php | 16 +++-- .../Serializers/ArrayToJSONSerializer.php | 16 +++-- .../EverythingToJSONSerializer.php | 17 +++-- .../Serializers/SerializerInterface.php | 16 +++-- .../Serializers/SmartSerializer.php | 17 +++-- src/OpenSearch/Transport.php | 16 +++-- tests/ClientBuilder/ArrayLogger.php | 16 +++-- tests/ClientBuilder/DummyLogger.php | 16 +++-- tests/ClientBuilderTest.php | 16 +++-- tests/ClientIntegrationTest.php | 16 +++-- tests/ClientTest.php | 16 +++-- .../Selectors/RoundRobinSelectorTest.php | 16 +++-- .../SniffingConnectionPoolIntegrationTest.php | 16 +++-- .../StaticConnectionPoolIntegrationTest.php | 16 +++-- .../StaticConnectionPoolTest.php | 16 +++-- tests/Connections/ConnectionTest.php | 16 +++-- tests/Endpoints/AbstractEndpointTest.php | 16 +++-- tests/Endpoints/StatusEndpointTest.php | 16 +++-- .../Iterators/SearchHitIteratorTest.php | 16 +++-- .../Iterators/SearchResponseIteratorTest.php | 16 +++-- tests/RegisteredNamespaceTest.php | 16 +++-- .../Serializers/ArrayToJSONSerializerTest.php | 16 +++-- .../EverythingToJSONSerializerTest.php | 16 +++-- tests/Serializers/SmartSerializerTest.php | 16 +++-- tests/TransportTest.php | 16 +++-- tests/Utility.php | 16 +++-- tests/bootstrap.php | 16 +++-- util/ActionTest.php | 16 +++-- util/ClientEndpoint.php | 16 +++-- util/Endpoint.php | 16 +++-- util/GenerateDocExamples.php | 16 +++-- util/GenerateEndpoints.php | 17 +++-- util/NamespaceEndpoint.php | 16 +++-- util/RestSpecRunner.php | 16 +++-- util/YamlTests.php | 16 +++-- util/build_tests.php | 16 +++-- util/docsConfig.php | 16 +++-- util/examples_to_parse.php | 16 +++-- 275 files changed, 2982 insertions(+), 1615 deletions(-) delete mode 100644 src/OpenSearch/Endpoints/Cat/MlDataFrameAnalytics.php delete mode 100644 src/OpenSearch/Endpoints/Cat/MlDatafeeds.php delete mode 100644 src/OpenSearch/Endpoints/Cat/MlJobs.php delete mode 100644 src/OpenSearch/Endpoints/Cat/MlTrainedModels.php diff --git a/src/OpenSearch/Client.php b/src/OpenSearch/Client.php index 99a745c45..c9af8ef58 100644 --- a/src/OpenSearch/Client.php +++ b/src/OpenSearch/Client.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch; diff --git a/src/OpenSearch/ClientBuilder.php b/src/OpenSearch/ClientBuilder.php index ed11d489c..f38a8dab1 100644 --- a/src/OpenSearch/ClientBuilder.php +++ b/src/OpenSearch/ClientBuilder.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch; use OpenSearch\Common\Exceptions\InvalidArgumentException; diff --git a/src/OpenSearch/Common/EmptyLogger.php b/src/OpenSearch/Common/EmptyLogger.php index 835657f58..6c76f0980 100644 --- a/src/OpenSearch/Common/EmptyLogger.php +++ b/src/OpenSearch/Common/EmptyLogger.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common; diff --git a/src/OpenSearch/Common/Exceptions/AuthenticationConfigException.php b/src/OpenSearch/Common/Exceptions/AuthenticationConfigException.php index d9bdcaf67..916f8faef 100644 --- a/src/OpenSearch/Common/Exceptions/AuthenticationConfigException.php +++ b/src/OpenSearch/Common/Exceptions/AuthenticationConfigException.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/BadMethodCallException.php b/src/OpenSearch/Common/Exceptions/BadMethodCallException.php index 670ff7bf6..4a88e9d2c 100644 --- a/src/OpenSearch/Common/Exceptions/BadMethodCallException.php +++ b/src/OpenSearch/Common/Exceptions/BadMethodCallException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/BadRequest400Exception.php b/src/OpenSearch/Common/Exceptions/BadRequest400Exception.php index 4f765b492..dbb437f22 100644 --- a/src/OpenSearch/Common/Exceptions/BadRequest400Exception.php +++ b/src/OpenSearch/Common/Exceptions/BadRequest400Exception.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/ClientErrorResponseException.php b/src/OpenSearch/Common/Exceptions/ClientErrorResponseException.php index 73df87a0a..c05f99a3d 100644 --- a/src/OpenSearch/Common/Exceptions/ClientErrorResponseException.php +++ b/src/OpenSearch/Common/Exceptions/ClientErrorResponseException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/Conflict409Exception.php b/src/OpenSearch/Common/Exceptions/Conflict409Exception.php index a34f73f96..89c0ab635 100644 --- a/src/OpenSearch/Common/Exceptions/Conflict409Exception.php +++ b/src/OpenSearch/Common/Exceptions/Conflict409Exception.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/Curl/CouldNotConnectToHost.php b/src/OpenSearch/Common/Exceptions/Curl/CouldNotConnectToHost.php index e232fe6e4..a3ede852f 100644 --- a/src/OpenSearch/Common/Exceptions/Curl/CouldNotConnectToHost.php +++ b/src/OpenSearch/Common/Exceptions/Curl/CouldNotConnectToHost.php @@ -2,15 +2,22 @@ declare(strict_types=1); + /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client + * + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions\Curl; diff --git a/src/OpenSearch/Common/Exceptions/Curl/CouldNotResolveHostException.php b/src/OpenSearch/Common/Exceptions/Curl/CouldNotResolveHostException.php index d1ac6ecf6..847719e52 100644 --- a/src/OpenSearch/Common/Exceptions/Curl/CouldNotResolveHostException.php +++ b/src/OpenSearch/Common/Exceptions/Curl/CouldNotResolveHostException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions\Curl; diff --git a/src/OpenSearch/Common/Exceptions/Curl/OperationTimeoutException.php b/src/OpenSearch/Common/Exceptions/Curl/OperationTimeoutException.php index 52a64255f..46ba97d79 100644 --- a/src/OpenSearch/Common/Exceptions/Curl/OperationTimeoutException.php +++ b/src/OpenSearch/Common/Exceptions/Curl/OperationTimeoutException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions\Curl; diff --git a/src/OpenSearch/Common/Exceptions/Forbidden403Exception.php b/src/OpenSearch/Common/Exceptions/Forbidden403Exception.php index e6269f80c..ea59472c7 100644 --- a/src/OpenSearch/Common/Exceptions/Forbidden403Exception.php +++ b/src/OpenSearch/Common/Exceptions/Forbidden403Exception.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/InvalidArgumentException.php b/src/OpenSearch/Common/Exceptions/InvalidArgumentException.php index dc9600974..d8afd6717 100644 --- a/src/OpenSearch/Common/Exceptions/InvalidArgumentException.php +++ b/src/OpenSearch/Common/Exceptions/InvalidArgumentException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/MaxRetriesException.php b/src/OpenSearch/Common/Exceptions/MaxRetriesException.php index 421dfa02e..b07ec0421 100644 --- a/src/OpenSearch/Common/Exceptions/MaxRetriesException.php +++ b/src/OpenSearch/Common/Exceptions/MaxRetriesException.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Common\Exceptions; class MaxRetriesException extends TransportException implements OpenSearchException diff --git a/src/OpenSearch/Common/Exceptions/Missing404Exception.php b/src/OpenSearch/Common/Exceptions/Missing404Exception.php index 2beb3c8cf..1a9bd8fcc 100644 --- a/src/OpenSearch/Common/Exceptions/Missing404Exception.php +++ b/src/OpenSearch/Common/Exceptions/Missing404Exception.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/NoDocumentsToGetException.php b/src/OpenSearch/Common/Exceptions/NoDocumentsToGetException.php index 5041cf9a4..03cfaadbe 100644 --- a/src/OpenSearch/Common/Exceptions/NoDocumentsToGetException.php +++ b/src/OpenSearch/Common/Exceptions/NoDocumentsToGetException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/NoNodesAvailableException.php b/src/OpenSearch/Common/Exceptions/NoNodesAvailableException.php index c4fbf8593..c0c3fd3c2 100644 --- a/src/OpenSearch/Common/Exceptions/NoNodesAvailableException.php +++ b/src/OpenSearch/Common/Exceptions/NoNodesAvailableException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/NoShardAvailableException.php b/src/OpenSearch/Common/Exceptions/NoShardAvailableException.php index 37ae15098..b56ed2050 100644 --- a/src/OpenSearch/Common/Exceptions/NoShardAvailableException.php +++ b/src/OpenSearch/Common/Exceptions/NoShardAvailableException.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Common\Exceptions; class NoShardAvailableException extends ServerErrorResponseException implements OpenSearchException diff --git a/src/OpenSearch/Common/Exceptions/OpenSearchException.php b/src/OpenSearch/Common/Exceptions/OpenSearchException.php index 5f180ab74..0d7198284 100644 --- a/src/OpenSearch/Common/Exceptions/OpenSearchException.php +++ b/src/OpenSearch/Common/Exceptions/OpenSearchException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/RequestTimeout408Exception.php b/src/OpenSearch/Common/Exceptions/RequestTimeout408Exception.php index 0dddf47f7..6d8e9de23 100644 --- a/src/OpenSearch/Common/Exceptions/RequestTimeout408Exception.php +++ b/src/OpenSearch/Common/Exceptions/RequestTimeout408Exception.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/RoutingMissingException.php b/src/OpenSearch/Common/Exceptions/RoutingMissingException.php index f06a731a6..8f79b7119 100644 --- a/src/OpenSearch/Common/Exceptions/RoutingMissingException.php +++ b/src/OpenSearch/Common/Exceptions/RoutingMissingException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/RuntimeException.php b/src/OpenSearch/Common/Exceptions/RuntimeException.php index f3ff2feba..a5dc01ec2 100644 --- a/src/OpenSearch/Common/Exceptions/RuntimeException.php +++ b/src/OpenSearch/Common/Exceptions/RuntimeException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/ScriptLangNotSupportedException.php b/src/OpenSearch/Common/Exceptions/ScriptLangNotSupportedException.php index 396778a1b..e190800e8 100644 --- a/src/OpenSearch/Common/Exceptions/ScriptLangNotSupportedException.php +++ b/src/OpenSearch/Common/Exceptions/ScriptLangNotSupportedException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/Serializer/JsonErrorException.php b/src/OpenSearch/Common/Exceptions/Serializer/JsonErrorException.php index 2e61ef740..8853ba5b5 100644 --- a/src/OpenSearch/Common/Exceptions/Serializer/JsonErrorException.php +++ b/src/OpenSearch/Common/Exceptions/Serializer/JsonErrorException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions\Serializer; diff --git a/src/OpenSearch/Common/Exceptions/ServerErrorResponseException.php b/src/OpenSearch/Common/Exceptions/ServerErrorResponseException.php index d21cb5ce7..d46ed24e9 100644 --- a/src/OpenSearch/Common/Exceptions/ServerErrorResponseException.php +++ b/src/OpenSearch/Common/Exceptions/ServerErrorResponseException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/TransportException.php b/src/OpenSearch/Common/Exceptions/TransportException.php index c08901029..263184b9c 100644 --- a/src/OpenSearch/Common/Exceptions/TransportException.php +++ b/src/OpenSearch/Common/Exceptions/TransportException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/Unauthorized401Exception.php b/src/OpenSearch/Common/Exceptions/Unauthorized401Exception.php index 571df072d..2578274dd 100644 --- a/src/OpenSearch/Common/Exceptions/Unauthorized401Exception.php +++ b/src/OpenSearch/Common/Exceptions/Unauthorized401Exception.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Common/Exceptions/UnexpectedValueException.php b/src/OpenSearch/Common/Exceptions/UnexpectedValueException.php index 0b45208eb..beca774c8 100644 --- a/src/OpenSearch/Common/Exceptions/UnexpectedValueException.php +++ b/src/OpenSearch/Common/Exceptions/UnexpectedValueException.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/ConnectionPool/AbstractConnectionPool.php b/src/OpenSearch/ConnectionPool/AbstractConnectionPool.php index b08e521f3..fee254a86 100644 --- a/src/OpenSearch/ConnectionPool/AbstractConnectionPool.php +++ b/src/OpenSearch/ConnectionPool/AbstractConnectionPool.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool; diff --git a/src/OpenSearch/ConnectionPool/ConnectionPoolInterface.php b/src/OpenSearch/ConnectionPool/ConnectionPoolInterface.php index 728cca36c..35282a5ca 100644 --- a/src/OpenSearch/ConnectionPool/ConnectionPoolInterface.php +++ b/src/OpenSearch/ConnectionPool/ConnectionPoolInterface.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool; diff --git a/src/OpenSearch/ConnectionPool/Selectors/RandomSelector.php b/src/OpenSearch/ConnectionPool/Selectors/RandomSelector.php index 102062612..89392a1dd 100644 --- a/src/OpenSearch/ConnectionPool/Selectors/RandomSelector.php +++ b/src/OpenSearch/ConnectionPool/Selectors/RandomSelector.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool\Selectors; diff --git a/src/OpenSearch/ConnectionPool/Selectors/RoundRobinSelector.php b/src/OpenSearch/ConnectionPool/Selectors/RoundRobinSelector.php index f2829fba9..59e653a1e 100644 --- a/src/OpenSearch/ConnectionPool/Selectors/RoundRobinSelector.php +++ b/src/OpenSearch/ConnectionPool/Selectors/RoundRobinSelector.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool\Selectors; diff --git a/src/OpenSearch/ConnectionPool/Selectors/SelectorInterface.php b/src/OpenSearch/ConnectionPool/Selectors/SelectorInterface.php index 220f4b935..4d5214eb5 100644 --- a/src/OpenSearch/ConnectionPool/Selectors/SelectorInterface.php +++ b/src/OpenSearch/ConnectionPool/Selectors/SelectorInterface.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool\Selectors; diff --git a/src/OpenSearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php b/src/OpenSearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php index 5662135d8..d8fd0000b 100644 --- a/src/OpenSearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php +++ b/src/OpenSearch/ConnectionPool/Selectors/StickyRoundRobinSelector.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool\Selectors; diff --git a/src/OpenSearch/ConnectionPool/SimpleConnectionPool.php b/src/OpenSearch/ConnectionPool/SimpleConnectionPool.php index 58a6a5a66..d55c69088 100644 --- a/src/OpenSearch/ConnectionPool/SimpleConnectionPool.php +++ b/src/OpenSearch/ConnectionPool/SimpleConnectionPool.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool; diff --git a/src/OpenSearch/ConnectionPool/SniffingConnectionPool.php b/src/OpenSearch/ConnectionPool/SniffingConnectionPool.php index bb38a7dae..509092d9f 100644 --- a/src/OpenSearch/ConnectionPool/SniffingConnectionPool.php +++ b/src/OpenSearch/ConnectionPool/SniffingConnectionPool.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool; diff --git a/src/OpenSearch/ConnectionPool/StaticConnectionPool.php b/src/OpenSearch/ConnectionPool/StaticConnectionPool.php index 74790e88a..8fac4c1f8 100644 --- a/src/OpenSearch/ConnectionPool/StaticConnectionPool.php +++ b/src/OpenSearch/ConnectionPool/StaticConnectionPool.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\ConnectionPool; diff --git a/src/OpenSearch/ConnectionPool/StaticNoPingConnectionPool.php b/src/OpenSearch/ConnectionPool/StaticNoPingConnectionPool.php index 1ad4eab74..a59666587 100644 --- a/src/OpenSearch/ConnectionPool/StaticNoPingConnectionPool.php +++ b/src/OpenSearch/ConnectionPool/StaticNoPingConnectionPool.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\ConnectionPool; use OpenSearch\Common\Exceptions\NoNodesAvailableException; diff --git a/src/OpenSearch/Connections/Connection.php b/src/OpenSearch/Connections/Connection.php index 801f13893..3b6a738ec 100644 --- a/src/OpenSearch/Connections/Connection.php +++ b/src/OpenSearch/Connections/Connection.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Connections; diff --git a/src/OpenSearch/Connections/ConnectionFactory.php b/src/OpenSearch/Connections/ConnectionFactory.php index a82d91421..84b7b53a0 100644 --- a/src/OpenSearch/Connections/ConnectionFactory.php +++ b/src/OpenSearch/Connections/ConnectionFactory.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Connections; diff --git a/src/OpenSearch/Connections/ConnectionFactoryInterface.php b/src/OpenSearch/Connections/ConnectionFactoryInterface.php index af20b6ba7..d09005db5 100644 --- a/src/OpenSearch/Connections/ConnectionFactoryInterface.php +++ b/src/OpenSearch/Connections/ConnectionFactoryInterface.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Connections; interface ConnectionFactoryInterface diff --git a/src/OpenSearch/Connections/ConnectionInterface.php b/src/OpenSearch/Connections/ConnectionInterface.php index 1ae4370f7..336fc1ba5 100644 --- a/src/OpenSearch/Connections/ConnectionInterface.php +++ b/src/OpenSearch/Connections/ConnectionInterface.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Connections; use OpenSearch\Serializers\SerializerInterface; diff --git a/src/OpenSearch/Endpoints/AbstractEndpoint.php b/src/OpenSearch/Endpoints/AbstractEndpoint.php index f6e98665c..59028c343 100644 --- a/src/OpenSearch/Endpoints/AbstractEndpoint.php +++ b/src/OpenSearch/Endpoints/AbstractEndpoint.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/AsyncSearch/Delete.php b/src/OpenSearch/Endpoints/AsyncSearch/Delete.php index f3aade03d..865982cd0 100644 --- a/src/OpenSearch/Endpoints/AsyncSearch/Delete.php +++ b/src/OpenSearch/Endpoints/AsyncSearch/Delete.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\AsyncSearch; diff --git a/src/OpenSearch/Endpoints/AsyncSearch/Get.php b/src/OpenSearch/Endpoints/AsyncSearch/Get.php index 720541e4d..8b8234e1d 100644 --- a/src/OpenSearch/Endpoints/AsyncSearch/Get.php +++ b/src/OpenSearch/Endpoints/AsyncSearch/Get.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\AsyncSearch; diff --git a/src/OpenSearch/Endpoints/AsyncSearch/Submit.php b/src/OpenSearch/Endpoints/AsyncSearch/Submit.php index 591f3e9ed..b395691ea 100644 --- a/src/OpenSearch/Endpoints/AsyncSearch/Submit.php +++ b/src/OpenSearch/Endpoints/AsyncSearch/Submit.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\AsyncSearch; diff --git a/src/OpenSearch/Endpoints/Bulk.php b/src/OpenSearch/Endpoints/Bulk.php index 9f593a6a0..05149ec29 100644 --- a/src/OpenSearch/Endpoints/Bulk.php +++ b/src/OpenSearch/Endpoints/Bulk.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Cat/Aliases.php b/src/OpenSearch/Endpoints/Cat/Aliases.php index 83d7e3acd..341c2d8d6 100644 --- a/src/OpenSearch/Endpoints/Cat/Aliases.php +++ b/src/OpenSearch/Endpoints/Cat/Aliases.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Allocation.php b/src/OpenSearch/Endpoints/Cat/Allocation.php index b4883f12d..c28052dee 100644 --- a/src/OpenSearch/Endpoints/Cat/Allocation.php +++ b/src/OpenSearch/Endpoints/Cat/Allocation.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Count.php b/src/OpenSearch/Endpoints/Cat/Count.php index b2bfcda7e..d96e2f9ab 100644 --- a/src/OpenSearch/Endpoints/Cat/Count.php +++ b/src/OpenSearch/Endpoints/Cat/Count.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Fielddata.php b/src/OpenSearch/Endpoints/Cat/Fielddata.php index c283ac5e6..7fb872b47 100644 --- a/src/OpenSearch/Endpoints/Cat/Fielddata.php +++ b/src/OpenSearch/Endpoints/Cat/Fielddata.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Health.php b/src/OpenSearch/Endpoints/Cat/Health.php index b443047d7..06b4f5e56 100644 --- a/src/OpenSearch/Endpoints/Cat/Health.php +++ b/src/OpenSearch/Endpoints/Cat/Health.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Help.php b/src/OpenSearch/Endpoints/Cat/Help.php index 3089879db..6e1bb8317 100644 --- a/src/OpenSearch/Endpoints/Cat/Help.php +++ b/src/OpenSearch/Endpoints/Cat/Help.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Indices.php b/src/OpenSearch/Endpoints/Cat/Indices.php index 3bcc5942f..4006e32c2 100644 --- a/src/OpenSearch/Endpoints/Cat/Indices.php +++ b/src/OpenSearch/Endpoints/Cat/Indices.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Master.php b/src/OpenSearch/Endpoints/Cat/Master.php index 1fda838f6..9a3bf130b 100644 --- a/src/OpenSearch/Endpoints/Cat/Master.php +++ b/src/OpenSearch/Endpoints/Cat/Master.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/MlDataFrameAnalytics.php b/src/OpenSearch/Endpoints/Cat/MlDataFrameAnalytics.php deleted file mode 100644 index 50e7ee891..000000000 --- a/src/OpenSearch/Endpoints/Cat/MlDataFrameAnalytics.php +++ /dev/null @@ -1,50 +0,0 @@ -id ?? null; - - if (isset($id)) { - return "/_cat/ml/data_frame/analytics/$id"; - } - return "/_cat/ml/data_frame/analytics"; - } - - public function getParamWhitelist(): array - { - return [ - 'allow_no_match', - 'bytes', - 'format', - 'h', - 'help', - 's', - 'time', - 'v' - ]; - } - - public function getMethod(): string - { - return 'GET'; - } -} diff --git a/src/OpenSearch/Endpoints/Cat/MlDatafeeds.php b/src/OpenSearch/Endpoints/Cat/MlDatafeeds.php deleted file mode 100644 index 0bb696932..000000000 --- a/src/OpenSearch/Endpoints/Cat/MlDatafeeds.php +++ /dev/null @@ -1,62 +0,0 @@ -datafeed_id ?? null; - - if (isset($datafeed_id)) { - return "/_cat/ml/datafeeds/$datafeed_id"; - } - return "/_cat/ml/datafeeds"; - } - - public function getParamWhitelist(): array - { - return [ - 'allow_no_match', - 'allow_no_datafeeds', - 'format', - 'h', - 'help', - 's', - 'time', - 'v' - ]; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function setDatafeedId($datafeed_id): MlDatafeeds - { - if (isset($datafeed_id) !== true) { - return $this; - } - $this->datafeed_id = $datafeed_id; - - return $this; - } -} diff --git a/src/OpenSearch/Endpoints/Cat/MlJobs.php b/src/OpenSearch/Endpoints/Cat/MlJobs.php deleted file mode 100644 index a580a04af..000000000 --- a/src/OpenSearch/Endpoints/Cat/MlJobs.php +++ /dev/null @@ -1,63 +0,0 @@ -job_id ?? null; - - if (isset($job_id)) { - return "/_cat/ml/anomaly_detectors/$job_id"; - } - return "/_cat/ml/anomaly_detectors"; - } - - public function getParamWhitelist(): array - { - return [ - 'allow_no_match', - 'allow_no_jobs', - 'bytes', - 'format', - 'h', - 'help', - 's', - 'time', - 'v' - ]; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function setJobId($job_id): MlJobs - { - if (isset($job_id) !== true) { - return $this; - } - $this->job_id = $job_id; - - return $this; - } -} diff --git a/src/OpenSearch/Endpoints/Cat/MlTrainedModels.php b/src/OpenSearch/Endpoints/Cat/MlTrainedModels.php deleted file mode 100644 index a543ad0ba..000000000 --- a/src/OpenSearch/Endpoints/Cat/MlTrainedModels.php +++ /dev/null @@ -1,64 +0,0 @@ -model_id ?? null; - - if (isset($model_id)) { - return "/_cat/ml/trained_models/$model_id"; - } - return "/_cat/ml/trained_models"; - } - - public function getParamWhitelist(): array - { - return [ - 'allow_no_match', - 'from', - 'size', - 'bytes', - 'format', - 'h', - 'help', - 's', - 'time', - 'v' - ]; - } - - public function getMethod(): string - { - return 'GET'; - } - - public function setModelId($model_id): MlTrainedModels - { - if (isset($model_id) !== true) { - return $this; - } - $this->model_id = $model_id; - - return $this; - } -} diff --git a/src/OpenSearch/Endpoints/Cat/NodeAttrs.php b/src/OpenSearch/Endpoints/Cat/NodeAttrs.php index 4a86568d8..68b015a69 100644 --- a/src/OpenSearch/Endpoints/Cat/NodeAttrs.php +++ b/src/OpenSearch/Endpoints/Cat/NodeAttrs.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Nodes.php b/src/OpenSearch/Endpoints/Cat/Nodes.php index 7870d9489..d3e57a052 100644 --- a/src/OpenSearch/Endpoints/Cat/Nodes.php +++ b/src/OpenSearch/Endpoints/Cat/Nodes.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/PendingTasks.php b/src/OpenSearch/Endpoints/Cat/PendingTasks.php index d7848c28e..3a1c246d1 100644 --- a/src/OpenSearch/Endpoints/Cat/PendingTasks.php +++ b/src/OpenSearch/Endpoints/Cat/PendingTasks.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Plugins.php b/src/OpenSearch/Endpoints/Cat/Plugins.php index 126a34ea6..bb0cc2a07 100644 --- a/src/OpenSearch/Endpoints/Cat/Plugins.php +++ b/src/OpenSearch/Endpoints/Cat/Plugins.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Recovery.php b/src/OpenSearch/Endpoints/Cat/Recovery.php index 319fc4b39..0ba38fef1 100644 --- a/src/OpenSearch/Endpoints/Cat/Recovery.php +++ b/src/OpenSearch/Endpoints/Cat/Recovery.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Repositories.php b/src/OpenSearch/Endpoints/Cat/Repositories.php index b273eb329..5cad891d1 100644 --- a/src/OpenSearch/Endpoints/Cat/Repositories.php +++ b/src/OpenSearch/Endpoints/Cat/Repositories.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Segments.php b/src/OpenSearch/Endpoints/Cat/Segments.php index 9317605a0..749318379 100644 --- a/src/OpenSearch/Endpoints/Cat/Segments.php +++ b/src/OpenSearch/Endpoints/Cat/Segments.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Shards.php b/src/OpenSearch/Endpoints/Cat/Shards.php index a6c1d4f9c..3f0d989b5 100644 --- a/src/OpenSearch/Endpoints/Cat/Shards.php +++ b/src/OpenSearch/Endpoints/Cat/Shards.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Snapshots.php b/src/OpenSearch/Endpoints/Cat/Snapshots.php index 9b70139bc..88bcb93cd 100644 --- a/src/OpenSearch/Endpoints/Cat/Snapshots.php +++ b/src/OpenSearch/Endpoints/Cat/Snapshots.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Tasks.php b/src/OpenSearch/Endpoints/Cat/Tasks.php index 284b2dc3e..ba452ba8c 100644 --- a/src/OpenSearch/Endpoints/Cat/Tasks.php +++ b/src/OpenSearch/Endpoints/Cat/Tasks.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Templates.php b/src/OpenSearch/Endpoints/Cat/Templates.php index 3b3909388..7352081e5 100644 --- a/src/OpenSearch/Endpoints/Cat/Templates.php +++ b/src/OpenSearch/Endpoints/Cat/Templates.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/ThreadPool.php b/src/OpenSearch/Endpoints/Cat/ThreadPool.php index c1697060b..fdd05f582 100644 --- a/src/OpenSearch/Endpoints/Cat/ThreadPool.php +++ b/src/OpenSearch/Endpoints/Cat/ThreadPool.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/Cat/Transforms.php b/src/OpenSearch/Endpoints/Cat/Transforms.php index 277ad6903..03eb82c1e 100644 --- a/src/OpenSearch/Endpoints/Cat/Transforms.php +++ b/src/OpenSearch/Endpoints/Cat/Transforms.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cat; diff --git a/src/OpenSearch/Endpoints/ClearScroll.php b/src/OpenSearch/Endpoints/ClearScroll.php index aeedcb609..593a65f3d 100644 --- a/src/OpenSearch/Endpoints/ClearScroll.php +++ b/src/OpenSearch/Endpoints/ClearScroll.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/ClosePointInTime.php b/src/OpenSearch/Endpoints/ClosePointInTime.php index c8bed92d1..a0a1c425b 100644 --- a/src/OpenSearch/Endpoints/ClosePointInTime.php +++ b/src/OpenSearch/Endpoints/ClosePointInTime.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Cluster/AllocationExplain.php b/src/OpenSearch/Endpoints/Cluster/AllocationExplain.php index be9523f57..c299f7626 100644 --- a/src/OpenSearch/Endpoints/Cluster/AllocationExplain.php +++ b/src/OpenSearch/Endpoints/Cluster/AllocationExplain.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/DeleteComponentTemplate.php b/src/OpenSearch/Endpoints/Cluster/DeleteComponentTemplate.php index 9a67cc629..6c809a57a 100644 --- a/src/OpenSearch/Endpoints/Cluster/DeleteComponentTemplate.php +++ b/src/OpenSearch/Endpoints/Cluster/DeleteComponentTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php b/src/OpenSearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php index 8a6eda83d..8453a2f1a 100644 --- a/src/OpenSearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php +++ b/src/OpenSearch/Endpoints/Cluster/DeleteVotingConfigExclusions.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Cluster; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Cluster/ExistsComponentTemplate.php b/src/OpenSearch/Endpoints/Cluster/ExistsComponentTemplate.php index 07988154c..736966d0c 100644 --- a/src/OpenSearch/Endpoints/Cluster/ExistsComponentTemplate.php +++ b/src/OpenSearch/Endpoints/Cluster/ExistsComponentTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/GetComponentTemplate.php b/src/OpenSearch/Endpoints/Cluster/GetComponentTemplate.php index c4aabb2e6..c266ff4d2 100644 --- a/src/OpenSearch/Endpoints/Cluster/GetComponentTemplate.php +++ b/src/OpenSearch/Endpoints/Cluster/GetComponentTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/GetSettings.php b/src/OpenSearch/Endpoints/Cluster/GetSettings.php index 03c760414..4163824ea 100644 --- a/src/OpenSearch/Endpoints/Cluster/GetSettings.php +++ b/src/OpenSearch/Endpoints/Cluster/GetSettings.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/Health.php b/src/OpenSearch/Endpoints/Cluster/Health.php index 217a6fbe4..c6b367eb3 100644 --- a/src/OpenSearch/Endpoints/Cluster/Health.php +++ b/src/OpenSearch/Endpoints/Cluster/Health.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Cluster; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Cluster/PendingTasks.php b/src/OpenSearch/Endpoints/Cluster/PendingTasks.php index c84c966c6..aed72df24 100644 --- a/src/OpenSearch/Endpoints/Cluster/PendingTasks.php +++ b/src/OpenSearch/Endpoints/Cluster/PendingTasks.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/PostVotingConfigExclusions.php b/src/OpenSearch/Endpoints/Cluster/PostVotingConfigExclusions.php index b242e45f1..1eba4850e 100644 --- a/src/OpenSearch/Endpoints/Cluster/PostVotingConfigExclusions.php +++ b/src/OpenSearch/Endpoints/Cluster/PostVotingConfigExclusions.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/PutComponentTemplate.php b/src/OpenSearch/Endpoints/Cluster/PutComponentTemplate.php index 11956fdf9..da6c1bdd7 100644 --- a/src/OpenSearch/Endpoints/Cluster/PutComponentTemplate.php +++ b/src/OpenSearch/Endpoints/Cluster/PutComponentTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/PutSettings.php b/src/OpenSearch/Endpoints/Cluster/PutSettings.php index b5a9ce99b..c2a86b51e 100644 --- a/src/OpenSearch/Endpoints/Cluster/PutSettings.php +++ b/src/OpenSearch/Endpoints/Cluster/PutSettings.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/RemoteInfo.php b/src/OpenSearch/Endpoints/Cluster/RemoteInfo.php index a8e95305b..8840aab00 100644 --- a/src/OpenSearch/Endpoints/Cluster/RemoteInfo.php +++ b/src/OpenSearch/Endpoints/Cluster/RemoteInfo.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/Reroute.php b/src/OpenSearch/Endpoints/Cluster/Reroute.php index 08bf22422..080feee94 100644 --- a/src/OpenSearch/Endpoints/Cluster/Reroute.php +++ b/src/OpenSearch/Endpoints/Cluster/Reroute.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/State.php b/src/OpenSearch/Endpoints/Cluster/State.php index 50ae34558..2b247b437 100644 --- a/src/OpenSearch/Endpoints/Cluster/State.php +++ b/src/OpenSearch/Endpoints/Cluster/State.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Cluster/Stats.php b/src/OpenSearch/Endpoints/Cluster/Stats.php index 3e3671dc2..a90a53c76 100644 --- a/src/OpenSearch/Endpoints/Cluster/Stats.php +++ b/src/OpenSearch/Endpoints/Cluster/Stats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Cluster; diff --git a/src/OpenSearch/Endpoints/Count.php b/src/OpenSearch/Endpoints/Count.php index 6dbb85671..195595a71 100644 --- a/src/OpenSearch/Endpoints/Count.php +++ b/src/OpenSearch/Endpoints/Count.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Create.php b/src/OpenSearch/Endpoints/Create.php index 90fc5888c..e6698c898 100644 --- a/src/OpenSearch/Endpoints/Create.php +++ b/src/OpenSearch/Endpoints/Create.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php b/src/OpenSearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php index 6f8a5df4a..4a5fc2acc 100644 --- a/src/OpenSearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php +++ b/src/OpenSearch/Endpoints/DanglingIndices/DeleteDanglingIndex.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DanglingIndices; diff --git a/src/OpenSearch/Endpoints/DanglingIndices/ImportDanglingIndex.php b/src/OpenSearch/Endpoints/DanglingIndices/ImportDanglingIndex.php index aa2250a3a..2919c977a 100644 --- a/src/OpenSearch/Endpoints/DanglingIndices/ImportDanglingIndex.php +++ b/src/OpenSearch/Endpoints/DanglingIndices/ImportDanglingIndex.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DanglingIndices; diff --git a/src/OpenSearch/Endpoints/DanglingIndices/ListDanglingIndices.php b/src/OpenSearch/Endpoints/DanglingIndices/ListDanglingIndices.php index 600bf8c1d..b5eae7b35 100644 --- a/src/OpenSearch/Endpoints/DanglingIndices/ListDanglingIndices.php +++ b/src/OpenSearch/Endpoints/DanglingIndices/ListDanglingIndices.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DanglingIndices; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php index 34fa3aa20..72291cc6d 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/DeleteTransform.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php index 88f114b93..7a3a7ff42 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransform.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php index a71bd914b..2a596e27c 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/GetTransformStats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php index c6513db76..9ab4afdf4 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PreviewTransform.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php index a4d704eac..eac947996 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/PutTransform.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php index a448e18f9..ece50f574 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StartTransform.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php index 87e6d0fb8..044b4bdd2 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/StopTransform.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php index 12251ed9e..afb40645d 100644 --- a/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php +++ b/src/OpenSearch/Endpoints/DataFrameTransformDeprecated/UpdateTransform.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\DataFrameTransformDeprecated; diff --git a/src/OpenSearch/Endpoints/Delete.php b/src/OpenSearch/Endpoints/Delete.php index e53d1c8c5..5d1e83cd0 100644 --- a/src/OpenSearch/Endpoints/Delete.php +++ b/src/OpenSearch/Endpoints/Delete.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/DeleteByQuery.php b/src/OpenSearch/Endpoints/DeleteByQuery.php index 478b1d86e..13944da01 100644 --- a/src/OpenSearch/Endpoints/DeleteByQuery.php +++ b/src/OpenSearch/Endpoints/DeleteByQuery.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/DeleteByQueryRethrottle.php b/src/OpenSearch/Endpoints/DeleteByQueryRethrottle.php index 87f1350e5..c55c7b1bf 100644 --- a/src/OpenSearch/Endpoints/DeleteByQueryRethrottle.php +++ b/src/OpenSearch/Endpoints/DeleteByQueryRethrottle.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/DeleteScript.php b/src/OpenSearch/Endpoints/DeleteScript.php index f391b5cee..ffdb11b79 100644 --- a/src/OpenSearch/Endpoints/DeleteScript.php +++ b/src/OpenSearch/Endpoints/DeleteScript.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Exists.php b/src/OpenSearch/Endpoints/Exists.php index 3c353bf7f..c5bb74acf 100644 --- a/src/OpenSearch/Endpoints/Exists.php +++ b/src/OpenSearch/Endpoints/Exists.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/ExistsSource.php b/src/OpenSearch/Endpoints/ExistsSource.php index 5375ff329..aff368de6 100644 --- a/src/OpenSearch/Endpoints/ExistsSource.php +++ b/src/OpenSearch/Endpoints/ExistsSource.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Explain.php b/src/OpenSearch/Endpoints/Explain.php index 4598d5563..2b449599d 100644 --- a/src/OpenSearch/Endpoints/Explain.php +++ b/src/OpenSearch/Endpoints/Explain.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/FieldCaps.php b/src/OpenSearch/Endpoints/FieldCaps.php index 2d8c5c04c..df421a83e 100644 --- a/src/OpenSearch/Endpoints/FieldCaps.php +++ b/src/OpenSearch/Endpoints/FieldCaps.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Get.php b/src/OpenSearch/Endpoints/Get.php index 2ca75a532..f96584fa2 100644 --- a/src/OpenSearch/Endpoints/Get.php +++ b/src/OpenSearch/Endpoints/Get.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/GetScript.php b/src/OpenSearch/Endpoints/GetScript.php index ef67c1a81..f7b34b3e0 100644 --- a/src/OpenSearch/Endpoints/GetScript.php +++ b/src/OpenSearch/Endpoints/GetScript.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/GetScriptContext.php b/src/OpenSearch/Endpoints/GetScriptContext.php index c0ba028b8..a183674bd 100644 --- a/src/OpenSearch/Endpoints/GetScriptContext.php +++ b/src/OpenSearch/Endpoints/GetScriptContext.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/GetScriptLanguages.php b/src/OpenSearch/Endpoints/GetScriptLanguages.php index 74dd4c72f..d71c76d07 100644 --- a/src/OpenSearch/Endpoints/GetScriptLanguages.php +++ b/src/OpenSearch/Endpoints/GetScriptLanguages.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/GetSource.php b/src/OpenSearch/Endpoints/GetSource.php index 56b9b3365..8a330707f 100644 --- a/src/OpenSearch/Endpoints/GetSource.php +++ b/src/OpenSearch/Endpoints/GetSource.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Index.php b/src/OpenSearch/Endpoints/Index.php index a29534745..9d148264d 100644 --- a/src/OpenSearch/Endpoints/Index.php +++ b/src/OpenSearch/Endpoints/Index.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Indices/AddBlock.php b/src/OpenSearch/Endpoints/Indices/AddBlock.php index 6d801a8a6..285a5ca30 100644 --- a/src/OpenSearch/Endpoints/Indices/AddBlock.php +++ b/src/OpenSearch/Endpoints/Indices/AddBlock.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Analyze.php b/src/OpenSearch/Endpoints/Indices/Analyze.php index 3128bd363..087c96cb6 100644 --- a/src/OpenSearch/Endpoints/Indices/Analyze.php +++ b/src/OpenSearch/Endpoints/Indices/Analyze.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ClearCache.php b/src/OpenSearch/Endpoints/Indices/ClearCache.php index 92001eb7b..88090f70e 100644 --- a/src/OpenSearch/Endpoints/Indices/ClearCache.php +++ b/src/OpenSearch/Endpoints/Indices/ClearCache.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Indices/CloneIndices.php b/src/OpenSearch/Endpoints/Indices/CloneIndices.php index 12eb29569..fd3337c6b 100644 --- a/src/OpenSearch/Endpoints/Indices/CloneIndices.php +++ b/src/OpenSearch/Endpoints/Indices/CloneIndices.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Close.php b/src/OpenSearch/Endpoints/Indices/Close.php index 03fb77c60..02cf999a2 100644 --- a/src/OpenSearch/Endpoints/Indices/Close.php +++ b/src/OpenSearch/Endpoints/Indices/Close.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Create.php b/src/OpenSearch/Endpoints/Indices/Create.php index b9b25efea..b93c22dc2 100644 --- a/src/OpenSearch/Endpoints/Indices/Create.php +++ b/src/OpenSearch/Endpoints/Indices/Create.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/CreateDataStream.php b/src/OpenSearch/Endpoints/Indices/CreateDataStream.php index 85189abf3..6aae66b4d 100644 --- a/src/OpenSearch/Endpoints/Indices/CreateDataStream.php +++ b/src/OpenSearch/Endpoints/Indices/CreateDataStream.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/DataStreamsStats.php b/src/OpenSearch/Endpoints/Indices/DataStreamsStats.php index 40ae71686..d45970c01 100644 --- a/src/OpenSearch/Endpoints/Indices/DataStreamsStats.php +++ b/src/OpenSearch/Endpoints/Indices/DataStreamsStats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Delete.php b/src/OpenSearch/Endpoints/Indices/Delete.php index e3870de75..4161e6401 100644 --- a/src/OpenSearch/Endpoints/Indices/Delete.php +++ b/src/OpenSearch/Endpoints/Indices/Delete.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/DeleteAlias.php b/src/OpenSearch/Endpoints/Indices/DeleteAlias.php index 34b8fbdc7..dbe010c45 100644 --- a/src/OpenSearch/Endpoints/Indices/DeleteAlias.php +++ b/src/OpenSearch/Endpoints/Indices/DeleteAlias.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/DeleteDataStream.php b/src/OpenSearch/Endpoints/Indices/DeleteDataStream.php index d44173edb..969124743 100644 --- a/src/OpenSearch/Endpoints/Indices/DeleteDataStream.php +++ b/src/OpenSearch/Endpoints/Indices/DeleteDataStream.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/DeleteIndexTemplate.php b/src/OpenSearch/Endpoints/Indices/DeleteIndexTemplate.php index b4fcfc92b..794e90784 100644 --- a/src/OpenSearch/Endpoints/Indices/DeleteIndexTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/DeleteIndexTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/DeleteTemplate.php b/src/OpenSearch/Endpoints/Indices/DeleteTemplate.php index 8ddf15112..c47c03d68 100644 --- a/src/OpenSearch/Endpoints/Indices/DeleteTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/DeleteTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Exists.php b/src/OpenSearch/Endpoints/Indices/Exists.php index 71bb0a6cc..104c179e5 100644 --- a/src/OpenSearch/Endpoints/Indices/Exists.php +++ b/src/OpenSearch/Endpoints/Indices/Exists.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ExistsAlias.php b/src/OpenSearch/Endpoints/Indices/ExistsAlias.php index 4fae40b58..81d57354f 100644 --- a/src/OpenSearch/Endpoints/Indices/ExistsAlias.php +++ b/src/OpenSearch/Endpoints/Indices/ExistsAlias.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/src/OpenSearch/Endpoints/Indices/ExistsIndexTemplate.php b/src/OpenSearch/Endpoints/Indices/ExistsIndexTemplate.php index fcb1d7ff3..dc38ce98c 100644 --- a/src/OpenSearch/Endpoints/Indices/ExistsIndexTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/ExistsIndexTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ExistsTemplate.php b/src/OpenSearch/Endpoints/Indices/ExistsTemplate.php index 928be05e2..d4a701c7e 100644 --- a/src/OpenSearch/Endpoints/Indices/ExistsTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/ExistsTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ExistsType.php b/src/OpenSearch/Endpoints/Indices/ExistsType.php index 2a85e9d92..3d0ca91ec 100644 --- a/src/OpenSearch/Endpoints/Indices/ExistsType.php +++ b/src/OpenSearch/Endpoints/Indices/ExistsType.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Flush.php b/src/OpenSearch/Endpoints/Indices/Flush.php index 3a6b6cc99..88e81f8f2 100644 --- a/src/OpenSearch/Endpoints/Indices/Flush.php +++ b/src/OpenSearch/Endpoints/Indices/Flush.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/FlushSynced.php b/src/OpenSearch/Endpoints/Indices/FlushSynced.php index c18fdfde5..6eaac1872 100644 --- a/src/OpenSearch/Endpoints/Indices/FlushSynced.php +++ b/src/OpenSearch/Endpoints/Indices/FlushSynced.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ForceMerge.php b/src/OpenSearch/Endpoints/Indices/ForceMerge.php index 8b74a8d93..d2d10911e 100644 --- a/src/OpenSearch/Endpoints/Indices/ForceMerge.php +++ b/src/OpenSearch/Endpoints/Indices/ForceMerge.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Indices/Freeze.php b/src/OpenSearch/Endpoints/Indices/Freeze.php index 2a9ec9114..23563ddad 100644 --- a/src/OpenSearch/Endpoints/Indices/Freeze.php +++ b/src/OpenSearch/Endpoints/Indices/Freeze.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Get.php b/src/OpenSearch/Endpoints/Indices/Get.php index e09763790..18eb314d7 100644 --- a/src/OpenSearch/Endpoints/Indices/Get.php +++ b/src/OpenSearch/Endpoints/Indices/Get.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetAlias.php b/src/OpenSearch/Endpoints/Indices/GetAlias.php index fd67d2e50..c6c391f6a 100644 --- a/src/OpenSearch/Endpoints/Indices/GetAlias.php +++ b/src/OpenSearch/Endpoints/Indices/GetAlias.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetDataStream.php b/src/OpenSearch/Endpoints/Indices/GetDataStream.php index e13fde110..c2baa1c26 100644 --- a/src/OpenSearch/Endpoints/Indices/GetDataStream.php +++ b/src/OpenSearch/Endpoints/Indices/GetDataStream.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetFieldMapping.php b/src/OpenSearch/Endpoints/Indices/GetFieldMapping.php index 8b3428aa0..7d8923a01 100644 --- a/src/OpenSearch/Endpoints/Indices/GetFieldMapping.php +++ b/src/OpenSearch/Endpoints/Indices/GetFieldMapping.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetIndexTemplate.php b/src/OpenSearch/Endpoints/Indices/GetIndexTemplate.php index 85d89797f..2f461bc29 100644 --- a/src/OpenSearch/Endpoints/Indices/GetIndexTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/GetIndexTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetMapping.php b/src/OpenSearch/Endpoints/Indices/GetMapping.php index 41875c9fc..e0c7ca1b7 100644 --- a/src/OpenSearch/Endpoints/Indices/GetMapping.php +++ b/src/OpenSearch/Endpoints/Indices/GetMapping.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetSettings.php b/src/OpenSearch/Endpoints/Indices/GetSettings.php index 8ecd97f5f..9e04c61b3 100644 --- a/src/OpenSearch/Endpoints/Indices/GetSettings.php +++ b/src/OpenSearch/Endpoints/Indices/GetSettings.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Indices/GetTemplate.php b/src/OpenSearch/Endpoints/Indices/GetTemplate.php index f51a70423..16dd1d000 100644 --- a/src/OpenSearch/Endpoints/Indices/GetTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/GetTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/GetUpgrade.php b/src/OpenSearch/Endpoints/Indices/GetUpgrade.php index c60898159..5b3d2cef9 100644 --- a/src/OpenSearch/Endpoints/Indices/GetUpgrade.php +++ b/src/OpenSearch/Endpoints/Indices/GetUpgrade.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Open.php b/src/OpenSearch/Endpoints/Indices/Open.php index 70a8b18f9..8ae1d1956 100644 --- a/src/OpenSearch/Endpoints/Indices/Open.php +++ b/src/OpenSearch/Endpoints/Indices/Open.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/src/OpenSearch/Endpoints/Indices/PutAlias.php b/src/OpenSearch/Endpoints/Indices/PutAlias.php index 0e47b03cd..ce9af7a43 100644 --- a/src/OpenSearch/Endpoints/Indices/PutAlias.php +++ b/src/OpenSearch/Endpoints/Indices/PutAlias.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/PutIndexTemplate.php b/src/OpenSearch/Endpoints/Indices/PutIndexTemplate.php index 73733a3e0..78f606471 100644 --- a/src/OpenSearch/Endpoints/Indices/PutIndexTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/PutIndexTemplate.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/src/OpenSearch/Endpoints/Indices/PutMapping.php b/src/OpenSearch/Endpoints/Indices/PutMapping.php index 4d267440a..92e738ad9 100644 --- a/src/OpenSearch/Endpoints/Indices/PutMapping.php +++ b/src/OpenSearch/Endpoints/Indices/PutMapping.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/PutSettings.php b/src/OpenSearch/Endpoints/Indices/PutSettings.php index 4102074aa..0061d86a5 100644 --- a/src/OpenSearch/Endpoints/Indices/PutSettings.php +++ b/src/OpenSearch/Endpoints/Indices/PutSettings.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/PutTemplate.php b/src/OpenSearch/Endpoints/Indices/PutTemplate.php index cb8b11ed2..116322e0b 100644 --- a/src/OpenSearch/Endpoints/Indices/PutTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/PutTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Recovery.php b/src/OpenSearch/Endpoints/Indices/Recovery.php index 8129a5c2f..34002dda2 100644 --- a/src/OpenSearch/Endpoints/Indices/Recovery.php +++ b/src/OpenSearch/Endpoints/Indices/Recovery.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Refresh.php b/src/OpenSearch/Endpoints/Indices/Refresh.php index f0d0acc1a..58d7ae6a2 100644 --- a/src/OpenSearch/Endpoints/Indices/Refresh.php +++ b/src/OpenSearch/Endpoints/Indices/Refresh.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Endpoints\AbstractEndpoint; diff --git a/src/OpenSearch/Endpoints/Indices/ReloadSearchAnalyzers.php b/src/OpenSearch/Endpoints/Indices/ReloadSearchAnalyzers.php index 359644c0f..dbdb1185c 100644 --- a/src/OpenSearch/Endpoints/Indices/ReloadSearchAnalyzers.php +++ b/src/OpenSearch/Endpoints/Indices/ReloadSearchAnalyzers.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ResolveIndex.php b/src/OpenSearch/Endpoints/Indices/ResolveIndex.php index 5d0d2e787..bccc5e0d9 100644 --- a/src/OpenSearch/Endpoints/Indices/ResolveIndex.php +++ b/src/OpenSearch/Endpoints/Indices/ResolveIndex.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Rollover.php b/src/OpenSearch/Endpoints/Indices/Rollover.php index fb4fac3d9..a943f6f08 100644 --- a/src/OpenSearch/Endpoints/Indices/Rollover.php +++ b/src/OpenSearch/Endpoints/Indices/Rollover.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Segments.php b/src/OpenSearch/Endpoints/Indices/Segments.php index e9d34a127..464bc245a 100644 --- a/src/OpenSearch/Endpoints/Indices/Segments.php +++ b/src/OpenSearch/Endpoints/Indices/Segments.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ShardStores.php b/src/OpenSearch/Endpoints/Indices/ShardStores.php index 99c3be6b1..484cd5d47 100644 --- a/src/OpenSearch/Endpoints/Indices/ShardStores.php +++ b/src/OpenSearch/Endpoints/Indices/ShardStores.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Shrink.php b/src/OpenSearch/Endpoints/Indices/Shrink.php index e25168244..c645227bf 100644 --- a/src/OpenSearch/Endpoints/Indices/Shrink.php +++ b/src/OpenSearch/Endpoints/Indices/Shrink.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/SimulateIndexTemplate.php b/src/OpenSearch/Endpoints/Indices/SimulateIndexTemplate.php index d1058cdbf..790bb2bd4 100644 --- a/src/OpenSearch/Endpoints/Indices/SimulateIndexTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/SimulateIndexTemplate.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Endpoints\Indices; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/src/OpenSearch/Endpoints/Indices/SimulateTemplate.php b/src/OpenSearch/Endpoints/Indices/SimulateTemplate.php index 13de9dde1..98a21d4e4 100644 --- a/src/OpenSearch/Endpoints/Indices/SimulateTemplate.php +++ b/src/OpenSearch/Endpoints/Indices/SimulateTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Split.php b/src/OpenSearch/Endpoints/Indices/Split.php index 9960d1af4..e662fca0c 100644 --- a/src/OpenSearch/Endpoints/Indices/Split.php +++ b/src/OpenSearch/Endpoints/Indices/Split.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Stats.php b/src/OpenSearch/Endpoints/Indices/Stats.php index 518eb5da6..671ead94a 100644 --- a/src/OpenSearch/Endpoints/Indices/Stats.php +++ b/src/OpenSearch/Endpoints/Indices/Stats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Unfreeze.php b/src/OpenSearch/Endpoints/Indices/Unfreeze.php index 8555dc059..df5ff4bef 100644 --- a/src/OpenSearch/Endpoints/Indices/Unfreeze.php +++ b/src/OpenSearch/Endpoints/Indices/Unfreeze.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/UpdateAliases.php b/src/OpenSearch/Endpoints/Indices/UpdateAliases.php index 423c30ec3..2e41400a8 100644 --- a/src/OpenSearch/Endpoints/Indices/UpdateAliases.php +++ b/src/OpenSearch/Endpoints/Indices/UpdateAliases.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/Upgrade.php b/src/OpenSearch/Endpoints/Indices/Upgrade.php index 48aa6df58..aaf85bbe7 100644 --- a/src/OpenSearch/Endpoints/Indices/Upgrade.php +++ b/src/OpenSearch/Endpoints/Indices/Upgrade.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Indices/ValidateQuery.php b/src/OpenSearch/Endpoints/Indices/ValidateQuery.php index 10b196557..b1e8d2db5 100644 --- a/src/OpenSearch/Endpoints/Indices/ValidateQuery.php +++ b/src/OpenSearch/Endpoints/Indices/ValidateQuery.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Indices; diff --git a/src/OpenSearch/Endpoints/Info.php b/src/OpenSearch/Endpoints/Info.php index 13fd20e67..fc3b8821f 100644 --- a/src/OpenSearch/Endpoints/Info.php +++ b/src/OpenSearch/Endpoints/Info.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Ingest/DeletePipeline.php b/src/OpenSearch/Endpoints/Ingest/DeletePipeline.php index 4b88295fa..8077904a7 100644 --- a/src/OpenSearch/Endpoints/Ingest/DeletePipeline.php +++ b/src/OpenSearch/Endpoints/Ingest/DeletePipeline.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Ingest; diff --git a/src/OpenSearch/Endpoints/Ingest/GetPipeline.php b/src/OpenSearch/Endpoints/Ingest/GetPipeline.php index 5126d7370..9058c26a3 100644 --- a/src/OpenSearch/Endpoints/Ingest/GetPipeline.php +++ b/src/OpenSearch/Endpoints/Ingest/GetPipeline.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Ingest; diff --git a/src/OpenSearch/Endpoints/Ingest/ProcessorGrok.php b/src/OpenSearch/Endpoints/Ingest/ProcessorGrok.php index 1a12a7224..e03f556b7 100644 --- a/src/OpenSearch/Endpoints/Ingest/ProcessorGrok.php +++ b/src/OpenSearch/Endpoints/Ingest/ProcessorGrok.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Ingest; diff --git a/src/OpenSearch/Endpoints/Ingest/PutPipeline.php b/src/OpenSearch/Endpoints/Ingest/PutPipeline.php index a5eceb61f..b41f7f48d 100644 --- a/src/OpenSearch/Endpoints/Ingest/PutPipeline.php +++ b/src/OpenSearch/Endpoints/Ingest/PutPipeline.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Ingest; diff --git a/src/OpenSearch/Endpoints/Ingest/Simulate.php b/src/OpenSearch/Endpoints/Ingest/Simulate.php index 38a08f583..92bf7eed8 100644 --- a/src/OpenSearch/Endpoints/Ingest/Simulate.php +++ b/src/OpenSearch/Endpoints/Ingest/Simulate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Ingest; diff --git a/src/OpenSearch/Endpoints/MTermVectors.php b/src/OpenSearch/Endpoints/MTermVectors.php index 9db613bc5..dac066c2a 100644 --- a/src/OpenSearch/Endpoints/MTermVectors.php +++ b/src/OpenSearch/Endpoints/MTermVectors.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Mget.php b/src/OpenSearch/Endpoints/Mget.php index 7f3987fdf..d286b80f5 100644 --- a/src/OpenSearch/Endpoints/Mget.php +++ b/src/OpenSearch/Endpoints/Mget.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Monitoring/Bulk.php b/src/OpenSearch/Endpoints/Monitoring/Bulk.php index b539d85ef..d29ca9e56 100644 --- a/src/OpenSearch/Endpoints/Monitoring/Bulk.php +++ b/src/OpenSearch/Endpoints/Monitoring/Bulk.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Monitoring; diff --git a/src/OpenSearch/Endpoints/Msearch.php b/src/OpenSearch/Endpoints/Msearch.php index c5c246bcd..ae9a44f67 100644 --- a/src/OpenSearch/Endpoints/Msearch.php +++ b/src/OpenSearch/Endpoints/Msearch.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/MsearchTemplate.php b/src/OpenSearch/Endpoints/MsearchTemplate.php index 53b7a391f..9d1fb4b88 100644 --- a/src/OpenSearch/Endpoints/MsearchTemplate.php +++ b/src/OpenSearch/Endpoints/MsearchTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Nodes/HotThreads.php b/src/OpenSearch/Endpoints/Nodes/HotThreads.php index 41bed361d..cee748cb1 100644 --- a/src/OpenSearch/Endpoints/Nodes/HotThreads.php +++ b/src/OpenSearch/Endpoints/Nodes/HotThreads.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Nodes; diff --git a/src/OpenSearch/Endpoints/Nodes/Info.php b/src/OpenSearch/Endpoints/Nodes/Info.php index edd1f7ac9..985d79ba2 100644 --- a/src/OpenSearch/Endpoints/Nodes/Info.php +++ b/src/OpenSearch/Endpoints/Nodes/Info.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Nodes; diff --git a/src/OpenSearch/Endpoints/Nodes/ReloadSecureSettings.php b/src/OpenSearch/Endpoints/Nodes/ReloadSecureSettings.php index 0204d3e28..c56fef6ec 100644 --- a/src/OpenSearch/Endpoints/Nodes/ReloadSecureSettings.php +++ b/src/OpenSearch/Endpoints/Nodes/ReloadSecureSettings.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Nodes; diff --git a/src/OpenSearch/Endpoints/Nodes/Stats.php b/src/OpenSearch/Endpoints/Nodes/Stats.php index 1304f70f7..bf28fa07a 100644 --- a/src/OpenSearch/Endpoints/Nodes/Stats.php +++ b/src/OpenSearch/Endpoints/Nodes/Stats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Nodes; diff --git a/src/OpenSearch/Endpoints/Nodes/Usage.php b/src/OpenSearch/Endpoints/Nodes/Usage.php index 351d1e98f..ca864da9d 100644 --- a/src/OpenSearch/Endpoints/Nodes/Usage.php +++ b/src/OpenSearch/Endpoints/Nodes/Usage.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Nodes; diff --git a/src/OpenSearch/Endpoints/OpenPointInTime.php b/src/OpenSearch/Endpoints/OpenPointInTime.php index 783d6300e..9705e0ca4 100644 --- a/src/OpenSearch/Endpoints/OpenPointInTime.php +++ b/src/OpenSearch/Endpoints/OpenPointInTime.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Ping.php b/src/OpenSearch/Endpoints/Ping.php index 703d198b6..4e562ffcf 100644 --- a/src/OpenSearch/Endpoints/Ping.php +++ b/src/OpenSearch/Endpoints/Ping.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/PutScript.php b/src/OpenSearch/Endpoints/PutScript.php index b344d1cfa..d209f017a 100644 --- a/src/OpenSearch/Endpoints/PutScript.php +++ b/src/OpenSearch/Endpoints/PutScript.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/RankEval.php b/src/OpenSearch/Endpoints/RankEval.php index 7f9036b98..a128da03d 100644 --- a/src/OpenSearch/Endpoints/RankEval.php +++ b/src/OpenSearch/Endpoints/RankEval.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Reindex.php b/src/OpenSearch/Endpoints/Reindex.php index 1b32d715d..b90fefaf6 100644 --- a/src/OpenSearch/Endpoints/Reindex.php +++ b/src/OpenSearch/Endpoints/Reindex.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/ReindexRethrottle.php b/src/OpenSearch/Endpoints/ReindexRethrottle.php index b574bf46f..4a5d3598a 100644 --- a/src/OpenSearch/Endpoints/ReindexRethrottle.php +++ b/src/OpenSearch/Endpoints/ReindexRethrottle.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/RenderSearchTemplate.php b/src/OpenSearch/Endpoints/RenderSearchTemplate.php index 1a855e7d1..a31647ab3 100644 --- a/src/OpenSearch/Endpoints/RenderSearchTemplate.php +++ b/src/OpenSearch/Endpoints/RenderSearchTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/ScriptsPainlessExecute.php b/src/OpenSearch/Endpoints/ScriptsPainlessExecute.php index 1bd122d0a..b5fc62e74 100644 --- a/src/OpenSearch/Endpoints/ScriptsPainlessExecute.php +++ b/src/OpenSearch/Endpoints/ScriptsPainlessExecute.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Scroll.php b/src/OpenSearch/Endpoints/Scroll.php index 2cb65d53a..c933f5b43 100644 --- a/src/OpenSearch/Endpoints/Scroll.php +++ b/src/OpenSearch/Endpoints/Scroll.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Search.php b/src/OpenSearch/Endpoints/Search.php index e2c9702d2..aabc80aa3 100644 --- a/src/OpenSearch/Endpoints/Search.php +++ b/src/OpenSearch/Endpoints/Search.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/SearchShards.php b/src/OpenSearch/Endpoints/SearchShards.php index 550712477..39fbd96eb 100644 --- a/src/OpenSearch/Endpoints/SearchShards.php +++ b/src/OpenSearch/Endpoints/SearchShards.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/SearchTemplate.php b/src/OpenSearch/Endpoints/SearchTemplate.php index edd5e97b9..e918b62e4 100644 --- a/src/OpenSearch/Endpoints/SearchTemplate.php +++ b/src/OpenSearch/Endpoints/SearchTemplate.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/SearchableSnapshots/ClearCache.php b/src/OpenSearch/Endpoints/SearchableSnapshots/ClearCache.php index 4168abb19..540cb81df 100644 --- a/src/OpenSearch/Endpoints/SearchableSnapshots/ClearCache.php +++ b/src/OpenSearch/Endpoints/SearchableSnapshots/ClearCache.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\SearchableSnapshots; diff --git a/src/OpenSearch/Endpoints/SearchableSnapshots/Mount.php b/src/OpenSearch/Endpoints/SearchableSnapshots/Mount.php index 4fb64ca7a..e84e055ae 100644 --- a/src/OpenSearch/Endpoints/SearchableSnapshots/Mount.php +++ b/src/OpenSearch/Endpoints/SearchableSnapshots/Mount.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\SearchableSnapshots; diff --git a/src/OpenSearch/Endpoints/SearchableSnapshots/RepositoryStats.php b/src/OpenSearch/Endpoints/SearchableSnapshots/RepositoryStats.php index cbb855114..a30ebf471 100644 --- a/src/OpenSearch/Endpoints/SearchableSnapshots/RepositoryStats.php +++ b/src/OpenSearch/Endpoints/SearchableSnapshots/RepositoryStats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\SearchableSnapshots; diff --git a/src/OpenSearch/Endpoints/SearchableSnapshots/Stats.php b/src/OpenSearch/Endpoints/SearchableSnapshots/Stats.php index 7389a377d..2f36caaa1 100644 --- a/src/OpenSearch/Endpoints/SearchableSnapshots/Stats.php +++ b/src/OpenSearch/Endpoints/SearchableSnapshots/Stats.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\SearchableSnapshots; diff --git a/src/OpenSearch/Endpoints/Snapshot/CleanupRepository.php b/src/OpenSearch/Endpoints/Snapshot/CleanupRepository.php index febdf1091..902d75d8b 100644 --- a/src/OpenSearch/Endpoints/Snapshot/CleanupRepository.php +++ b/src/OpenSearch/Endpoints/Snapshot/CleanupRepository.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/CloneSnapshot.php b/src/OpenSearch/Endpoints/Snapshot/CloneSnapshot.php index 4b0115b22..41f12117f 100644 --- a/src/OpenSearch/Endpoints/Snapshot/CloneSnapshot.php +++ b/src/OpenSearch/Endpoints/Snapshot/CloneSnapshot.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/Create.php b/src/OpenSearch/Endpoints/Snapshot/Create.php index e8ca9bcc1..371fd97eb 100644 --- a/src/OpenSearch/Endpoints/Snapshot/Create.php +++ b/src/OpenSearch/Endpoints/Snapshot/Create.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/CreateRepository.php b/src/OpenSearch/Endpoints/Snapshot/CreateRepository.php index 30e9695a2..cd9adf990 100644 --- a/src/OpenSearch/Endpoints/Snapshot/CreateRepository.php +++ b/src/OpenSearch/Endpoints/Snapshot/CreateRepository.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/Delete.php b/src/OpenSearch/Endpoints/Snapshot/Delete.php index 82a1e551a..35a3445f0 100644 --- a/src/OpenSearch/Endpoints/Snapshot/Delete.php +++ b/src/OpenSearch/Endpoints/Snapshot/Delete.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/DeleteRepository.php b/src/OpenSearch/Endpoints/Snapshot/DeleteRepository.php index d6e8295d5..0ce24e2a9 100644 --- a/src/OpenSearch/Endpoints/Snapshot/DeleteRepository.php +++ b/src/OpenSearch/Endpoints/Snapshot/DeleteRepository.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/Get.php b/src/OpenSearch/Endpoints/Snapshot/Get.php index 828e9d9db..7396a9bef 100644 --- a/src/OpenSearch/Endpoints/Snapshot/Get.php +++ b/src/OpenSearch/Endpoints/Snapshot/Get.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/GetRepository.php b/src/OpenSearch/Endpoints/Snapshot/GetRepository.php index 8f5c0ece2..1b1923a98 100644 --- a/src/OpenSearch/Endpoints/Snapshot/GetRepository.php +++ b/src/OpenSearch/Endpoints/Snapshot/GetRepository.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/Restore.php b/src/OpenSearch/Endpoints/Snapshot/Restore.php index deeb6c829..cd31f6882 100644 --- a/src/OpenSearch/Endpoints/Snapshot/Restore.php +++ b/src/OpenSearch/Endpoints/Snapshot/Restore.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/Status.php b/src/OpenSearch/Endpoints/Snapshot/Status.php index 71f9f25c7..03b263e38 100644 --- a/src/OpenSearch/Endpoints/Snapshot/Status.php +++ b/src/OpenSearch/Endpoints/Snapshot/Status.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Snapshot/VerifyRepository.php b/src/OpenSearch/Endpoints/Snapshot/VerifyRepository.php index 380faafc0..0ec51f7c3 100644 --- a/src/OpenSearch/Endpoints/Snapshot/VerifyRepository.php +++ b/src/OpenSearch/Endpoints/Snapshot/VerifyRepository.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Snapshot; diff --git a/src/OpenSearch/Endpoints/Ssl/Certificates.php b/src/OpenSearch/Endpoints/Ssl/Certificates.php index 164b60013..69dd70f52 100644 --- a/src/OpenSearch/Endpoints/Ssl/Certificates.php +++ b/src/OpenSearch/Endpoints/Ssl/Certificates.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Ssl; diff --git a/src/OpenSearch/Endpoints/Tasks/Cancel.php b/src/OpenSearch/Endpoints/Tasks/Cancel.php index 9afba6dff..de81946a5 100644 --- a/src/OpenSearch/Endpoints/Tasks/Cancel.php +++ b/src/OpenSearch/Endpoints/Tasks/Cancel.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Tasks; diff --git a/src/OpenSearch/Endpoints/Tasks/Get.php b/src/OpenSearch/Endpoints/Tasks/Get.php index b15d7ea95..38140b298 100644 --- a/src/OpenSearch/Endpoints/Tasks/Get.php +++ b/src/OpenSearch/Endpoints/Tasks/Get.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Tasks; diff --git a/src/OpenSearch/Endpoints/Tasks/ListTasks.php b/src/OpenSearch/Endpoints/Tasks/ListTasks.php index 5bcd2ac21..3429ff2f6 100644 --- a/src/OpenSearch/Endpoints/Tasks/ListTasks.php +++ b/src/OpenSearch/Endpoints/Tasks/ListTasks.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints\Tasks; diff --git a/src/OpenSearch/Endpoints/TermVectors.php b/src/OpenSearch/Endpoints/TermVectors.php index 4004d240b..526d0dfd5 100644 --- a/src/OpenSearch/Endpoints/TermVectors.php +++ b/src/OpenSearch/Endpoints/TermVectors.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/Update.php b/src/OpenSearch/Endpoints/Update.php index 3baa0ccdc..83639ca74 100644 --- a/src/OpenSearch/Endpoints/Update.php +++ b/src/OpenSearch/Endpoints/Update.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/UpdateByQuery.php b/src/OpenSearch/Endpoints/UpdateByQuery.php index cfca8ce8c..40deac1bd 100644 --- a/src/OpenSearch/Endpoints/UpdateByQuery.php +++ b/src/OpenSearch/Endpoints/UpdateByQuery.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Endpoints/UpdateByQueryRethrottle.php b/src/OpenSearch/Endpoints/UpdateByQueryRethrottle.php index f7ed5201c..7ce3b80fc 100644 --- a/src/OpenSearch/Endpoints/UpdateByQueryRethrottle.php +++ b/src/OpenSearch/Endpoints/UpdateByQueryRethrottle.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Endpoints; diff --git a/src/OpenSearch/Helper/Iterators/SearchHitIterator.php b/src/OpenSearch/Helper/Iterators/SearchHitIterator.php index bc917dce5..c6f6381da 100644 --- a/src/OpenSearch/Helper/Iterators/SearchHitIterator.php +++ b/src/OpenSearch/Helper/Iterators/SearchHitIterator.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Helper\Iterators; diff --git a/src/OpenSearch/Helper/Iterators/SearchResponseIterator.php b/src/OpenSearch/Helper/Iterators/SearchResponseIterator.php index fc40819e2..2a45b8fa0 100644 --- a/src/OpenSearch/Helper/Iterators/SearchResponseIterator.php +++ b/src/OpenSearch/Helper/Iterators/SearchResponseIterator.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Helper\Iterators; diff --git a/src/OpenSearch/Namespaces/AbstractNamespace.php b/src/OpenSearch/Namespaces/AbstractNamespace.php index c04d1a17f..b65f97779 100644 --- a/src/OpenSearch/Namespaces/AbstractNamespace.php +++ b/src/OpenSearch/Namespaces/AbstractNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/AsyncSearchNamespace.php b/src/OpenSearch/Namespaces/AsyncSearchNamespace.php index 3d83406d1..29275b2ca 100644 --- a/src/OpenSearch/Namespaces/AsyncSearchNamespace.php +++ b/src/OpenSearch/Namespaces/AsyncSearchNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/BooleanRequestWrapper.php b/src/OpenSearch/Namespaces/BooleanRequestWrapper.php index 52de70efd..a013e0d29 100644 --- a/src/OpenSearch/Namespaces/BooleanRequestWrapper.php +++ b/src/OpenSearch/Namespaces/BooleanRequestWrapper.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/CatNamespace.php b/src/OpenSearch/Namespaces/CatNamespace.php index 73d4877d7..a61d271ca 100644 --- a/src/OpenSearch/Namespaces/CatNamespace.php +++ b/src/OpenSearch/Namespaces/CatNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/ClusterNamespace.php b/src/OpenSearch/Namespaces/ClusterNamespace.php index 76b9b5087..55aeebe44 100644 --- a/src/OpenSearch/Namespaces/ClusterNamespace.php +++ b/src/OpenSearch/Namespaces/ClusterNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php b/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php index ddb3e2ec4..f5e515bb1 100644 --- a/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php +++ b/src/OpenSearch/Namespaces/DanglingIndicesNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php b/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php index 44dc2a520..d5011d995 100644 --- a/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php +++ b/src/OpenSearch/Namespaces/DataFrameTransformDeprecatedNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/IndicesNamespace.php b/src/OpenSearch/Namespaces/IndicesNamespace.php index 4c73a4f18..8bc80e65f 100644 --- a/src/OpenSearch/Namespaces/IndicesNamespace.php +++ b/src/OpenSearch/Namespaces/IndicesNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/IngestNamespace.php b/src/OpenSearch/Namespaces/IngestNamespace.php index 24077a319..9177f295b 100644 --- a/src/OpenSearch/Namespaces/IngestNamespace.php +++ b/src/OpenSearch/Namespaces/IngestNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/MonitoringNamespace.php b/src/OpenSearch/Namespaces/MonitoringNamespace.php index bf3d4ae77..e5e0917c8 100644 --- a/src/OpenSearch/Namespaces/MonitoringNamespace.php +++ b/src/OpenSearch/Namespaces/MonitoringNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/NamespaceBuilderInterface.php b/src/OpenSearch/Namespaces/NamespaceBuilderInterface.php index 6a66b0cd4..f681f6098 100644 --- a/src/OpenSearch/Namespaces/NamespaceBuilderInterface.php +++ b/src/OpenSearch/Namespaces/NamespaceBuilderInterface.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/NodesNamespace.php b/src/OpenSearch/Namespaces/NodesNamespace.php index 1a008ea48..d869f572d 100644 --- a/src/OpenSearch/Namespaces/NodesNamespace.php +++ b/src/OpenSearch/Namespaces/NodesNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/SearchableSnapshotsNamespace.php b/src/OpenSearch/Namespaces/SearchableSnapshotsNamespace.php index cd8d6b96d..2e170a064 100644 --- a/src/OpenSearch/Namespaces/SearchableSnapshotsNamespace.php +++ b/src/OpenSearch/Namespaces/SearchableSnapshotsNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/SnapshotNamespace.php b/src/OpenSearch/Namespaces/SnapshotNamespace.php index 9a94ecce4..00cd6de20 100644 --- a/src/OpenSearch/Namespaces/SnapshotNamespace.php +++ b/src/OpenSearch/Namespaces/SnapshotNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/SslNamespace.php b/src/OpenSearch/Namespaces/SslNamespace.php index c8e618352..8f1a34f77 100644 --- a/src/OpenSearch/Namespaces/SslNamespace.php +++ b/src/OpenSearch/Namespaces/SslNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Namespaces/TasksNamespace.php b/src/OpenSearch/Namespaces/TasksNamespace.php index 37b7e0880..83ce6ead7 100644 --- a/src/OpenSearch/Namespaces/TasksNamespace.php +++ b/src/OpenSearch/Namespaces/TasksNamespace.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Namespaces; diff --git a/src/OpenSearch/Serializers/ArrayToJSONSerializer.php b/src/OpenSearch/Serializers/ArrayToJSONSerializer.php index 8f8f95754..fcf43938d 100644 --- a/src/OpenSearch/Serializers/ArrayToJSONSerializer.php +++ b/src/OpenSearch/Serializers/ArrayToJSONSerializer.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Serializers; diff --git a/src/OpenSearch/Serializers/EverythingToJSONSerializer.php b/src/OpenSearch/Serializers/EverythingToJSONSerializer.php index 638b3598d..26e1df146 100644 --- a/src/OpenSearch/Serializers/EverythingToJSONSerializer.php +++ b/src/OpenSearch/Serializers/EverythingToJSONSerializer.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Serializers; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/src/OpenSearch/Serializers/SerializerInterface.php b/src/OpenSearch/Serializers/SerializerInterface.php index 71e6b33fa..a7e488b1c 100644 --- a/src/OpenSearch/Serializers/SerializerInterface.php +++ b/src/OpenSearch/Serializers/SerializerInterface.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Serializers; diff --git a/src/OpenSearch/Serializers/SmartSerializer.php b/src/OpenSearch/Serializers/SmartSerializer.php index a72261c35..34f9b2ad3 100644 --- a/src/OpenSearch/Serializers/SmartSerializer.php +++ b/src/OpenSearch/Serializers/SmartSerializer.php @@ -3,16 +3,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - namespace OpenSearch\Serializers; use OpenSearch\Common\Exceptions; diff --git a/src/OpenSearch/Transport.php b/src/OpenSearch/Transport.php index 0201be84c..5d3f3da0d 100644 --- a/src/OpenSearch/Transport.php +++ b/src/OpenSearch/Transport.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch; diff --git a/tests/ClientBuilder/ArrayLogger.php b/tests/ClientBuilder/ArrayLogger.php index 980c4c1c7..511ec9062 100644 --- a/tests/ClientBuilder/ArrayLogger.php +++ b/tests/ClientBuilder/ArrayLogger.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\ClientBuilder; diff --git a/tests/ClientBuilder/DummyLogger.php b/tests/ClientBuilder/DummyLogger.php index 0923dda16..6106ab53b 100644 --- a/tests/ClientBuilder/DummyLogger.php +++ b/tests/ClientBuilder/DummyLogger.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\ClientBuilder; diff --git a/tests/ClientBuilderTest.php b/tests/ClientBuilderTest.php index 594f40729..d1bb8ae9b 100644 --- a/tests/ClientBuilderTest.php +++ b/tests/ClientBuilderTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests; diff --git a/tests/ClientIntegrationTest.php b/tests/ClientIntegrationTest.php index 6ae6c1efb..466c885e4 100644 --- a/tests/ClientIntegrationTest.php +++ b/tests/ClientIntegrationTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests; diff --git a/tests/ClientTest.php b/tests/ClientTest.php index ea995436a..03e922c49 100644 --- a/tests/ClientTest.php +++ b/tests/ClientTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests; diff --git a/tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php b/tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php index 94fd67aa1..52b82899c 100644 --- a/tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php +++ b/tests/ConnectionPool/Selectors/RoundRobinSelectorTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\ConnectionPool\Selectors; diff --git a/tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php b/tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php index bc61d7c55..997b29622 100644 --- a/tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php +++ b/tests/ConnectionPool/SniffingConnectionPoolIntegrationTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\ConnectionPool; diff --git a/tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php b/tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php index c8feee02c..45650e0b3 100644 --- a/tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php +++ b/tests/ConnectionPool/StaticConnectionPoolIntegrationTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\ConnectionPool; diff --git a/tests/ConnectionPool/StaticConnectionPoolTest.php b/tests/ConnectionPool/StaticConnectionPoolTest.php index 9858258bf..7405c73a4 100644 --- a/tests/ConnectionPool/StaticConnectionPoolTest.php +++ b/tests/ConnectionPool/StaticConnectionPoolTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\ConnectionPool; diff --git a/tests/Connections/ConnectionTest.php b/tests/Connections/ConnectionTest.php index 216172eeb..04ea992d0 100644 --- a/tests/Connections/ConnectionTest.php +++ b/tests/Connections/ConnectionTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Connections; diff --git a/tests/Endpoints/AbstractEndpointTest.php b/tests/Endpoints/AbstractEndpointTest.php index 8d5aa8b9d..b14b65f39 100644 --- a/tests/Endpoints/AbstractEndpointTest.php +++ b/tests/Endpoints/AbstractEndpointTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Endpoints; diff --git a/tests/Endpoints/StatusEndpointTest.php b/tests/Endpoints/StatusEndpointTest.php index d33d26e75..0e5c0d2f3 100644 --- a/tests/Endpoints/StatusEndpointTest.php +++ b/tests/Endpoints/StatusEndpointTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Endpoints; diff --git a/tests/Helper/Iterators/SearchHitIteratorTest.php b/tests/Helper/Iterators/SearchHitIteratorTest.php index 996ac5c90..972b54d99 100644 --- a/tests/Helper/Iterators/SearchHitIteratorTest.php +++ b/tests/Helper/Iterators/SearchHitIteratorTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Helper\Iterators; diff --git a/tests/Helper/Iterators/SearchResponseIteratorTest.php b/tests/Helper/Iterators/SearchResponseIteratorTest.php index a4286b03c..2c9ec8d88 100644 --- a/tests/Helper/Iterators/SearchResponseIteratorTest.php +++ b/tests/Helper/Iterators/SearchResponseIteratorTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Helper\Iterators; diff --git a/tests/RegisteredNamespaceTest.php b/tests/RegisteredNamespaceTest.php index 3c85c7f7a..56d00dafc 100644 --- a/tests/RegisteredNamespaceTest.php +++ b/tests/RegisteredNamespaceTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests; diff --git a/tests/Serializers/ArrayToJSONSerializerTest.php b/tests/Serializers/ArrayToJSONSerializerTest.php index fc36adfde..5887f491a 100644 --- a/tests/Serializers/ArrayToJSONSerializerTest.php +++ b/tests/Serializers/ArrayToJSONSerializerTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Serializers; diff --git a/tests/Serializers/EverythingToJSONSerializerTest.php b/tests/Serializers/EverythingToJSONSerializerTest.php index 4fd57167d..e957bbf58 100644 --- a/tests/Serializers/EverythingToJSONSerializerTest.php +++ b/tests/Serializers/EverythingToJSONSerializerTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Serializers; diff --git a/tests/Serializers/SmartSerializerTest.php b/tests/Serializers/SmartSerializerTest.php index ba657dd13..50643bc2d 100644 --- a/tests/Serializers/SmartSerializerTest.php +++ b/tests/Serializers/SmartSerializerTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests\Serializers; diff --git a/tests/TransportTest.php b/tests/TransportTest.php index a0950387e..c1965eee2 100644 --- a/tests/TransportTest.php +++ b/tests/TransportTest.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests; diff --git a/tests/Utility.php b/tests/Utility.php index b2cb4ac1b..dda94bda0 100644 --- a/tests/Utility.php +++ b/tests/Utility.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Tests; diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 161ccddaf..c4e0b250d 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ error_reporting(E_ALL | E_STRICT); diff --git a/util/ActionTest.php b/util/ActionTest.php index 8fa68ca48..9a24f272c 100644 --- a/util/ActionTest.php +++ b/util/ActionTest.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Util; diff --git a/util/ClientEndpoint.php b/util/ClientEndpoint.php index d8eb1d592..c75d2761e 100644 --- a/util/ClientEndpoint.php +++ b/util/ClientEndpoint.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Util; diff --git a/util/Endpoint.php b/util/Endpoint.php index 4225c370d..637fe357f 100644 --- a/util/Endpoint.php +++ b/util/Endpoint.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Util; diff --git a/util/GenerateDocExamples.php b/util/GenerateDocExamples.php index c130dd2b2..af25c4700 100644 --- a/util/GenerateDocExamples.php +++ b/util/GenerateDocExamples.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ require_once dirname(__DIR__) . '/vendor/autoload.php'; diff --git a/util/GenerateEndpoints.php b/util/GenerateEndpoints.php index a632d8da6..1d8d6ded6 100644 --- a/util/GenerateEndpoints.php +++ b/util/GenerateEndpoints.php @@ -4,16 +4,21 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ - use OpenSearch\Client; use OpenSearch\Common\Exceptions\NoNodesAvailableException; use OpenSearch\Common\Exceptions\RuntimeException; diff --git a/util/NamespaceEndpoint.php b/util/NamespaceEndpoint.php index aa7085253..36ca224fd 100644 --- a/util/NamespaceEndpoint.php +++ b/util/NamespaceEndpoint.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Util; diff --git a/util/RestSpecRunner.php b/util/RestSpecRunner.php index 1dec60ddd..a162da36a 100644 --- a/util/RestSpecRunner.php +++ b/util/RestSpecRunner.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ use OpenSearch\Common\Exceptions\NoNodesAvailableException; diff --git a/util/YamlTests.php b/util/YamlTests.php index 0caa1c53f..77d78975a 100644 --- a/util/YamlTests.php +++ b/util/YamlTests.php @@ -4,14 +4,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ namespace OpenSearch\Util; diff --git a/util/build_tests.php b/util/build_tests.php index 85ebd04f6..c7716ef6b 100644 --- a/util/build_tests.php +++ b/util/build_tests.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ use OpenSearch\Common\Exceptions\NoNodesAvailableException; diff --git a/util/docsConfig.php b/util/docsConfig.php index caa76d609..3b232ef81 100644 --- a/util/docsConfig.php +++ b/util/docsConfig.php @@ -3,14 +3,20 @@ declare(strict_types=1); /** + * Copyright OpenSearch Contributors * SPDX-License-Identifier: Apache-2.0 * - * The OpenSearch Contributors require contributions made to - * this file be licensed under the Apache-2.0 license or a - * compatible open source license. + * Elasticsearch PHP client * - * Modifications Copyright OpenSearch Contributors. See - * GitHub history for details. + * @link https://github.com/elastic/elasticsearch-php/ + * @copyright Copyright (c) Elasticsearch B.V (https://www.elastic.co) + * @license http://www.apache.org/licenses/LICENSE-2.0 Apache License, Version 2.0 + * @license https://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License, Version 2.1 + * + * Licensed to Elasticsearch B.V under one or more agreements. + * Elasticsearch B.V licenses this file to you under the Apache 2.0 License or + * the GNU Lesser General Public License, Version 2.1, at your option. + * See the LICENSE file in the project root for more information. */ use Doctum\Doctum; diff --git a/util/examples_to_parse.php b/util/examples_to_parse.php index ebd4e17eb..dd3781d94 100644 --- a/util/examples_to_parse.php +++ b/util/examples_to_parse.php @@ -1,14 +1,20 @@