From 42df1cf982246e21db066e9488237f3cc92218d0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 10 Feb 2023 14:14:34 +0100 Subject: [PATCH] Continued: - added missing namespaces in configuration file (command=apt-proxy) - added missing "import" line for BaseAptProxyFilter --- .../class_AptProxyInitializationFilter.php | 3 +++ .../class_AptProxyPhpRequirementsFilter.php | 3 +++ .../class_AptProxyWelcomeTeaserFilter.php | 3 +++ ...tProxyBootstrapExtraBootstrappingFilter.php | 3 +++ ...ptProxyBootstrapGenericActivationFilter.php | 3 +++ .../apt-proxy/class_AptProxyShutdownFilter.php | 3 +++ ...ss_AptProxyTaskHandlerInitializerFilter.php | 3 +++ application/hub/config.php | 18 +++++++++--------- 8 files changed, 30 insertions(+), 9 deletions(-) diff --git a/application/hub/classes/filter/apt-proxy/class_AptProxyInitializationFilter.php b/application/hub/classes/filter/apt-proxy/class_AptProxyInitializationFilter.php index deb5f9326..9824db0fb 100644 --- a/application/hub/classes/filter/apt-proxy/class_AptProxyInitializationFilter.php +++ b/application/hub/classes/filter/apt-proxy/class_AptProxyInitializationFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\AptProxy\Filter\Initialization; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory; use Org\Mxchange\CoreFramework\Filter\Filterable; diff --git a/application/hub/classes/filter/apt-proxy/class_AptProxyPhpRequirementsFilter.php b/application/hub/classes/filter/apt-proxy/class_AptProxyPhpRequirementsFilter.php index d8ed80021..266c92443 100644 --- a/application/hub/classes/filter/apt-proxy/class_AptProxyPhpRequirementsFilter.php +++ b/application/hub/classes/filter/apt-proxy/class_AptProxyPhpRequirementsFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\AptProxy\Filter\Requirements; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Request\Requestable; diff --git a/application/hub/classes/filter/apt-proxy/class_AptProxyWelcomeTeaserFilter.php b/application/hub/classes/filter/apt-proxy/class_AptProxyWelcomeTeaserFilter.php index 2cddbfa2e..06e4fd9a3 100644 --- a/application/hub/classes/filter/apt-proxy/class_AptProxyWelcomeTeaserFilter.php +++ b/application/hub/classes/filter/apt-proxy/class_AptProxyWelcomeTeaserFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\AptProxy\Filter\WelcomeTeaser; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapExtraBootstrappingFilter.php b/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapExtraBootstrappingFilter.php index 4ad3b3f39..8658a1009 100644 --- a/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapExtraBootstrappingFilter.php +++ b/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapExtraBootstrappingFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Bootstrap\AptProxy\Extra; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php b/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php index 1e797ffd3..a333613a9 100644 --- a/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php +++ b/application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrapGenericActivationFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Bootstrap\AptProxy\Activation; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/shutdown/apt-proxy/class_AptProxyShutdownFilter.php b/application/hub/classes/filter/shutdown/apt-proxy/class_AptProxyShutdownFilter.php index 6cc8375ab..000943cc0 100644 --- a/application/hub/classes/filter/shutdown/apt-proxy/class_AptProxyShutdownFilter.php +++ b/application/hub/classes/filter/shutdown/apt-proxy/class_AptProxyShutdownFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Shutdown\AptProxy; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Filter\Filterable; use Org\Mxchange\CoreFramework\Registry\GenericRegistry; diff --git a/application/hub/classes/filter/task/apt-proxy/class_AptProxyTaskHandlerInitializerFilter.php b/application/hub/classes/filter/task/apt-proxy/class_AptProxyTaskHandlerInitializerFilter.php index 826e638a9..b41d4f91c 100644 --- a/application/hub/classes/filter/task/apt-proxy/class_AptProxyTaskHandlerInitializerFilter.php +++ b/application/hub/classes/filter/task/apt-proxy/class_AptProxyTaskHandlerInitializerFilter.php @@ -2,6 +2,9 @@ // Own namespace namespace Org\Shipsimu\Hub\Filter\Initializer\AptProxy\Handler\Task; +// Import application-specific stuff +use Org\Shipsimu\Hub\AptProxy\Filter\BaseAptProxyFilter; + // Import framework stuff use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory; use Org\Mxchange\CoreFramework\Filter\Filterable; diff --git a/application/hub/config.php b/application/hub/config.php index e1532231a..736ae0004 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -1531,31 +1531,31 @@ $cfg->setConfigEntry('crawler_url_list_column_separator', ','); $cfg->setConfigEntry('hub_console_cmd_apt_proxy_resolver_class', 'Org\Shipsimu\Hub\Resolver\Command\HubConsoleCommandResolver'); // CFG: APT-PROXY-PHP-REQUIREMENTS-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_php_requirements_filter_class', 'AptProxyPhpRequirementsFilter'); +$cfg->setConfigEntry('apt_proxy_php_requirements_filter_class', 'Org\Shipsimu\Hub\AptProxy\Filter\Requirements\AptProxyPhpRequirementsFilter'); // CFG: APT-PROXY-INITIALIZER-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_initializer_filter_class', 'AptProxyInitializationFilter'); +$cfg->setConfigEntry('apt_proxy_initializer_filter_class', 'Org\Shipsimu\Hub\AptProxy\Filter\Initialization\AptProxyInitializationFilter'); // CFG: NODE-CONSOLE-APT-PROXY -$cfg->setConfigEntry('node_console_apt_proxy_class', 'NodeConsoleAptProxy'); +$cfg->setConfigEntry('node_console_apt_proxy_class', 'Org\Shipsimu\Hub\AptProxy\NodeConsoleAptProxy'); // CFG: APT-PROXY-WELCOME-TEASER-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_welcome_teaser_filter_class', 'AptProxyWelcomeTeaserFilter'); +$cfg->setConfigEntry('apt_proxy_welcome_teaser_filter_class', 'Org\Shipsimu\Hub\AptProxy\Filter\WelcomeTeaser\AptProxyWelcomeTeaserFilter'); // CFG: APT-PROXY-BOOTSTRAP-TASK-HANDLER-INITIALIZER-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_bootstrap_task_handler_initializer_filter_class', 'AptProxyTaskHandlerInitializerFilter'); +$cfg->setConfigEntry('apt_proxy_bootstrap_task_handler_initializer_filter_class', 'Org\Shipsimu\Hub\Filter\Initializer\AptProxy\Handler\Task\AptProxyTaskHandlerInitializerFilter'); // CFG: APT-PROXY-BOOTSTRAP-EXTRA-BOOTSTRAPPING-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_bootstrap_extra_bootstrapping_filter_class', 'AptProxyBootstrapExtraBootstrappingFilter'); +$cfg->setConfigEntry('apt_proxy_bootstrap_extra_bootstrapping_filter_class', 'Org\Shipsimu\Hub\Filter\Bootstrap\AptProxy\Extra\AptProxyBootstrapExtraBootstrappingFilter'); // CFG: APT-PROXY-BOOTSTRAP-GENERIC-ACTIVATION-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_bootstrap_generic_activation_filter_class', 'AptProxyBootstrapGenericActivationFilter'); +$cfg->setConfigEntry('apt_proxy_bootstrap_generic_activation_filter_class', 'Org\Shipsimu\Hub\Filter\Bootstrap\AptProxy\Activation\AptProxyBootstrapGenericActivationFilter'); // CFG: APT-PROXY-SHUTDOWN-FILTER-CLASS -$cfg->setConfigEntry('apt_proxy_shutdown_filter_class', 'AptProxyShutdownFilter'); +$cfg->setConfigEntry('apt_proxy_shutdown_filter_class', 'Org\Shipsimu\Hub\Filter\Shutdown\AptProxy\AptProxyShutdownFilter'); // CFG: APT-PROXY-LISTENER-TASK-CLASS -$cfg->setConfigEntry('apt_proxy_listener_task_class', 'AptProxyListenerTask'); +$cfg->setConfigEntry('apt_proxy_listener_task_class', 'Org\Shipsimu\Hub\AptProxy\Task\Listener\AptProxyListenerTask'); // CFG: TASK-APT-PROXY-LISTENER-STARTUP-DELAY $cfg->setConfigEntry('task_apt_proxy_listener_startup_delay', 2500); -- 2.39.5