Submit to a private bundle stream

Registered by Michael Hudson-Doyle

We need the scheduler to be able to submit the results of a job to a private bundle stream.

The basic approach will be:

1) the scheduler creates a token for the use who submitted the job when the job is started, and puts this token in the JSON for the job before passing this to the scheduler
2) the dispatcher uses this token on job submission
3) the scheduler deletes the token when the job completes.

Blueprint information

Status:
Complete
Approver:
Paul Larson
Priority:
High
Drafter:
Michael Hudson-Doyle
Direction:
Approved
Assignee:
Michael Hudson-Doyle
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon 2012.02
Started by
Fathi Boudra
Completed by
Michael Hudson-Doyle

Whiteboard

[2012-01-20, mwhudson] last minute bugs prevented deployment in 2012.01

Meta:
Headline: The scheduler is able to submit the results of a job to a private bundle stream.
Acceptance: TBD
Roadmap id: LAVA2012-DATA-PUBLISHING-POLICY

(?)

Work Items

Work items:
add token field to testjob model: DONE
create token for the duration of a job run: DONE
insert token into json: DONE
add support in lava-dispatcher to submit results to a private stream: DONE

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.