Commit 5984d0c4 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Make it possible to override config jobs composition in EE

parent 73b66977de5f
......@@ -28,11 +28,15 @@ def hidden?(name)
def node_type(name)
hidden?(name) ? Entry::Hidden : Entry::Job
# rubocop: disable CodeReuse/ActiveRecord
def compose!(deps = nil)
super do
@config.each do |name, config|
node = hidden?(name) ? Entry::Hidden : Entry::Job
node = node_type(name)
factory =
.value(config || {})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment