Meego Wiki
Views

Release Infrastructure/BOSS Participant

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
m
m (== Participant Naming Convenience)
Line 20: Line 20:
BOSS participant is written in Python language (other bindings will be available later).
BOSS participant is written in Python language (other bindings will be available later).
-
==== Participant Naming Convenience ==
+
==== Participant Naming Convenience ====
???
???

Revision as of 10:29, 12 August 2010

Contents

BOSS Participant

BOSS is a workflow orchestrator, a system that can be configured to automate your workflow requirements; it interacts with the OBS and with people and systems around it to apply your workflow steps. For more BOSS related general information, see Infrastructure/BOSS.


What is BOSS Participant

BOSS Participant the actual actor in BOSS architecture. Participant wraps other systems and services related to software development, quality assurance and integration, allowing BOSS to interact with different parties in automated way.

BOSS Participant action explained in three simple steps:

  • Receive a workitem from BOSS server
  • Process it, interacting with underlying (read: wrapped) system or service
  • Return the filled worksheet back to BOSS server


Participant Coding Guidelines

BOSS participant is written in Python language (other bindings will be available later).

Participant Naming Convenience

???

Import

from  RuoteAMQP.workitem import Workitem
from  RuoteAMQP.participant import Participant

Registering BOSS Participant to server

if __name__ == "__main__":
    print "Notifier participant running"
    p = NotifierParticipant(ruote_queue="notifier", amqp_vhost="ruote-test")
    p.register("notifier", {'queue':'notifier'})
    p.run()

Participant Example Code

See following participants for example implementation:

http://gitorious.org/locusf-home/boss-participants/blobs/master/build-ks-participant/build_ks_participant.py http://gitorious.org/locusf-home/boss-participants/blobs/master/build-ks-participant/build_ks_participant.py

Personal tools