class Camunda::Workflow::Configuration
Default instance variables configurations for Her
and camunda-workflow
Attributes
Can configure the backtrace silencer @return [Array<String>] List of backtrace silencer strings which are used to clean incident backtraces
Configure an HTTP proxy for all requests to use @return [String] The defined HTTP proxy
The default fetch_and_lock time duration when fetching a task @return [Integer] time in days to lock task
With the aid of log polling, a request is suspended by the server if no external tasks are available. Long polling significantly reduces the number of request and enables using resources more efficiently on both the server and client. @return [Integer]
Max polling tasks when using the command line to fetch and lock tasks @return [Integer] default is set to fetch and lock 2 tasks
The tenant identifier is specified on the deployment and is propagated to all data that is created from the deployment(e.g. process definitions, process instances, tacks). @return [String] name for tenant identifier
Name of worker, defaults to '0' @return [String] name of worker
Public Class Methods
# File lib/camunda/workflow.rb, line 71 def initialize @engine_url = 'http://localhost:8080' @engine_route_prefix = 'rest' @camunda_user = '' @camunda_password = '' @worker_id = '0' @lock_duration = 14.days @max_polling_tasks = 2 @long_polling_duration = 30.seconds @backtrace_silencer_lines = %w[gems/activesupport gems/sidekiq gems/activejob gems/i18n gems/actionpack] @tenant_id = if defined?(Rails) Rails.env.test? ? 'test-environment' : nil end end