From c7e30d20ce881ca32065da939c080ddf6cb0aaee Mon Sep 17 00:00:00 2001 From: Pierre Gauthier Date: Mon, 2 Sep 2024 17:53:50 +0200 Subject: [PATCH] Update OpenSearch client --- api/composer.json | 3 +-- api/composer.lock | 19 ++++++++++--------- compose.ci.yml | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/api/composer.json b/api/composer.json index 233e994a4..4cc6e34e6 100644 --- a/api/composer.json +++ b/api/composer.json @@ -15,7 +15,7 @@ "hautelook/alice-bundle": "2.11.0", "lexik/jwt-authentication-bundle": "^2.14", "nelmio/cors-bundle": "^2.2", - "opensearch-project/opensearch-php": "2.2.0", + "opensearch-project/opensearch-php": "^2.3", "phpstan/phpdoc-parser": "^1.16", "stof/doctrine-extensions-bundle": "^1.7", "symfony/asset": "6.4.*", @@ -128,5 +128,4 @@ } } }, - "botis" : "todo upgrade opensearch-project/opensearch-php to 2.3 by using version ^2.1 and then remove this line" } diff --git a/api/composer.lock b/api/composer.lock index 2ffbf2d9c..e91266a2c 100644 --- a/api/composer.lock +++ b/api/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "5939fa275c5cedfaec8f31ca9d7dbe1d", + "content-hash": "4d0392ac567603f8c076fd55aae8d95d", "packages": [ { "name": "api-platform/core", @@ -3001,24 +3001,25 @@ }, { "name": "opensearch-project/opensearch-php", - "version": "2.2.0", + "version": "2.3.1", "source": { "type": "git", "url": "https://github.com/opensearch-project/opensearch-php.git", - "reference": "8b6cdbce1c5c2436fa2458fc1c9f698d0fc760c7" + "reference": "1866e6ee95c15036038d6c95a5c54c6fe648de36" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/opensearch-project/opensearch-php/zipball/8b6cdbce1c5c2436fa2458fc1c9f698d0fc760c7", - "reference": "8b6cdbce1c5c2436fa2458fc1c9f698d0fc760c7", + "url": "https://api.github.com/repos/opensearch-project/opensearch-php/zipball/1866e6ee95c15036038d6c95a5c54c6fe648de36", + "reference": "1866e6ee95c15036038d6c95a5c54c6fe648de36", "shasum": "" }, "require": { "ext-curl": "*", "ext-json": ">=1.3.7", - "ezimuel/ringphp": "^1.1.2", + "ezimuel/ringphp": "^1.2.2", "php": "^7.3 || ^8.0", - "psr/log": "^1|^2|^3" + "psr/log": "^1|^2|^3", + "symfony/yaml": "*" }, "require-dev": { "aws/aws-sdk-php": "^3.0", @@ -3062,9 +3063,9 @@ ], "support": { "issues": "https://github.com/opensearch-project/opensearch-php/issues", - "source": "https://github.com/opensearch-project/opensearch-php/tree/2.2.0" + "source": "https://github.com/opensearch-project/opensearch-php/tree/2.3.1" }, - "time": "2023-05-20T16:57:42+00:00" + "time": "2024-08-27T10:13:25+00:00" }, { "name": "phpstan/phpdoc-parser", diff --git a/compose.ci.yml b/compose.ci.yml index 235e2dee9..299e4d1c0 100644 --- a/compose.ci.yml +++ b/compose.ci.yml @@ -1,4 +1,4 @@ -services: # TODO upgrade : test ci +services: php: build: context: ./api