tapis-project / tapis-apps

BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

Apps: remove appType, replace with jobType #9

Closed scblack321 closed 2 years ago

scblack321 commented 2 years ago

Description: Jobs submitted will be of this type by default. May be overridden in the job submit request. This allows an application designer to test an application run as FORK job, for example, and then move on to testing as a BATCH job which typically involves further design work. Will be an enum, BATCH or FORK. Default is FORK NOTE: not null on output

Behavior: For Apps:

  1. If the user specifies jobType in the app definition, use it.
  2. Otherwise, set jobType=null3. For Jobs:
  3. If the user specifies jobType in the job request, use it.
  4. If the app.jobType != null, use it.
  5. Otherwise, if the user specifies an execution system, query that system and set jobType=BATCH if execSys.canRunBatch==true.
  6. Otherwise, set jobType=FORK.5.