Class: ActiveJob::Temporal::ConfigValidator Private
- Inherits:
-
Object
- Object
- ActiveJob::Temporal::ConfigValidator
- Includes:
- ActiveModel::Validations
- Defined in:
- lib/activejob/temporal/configuration.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Validates ActiveJob::Temporal configuration.
This class uses ActiveModel::Validations to provide declarative validation with i18n support. Attributes are automatically synchronized from the configuration via metaprogramming.
Validation Rules:
target: Presence + host:port format validationnamespace: Presence + alphanumeric/hyphens/underscores formatdefault_activity_timeout: Duration type + positive valuedefault_retry_initial_interval: Duration type + positive valuedefault_retry_backoff: Numericality >= 1.0default_retry_max_attempts: Numericality >= 0max_payload_size_kb: Numericality 1..2GBmax_concurrent_activities: Numericality > 0max_concurrent_workflow_tasks: Numericality > 0workflow_id_generator: Optional callablemiddleware_chain: Callable chain with registration support
rubocop:disable Metrics/ClassLength