Module: Bas::Orchestrator

Defined in:
lib/bas/orchestrator.rb,
lib/bas/orchestrator/manager.rb

Overview

The Orchestrator module is responsible for managing the scheduling and execution of scripts within the business automation services. It provides a high-level interface to start the orchestration process using the ‘Manager` class.

Defined Under Namespace

Classes: Manager

Class Method Summary collapse

Class Method Details

.start(schedules) ⇒ Object

Starts the orchestration process with the given schedules.

Parameters:

  • schedules (Array<Hash>)

    A list of scripts with execution details.


13
14
15
16
# File 'lib/bas/orchestrator.rb', line 13

def self.start(schedules)
  manager = Manager.new(schedules)
  manager.run
end