...
Code Block |
---|
[[File:Sos-event-service.png]] |
Instructions
...
- Unzip
...
- all
...
- files
...
- of
...
...
- -
...
- job
...
- configuration
...
- files
...
- into
...
- the
...
- ./confi/live
...
- folder
...
- of
...
- your
...
- active
...
- instance
...
- of
...
- the
...
- event
...
- service
...
- JobScheduler
...
- installation.
...
- After
...
- unzipping
...
- you
...
- will
...
- have
...
- all
...
- the
...
- objects
...
- needed
...
- to
...
- run
...
- the
...
- example
...
- in
...
- the
...
- live/DEP_EVENTS
...
- subfolder.
...
- Open the JS operations gui for the workload JobScheduler in your browser using http://scheduler_host:scheduler_port
- Find the
DEP_EVENTS/JobChainB/JobChainB
job chain and click on it. - There is an order assigned to the JobChainB. In the order menu press Start order now
- You see the order will start , but since the JobChainA is not yet started , thus JOB_CHAINA_END event does not exist, the order will wait for 10s and then check again.
- Find the
DEP_EVENTS/JobChainA/JobChainA
job chain and click on it. - There is an order assigned to the JobChainA. In the order menu press Start order now
- JobChainA will start and after successful completion will submit JOB_CHAINA_END event to the JobScheduler.
- JobChainB node CheckEvent is checking periodically, as soon as it finds the matching event , JobChainB will also start processing.
- JobChainB has a node RemoveEvent to remove the event from DB once JobChainB successfully completed processing.
...