diff options
| author | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-22 10:43:48 +0300 |
|---|---|---|
| committer | Yuriy Andamasov <yuriy@vyos.io> | 2026-05-22 10:43:48 +0300 |
| commit | 77fdd523554e18abc3a834bbd52527f015bc4aa8 (patch) | |
| tree | 379777dc790c25af69e7710b60d3bb8e891ac531 /src/__phutil_library_map__.php | |
| parent | ea323c862121e2b309f526d5027a511b8d61e906 (diff) | |
| download | phorge-elasticsearch-modern-77fdd523554e18abc3a834bbd52527f015bc4aa8.tar.gz phorge-elasticsearch-modern-77fdd523554e18abc3a834bbd52527f015bc4aa8.zip | |
Add VyOSElasticModernHost + placeholder engine stub
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)
Diffstat (limited to 'src/__phutil_library_map__.php')
| -rw-r--r-- | src/__phutil_library_map__.php | 12 |
1 files changed, 10 insertions, 2 deletions
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', + ), )); |
