2 // Import framework stuff
3 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
6 * Configuration entries for this application only
8 * @author Roland Haeder <webmaster@shipsimu.org>
10 * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
11 * @license GNU GPL 3.0 or any newer version
13 * This program is free software: you can redistribute it and/or modify
14 * it under the terms of the GNU General Public License as published by
15 * the Free Software Foundation, either version 3 of the License, or
16 * (at your option) any later version.
18 * This program is distributed in the hope that it will be useful,
19 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 * GNU General Public License for more details.
23 * You should have received a copy of the GNU General Public License
24 * along with this program. If not, see <http://www.gnu.org/licenses/>.
27 // Some hub-specific configuration like port hostname where we will listen, etc.
28 $cfg = FrameworkBootstrap::getConfigurationInstance();
30 // CFG: DEFAULT-CONSOLE-COMMAND
31 $cfg->setConfigEntry('default_console_command', 'main');
33 // CFG: DEFAULT-TESTS-CONSOLE-COMMAND
34 $cfg->setConfigEntry('default_tests_console_command', 'main');
36 // CFG: DEFAULT-TESTS-CONSOLE-CONTROLLER
37 $cfg->setConfigEntry('default_tests_console_controller', 'main');
39 // CFG: TESTS-CONSOLE-CMD-MAIN-RESOLVER-CLASS
40 $cfg->setConfigEntry('tests_console_cmd_main_resolver_class', 'Org\Mxchange\CoreFramework\Tests\Resolver\Command\TestsConsoleCommandResolver');
42 // CFG: NEWS-DOWNLOAD-FILTER-CLASS
43 $cfg->setConfigEntry('news_download_filter_class', 'Org\Mxchange\CoreFramework\Filter\News\NewsDownloadFilter');
45 // CFG: NEWS-PROCESS-FILTER-CLASS
46 $cfg->setConfigEntry('news_process_filter_class', 'Org\Mxchange\CoreFramework\Filter\News\NewsProcessFilter');
48 // CFG: NEWS-READER-MAIN-CLASS
49 $cfg->setConfigEntry('news_reader_main_class', 'Org\Mxchange\CoreFramework\Reader\News\Console\ConsoleNewsReader');
51 // CFG: NEWS-MAIN-LIMIT
52 $cfg->setConfigEntry('news_main_limit', 5);
54 // CFG: TESTS-PHP-REQUIREMENTS-FILTER
55 $cfg->setConfigEntry('tests_php_requirements_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\PhpRequirements\TestsPhpRequirementsFilter');
57 // CFG: TEST-CONFIGURATION-CLASSES-LOADABLE-TEST-FILTER-CLASS
58 $cfg->setConfigEntry('tests_configuration_classes_loadable_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\Configuration\Classes\TestConfigurationLoadableClassesFilter');
60 // CFG: TEST-CONFIGURATION-IS-ENABLED-TEST-FILTER-CLASS
61 $cfg->setConfigEntry('tests_configuration_is_enabled_filter_class', 'Org\Mxchange\CoreFramework\Tests\Filter\Configuration\IsEnabled\TestsConfigurationIsEnabledFilter');
63 // CFG: TEST-CONSOLE-CONTROLLER-RESOLVER-CLASS
64 $cfg->setConfigEntry('tests_console_controller_resolver_class', 'Org\Mxchange\CoreFramework\Tests\Resolver\Controller\TestsConsoleControllerResolver');