From 77fdd523554e18abc3a834bbd52527f015bc4aa8 Mon Sep 17 00:00:00 2001 From: Yuriy Andamasov Date: Fri, 22 May 2026 10:43:48 +0300 Subject: Add VyOSElasticModernHost + placeholder engine stub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Host class mirrors PhabricatorElasticsearchHost's surface. Engine is a stub providing only getEngineIdentifier() and getHostType() so the host's tests can construct an engine instance; real engine implementation lands in subsequent commits. All six abstract methods of PhabricatorFulltextStorageEngine are implemented (four as throwing stubs to be replaced in E7/E8). .arcconfig gains "src/" in the load list so arc unit can discover the extension library; test case extends PhutilTestCase (no DB needed for pure-PHP host property assertions). 🤖 Generated by [robots](https://vyos.io) --- src/__phutil_library_map__.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'src/__phutil_library_map__.php') diff --git a/src/__phutil_library_map__.php b/src/__phutil_library_map__.php index 1ebc28b..298810e 100644 --- a/src/__phutil_library_map__.php +++ b/src/__phutil_library_map__.php @@ -8,7 +8,15 @@ */ phutil_register_library_map(array( '__library_version__' => 2, - 'class' => array(), + 'class' => array( + 'VyOSElasticModernFulltextStorageEngine' => 'engine/VyOSElasticModernFulltextStorageEngine.php', + 'VyOSElasticModernHost' => 'host/VyOSElasticModernHost.php', + 'VyOSElasticModernHostTestCase' => '__tests__/VyOSElasticModernHostTestCase.php', + ), 'function' => array(), - 'xmap' => array(), + 'xmap' => array( + 'VyOSElasticModernFulltextStorageEngine' => 'PhabricatorFulltextStorageEngine', + 'VyOSElasticModernHost' => 'PhabricatorSearchHost', + 'VyOSElasticModernHostTestCase' => 'PhutilTestCase', + ), )); -- cgit v1.2.3