module Dynflow

TODO validate in/output, also validate unknown keys TODO performance testing, how many actions will it handle? TODO profiling, find bottlenecks FIND change ids to uuid, uuid-<action_id>, uuid-<action_id-(plan, run, finalize)

rubocop:disable Metrics/ClassLength

Constants

BACKTRACE_LIMIT
FULL_BACKTRACE
VERSION
WebConsole

Public Class Methods

process_world() click to toggle source

Return the world that representing this process - this is mainly used by Sidekiq deployments, where there is a need for a global-level context.

@return [Dynflow::World, nil]

# File lib/dynflow.rb, line 26
def process_world
  return @process_world if defined? @process_world
  @process_world = Sidekiq.options[:dynflow_world]
  raise "process world is not set" unless @process_world
  @process_world
end
serializer() click to toggle source
# File lib/dynflow/serializer.rb, line 5
def self.serializer
  @serializer ||= Serializer.new
end