Ignore:
Timestamp:
Mar 9, 2021, 10:00:04 AM (4 years ago)
Author:
djay
Message:

Move jobs management and execution endpoint from /processes/{procssId}/jobs to /jobs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/zoo-project/zoo-services/utils/open-api/templates/index.html

    r984 r985  
    160160 #set cFormats=[]
    161161  #for j in range(len($obj["input"]["formats"]))
    162   #set $cFormats+=[$obj["input"]["formats"][$j]["mimeType"]]
     162  #set $cFormats+=[$obj["input"]["formats"][$j]["mediaType"]]
    163163  #end for
    164164  $printControl({"title": "format","type": "input_format","name": $cName,"options":$cFormats})
     
    272272          <input type="hidden" name="oapi_ioAsArray" value="#if "io_as_array" in $openapi["openapi"]#$openapi["openapi"]["io_as_array"]#else#false#end if#" />
    273273          <input type="hidden" name="oapi_wsUrl" value="$openapi["openapi"]["wsurl"]" />
    274           <input type="hidden" name="oapi_jobUrl" value="$openapi["openapi"]["rootUrl"]$(currentUrl)/jobs" />
     274          <input type="hidden" name="oapi_jobUrl" value="$openapi["openapi"]["rootUrl"]/jobs" />
    275275          <input type="hidden" name="oapi_reqID" value="$cid" />
    276276          <h3>Inputs</h3>
     
    291291            #if "formats" in $cOutput["output"]
    292292            #for j in range(len($cOutput["output"]["formats"]))
    293             #set cFormats+=[$cOutput["output"]["formats"][$j]["mimeType"]]
     293            #set cFormats+=[$cOutput["output"]["formats"][$j]["mediaType"]]
    294294            #end for
    295295            #end if
     
    424424          * Jobs list
    425425          *#
    426           #set cValue=$values[$i]["infos"]
     426          #set cValue=$values[$i]
    427427          <th scope="row">
    428428            #if "status" in $cValue and $cValue["status"]=="successful"
     
    526526      <hr>
    527527      <address>$openapi["openapi"]["rootUrl"]$(currentUrl).html</address>
    528       <!-- hhmts start -->Last modified: Mon Mar  1 17:01:50 CET 2021 <!-- hhmts end -->
     528      <!-- hhmts start -->Last modified: Thu Mar  4 10:51:46 CET 2021 <!-- hhmts end -->
    529529    </main>
    530530#if $currentKey=="root"
Note: See TracChangeset for help on using the changeset viewer.

Search

Context Navigation

ZOO Sponsors

http://www.zoo-project.org/trac/chrome/site/img/geolabs-logo.pnghttp://www.zoo-project.org/trac/chrome/site/img/neogeo-logo.png http://www.zoo-project.org/trac/chrome/site/img/apptech-logo.png http://www.zoo-project.org/trac/chrome/site/img/3liz-logo.png http://www.zoo-project.org/trac/chrome/site/img/gateway-logo.png

Become a sponsor !

Knowledge partners

http://www.zoo-project.org/trac/chrome/site/img/ocu-logo.png http://www.zoo-project.org/trac/chrome/site/img/gucas-logo.png http://www.zoo-project.org/trac/chrome/site/img/polimi-logo.png http://www.zoo-project.org/trac/chrome/site/img/fem-logo.png http://www.zoo-project.org/trac/chrome/site/img/supsi-logo.png http://www.zoo-project.org/trac/chrome/site/img/cumtb-logo.png

Become a knowledge partner

Related links

http://zoo-project.org/img/ogclogo.png http://zoo-project.org/img/osgeologo.png