Accept minimum_script_version, excluded_script_versions, and
authorTom Clegg <tom@curoverse.com>
Sat, 19 Apr 2014 01:00:31 +0000 (21:00 -0400)
committerTom Clegg <tom@curoverse.com>
Sat, 19 Apr 2014 01:00:31 +0000 (21:00 -0400)
commit3e7478a9a822686e1b5291fb0909a2ee2fcfeace
treefa06adc24dd1d2d5b5ce6534f728614211c72396
parent441549528f2fcea8e55fde62416a69f2bfc6816d
Accept minimum_script_version, excluded_script_versions, and
find_or_create flag as parameters to create, instead of treating them
as if they were attributes of the Job resource.

Accept find_or_create as a positive flag, rather than no_reuse as a
negative flag.

Behave as requested by the find_or_create flag even if
nondeterministic=true in the submitted job: i.e., a client can use the
find_or_create feature when submitting a job which itself will never
be reused. (It's up to the client to decide whether this is ever
useful.)

For now, both old and new flag names/locations are accepted and
supplied by API server and arv-run-pipeline-instance respectively.
doc/api/methods/jobs.html.textile.liquid
sdk/cli/bin/arv-run-pipeline-instance
services/api/app/controllers/arvados/v1/jobs_controller.rb
services/api/app/models/job.rb
services/api/test/functional/arvados/v1/job_reuse_controller_test.rb