Module: RSMP::Validator
- Extended by:
- Logging, Configuration, Lifecycle, ModeDetection
- Defined in:
- lib/rsmp/validator.rb,
lib/rsmp/validator/log.rb,
lib/rsmp/validator/tester.rb,
lib/rsmp/validator/version.rb,
lib/rsmp/validator/auto_node.rb,
lib/rsmp/validator/auto_site.rb,
lib/rsmp/validator/lifecycle.rb,
lib/rsmp/validator/site_tester.rb,
lib/rsmp/validator/async_context.rb,
lib/rsmp/validator/configuration.rb,
lib/rsmp/validator/helpers/clock.rb,
lib/rsmp/validator/helpers/input.rb,
lib/rsmp/validator/helpers/alarms.rb,
lib/rsmp/validator/helpers/status.rb,
lib/rsmp/validator/mode_detection.rb,
lib/rsmp/validator/version_filter.rb,
lib/rsmp/validator/auto_supervisor.rb,
lib/rsmp/validator/helpers/startup.rb,
lib/rsmp/validator/helpers/security.rb,
lib/rsmp/validator/config_normalizer.rb,
lib/rsmp/validator/helpers/handshake.rb,
lib/rsmp/validator/supervisor_tester.rb,
lib/rsmp/validator/helpers/connection.rb,
lib/rsmp/validator/configuration/loader.rb,
lib/rsmp/validator/helpers/signal_plans.rb,
lib/rsmp/validator/configuration/secrets.rb,
lib/rsmp/validator/helpers/signal_priority.rb,
lib/rsmp/validator/configuration/validation.rb,
lib/rsmp/validator/options/site_test_options.rb,
lib/rsmp/validator/options/supervisor_test_options.rb
Overview
Main module for RSMP Validator functionality.
Defined Under Namespace
Modules: AsyncContext, ConfigNormalizer, Configuration, Helpers, Lifecycle, Log, ModeDetection, SiteTest, SupervisorTest, VersionFilter Classes: AutoNode, AutoSite, AutoSupervisor, SiteTester, SupervisorTester, Tester
Constant Summary collapse
- VERSION =
'0.1.0'.freeze
Class Attribute Summary collapse
-
.auto_node ⇒ Object
Returns the value of attribute auto_node.
-
.auto_node_config ⇒ Object
Returns the value of attribute auto_node_config.
-
.auto_node_log_settings ⇒ Object
Returns the value of attribute auto_node_log_settings.
-
.config ⇒ Object
Returns the value of attribute config.
-
.config_log_settings ⇒ Object
Returns the value of attribute config_log_settings.
-
.logger ⇒ Object
Returns the value of attribute logger.
-
.mode ⇒ Object
Returns the value of attribute mode.
-
.node_log_settings ⇒ Object
Returns the value of attribute node_log_settings.
Class Method Summary collapse
- .core_matches?(requirement) ⇒ Boolean
-
.reactor ⇒ Object
Get the global Async reactor used for RSMP communication.
-
.sxl_matches?(requirement, name: nil) ⇒ Boolean
Convenience module methods delegating to VersionFilter.
Methods included from Configuration
apply_env_overrides!, auto_node_config_path, get_config, get_config_path, load_auto_node_config, load_tester_config, validate_and_finalize_config!
Methods included from Lifecycle
after_suite, before_suite, determine_log_stream, setup, setup_logging, setup_reactor
Methods included from ModeDetection
abort_with_error, build_auto_node, build_tester, check_connection, determine_mode, infer_mode_from_path, select_mode
Class Attribute Details
.auto_node ⇒ Object
Returns the value of attribute auto_node.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def auto_node @auto_node end |
.auto_node_config ⇒ Object
Returns the value of attribute auto_node_config.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def auto_node_config @auto_node_config end |
.auto_node_log_settings ⇒ Object
Returns the value of attribute auto_node_log_settings.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def auto_node_log_settings @auto_node_log_settings end |
.config ⇒ Object
Returns the value of attribute config.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def config @config end |
.config_log_settings ⇒ Object
Returns the value of attribute config_log_settings.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def config_log_settings @config_log_settings end |
.logger ⇒ Object
Returns the value of attribute logger.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def logger @logger end |
.mode ⇒ Object
Returns the value of attribute mode.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def mode @mode end |
.node_log_settings ⇒ Object
Returns the value of attribute node_log_settings.
41 42 43 |
# File 'lib/rsmp/validator.rb', line 41 def node_log_settings @node_log_settings end |
Class Method Details
.core_matches?(requirement) ⇒ Boolean
40 41 42 |
# File 'lib/rsmp/validator/version_filter.rb', line 40 def self.core_matches?(requirement) VersionFilter.core_matches?(requirement) end |
.reactor ⇒ Object
Get the global Async reactor used for RSMP communication
46 47 48 |
# File 'lib/rsmp/validator.rb', line 46 def self.reactor @reactor end |
.sxl_matches?(requirement, name: nil) ⇒ Boolean
Convenience module methods delegating to VersionFilter
36 37 38 |
# File 'lib/rsmp/validator/version_filter.rb', line 36 def self.sxl_matches?(requirement, name: nil) VersionFilter.sxl_matches?(requirement, name: name) end |