Changeset 985 for trunk/docker


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

Location:
trunk/docker
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docker/main.cfg

    r984 r985  
    66lang = fr-FR,en-CA,en-US
    77tmpPath=/tmp/
    8 tmpUrl = ../temp/
     8tmpUrl = http://localhost/temp/
    99dataPath = /usr/com/zoo-project
    1010cacheDir = /tmp/
     
    1515
    1616[identification]
    17 title = The ZOO-Project OGC WPS Development Server
    18 abstract = Development version of ZOO-Project OGC WPS. See http://www.zoo-project.org
     17title = The ZOO-Project OGC WPS Developement Server
     18abstract = Developement version of ZOO-Project OGC WPS. See http://www.zoo-project.org
    1919fees = None
    2020accessConstraints = none
  • trunk/docker/oas.cfg

    r984 r985  
    22use_content=false
    33rootUrl=http://localhost/ogc-api
    4 links=/,/api,/conformance,/processes
    5 paths=/root,/api,/conformance,/processes,/processes/{id},/processes/{id}/jobs,/processes/{id}/jobs/{jobID},/processes/{id}/jobs/{jobID}/results
     4links=/,/api,/conformance,/processes,/jobs
     5paths=/root,/api,/conformance,/processes,/processes/{id},/jobs,/jobs/{jobID},/jobs/{jobID}/results
    66parameters=id,jobID,resultID
    77version=3.0.2
     
    2424tags=Home
    2525tags_description=
    26 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/LandingPage.yaml
     26schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/LandingPage.yaml
    2727
    2828[/index.html]
     
    6161tags=Conformance
    6262tags_description=
    63 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ConformanceDeclaration.yaml
     63schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ConformanceDeclaration.yaml
    6464
    6565[/conformance.html]
     
    7878tags=GetCapabilities
    7979tags_description=
    80 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ProcessList.yaml
     80schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ProcessList.yaml
    8181
    8282[/processes.html]
     
    9090tags=ProcessDescription
    9191tags_description=
    92 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ProcessDescription.yaml
     92schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ProcessDescription.yaml
    9393ecode=404
    9494parameters=/components/parameters/id
     
    107107tags=JobList
    108108tags_description=
    109 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/JobList.yaml
     109schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/JobList.yaml
    110110parameters=/components/parameters/id
    111111ecode=404,500
     
    115115tags_1=Execute Endpoint
    116116tags_description_1=
    117 schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ExecuteSync.yaml
     117schema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ExecuteSync.yaml
    118118parameters_1=/components/parameters/id
    119119ecode_1=400,404,500
    120 eschema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ExecuteAsync.yaml
     120eschema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ExecuteAsync.yaml
     121ep=,/components/parameters/oas-header1
     122
     123[/jobs]
     124rel=canonical
     125type=application/json
     126title=Execute Endpoint
     127
     128[jobs]
     129length=2
     130method=get
     131title=retrieve a list of jobs run
     132abstract=A list of jobs run.
     133tags=JobList
     134tags_description=
     135schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/JobList.yaml
     136parameters=
     137ecode=404,500
     138method_1=post
     139title_1=execute a job
     140abstract_1=An execute endpoint.
     141tags_1=ExecuteEndpoint
     142tags_description_1=
     143schema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ExecuteSync.yaml
     144parameters_1=
     145ecode_1=400,404,500
     146eschema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ExecuteAsync.yaml
    121147ep=,/components/parameters/oas-header1
    122148
     
    124150abstract=Mandatory execute request in JSON format
    125151type=application/json
    126 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/execute.yaml
     152schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/execute.yaml
     153
     154[/jobs.html]
     155rel=alternate
     156type=text/hml
    127157
    128158[/processes/{id}/jobs/{jobID}]
     
    138168tags=GetStatus
    139169tags_description=
    140 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/Status.yaml
     170schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/Status.yaml
    141171parameters=/components/parameters/id,/components/parameters/jobID
    142172method_1=delete
     
    145175tags_1=Dismiss
    146176tags_description_1=Cencel a job execution
    147 schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/Status.yaml
     177schema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/Status.yaml
    148178parameters_1=/components/parameters/id,/components/parameters/jobID
     179ecode_1=404,500
     180
     181[/jobs/{jobID}]
     182rel=canonical
     183type=application/json
     184title=Status
     185
     186[jobs/{jobID}]
     187length=2
     188method=get
     189title=The status of a job.
     190abstract=The status of a job.
     191tags=GetStatus
     192tags_description=
     193schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/Status.yaml
     194parameters=/components/parameters/jobID
     195method_1=delete
     196title_1=Cancel a job
     197abstract_1=Cancel the job execution.
     198tags_1=Dismiss
     199tags_description_1=Cancel a job execution
     200schema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/Status.yaml
     201parameters_1=/components/parameters/jobID
    149202ecode_1=404,500
    150203
     
    161214tags=GetResult
    162215tags_description=
    163 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/Results.yaml
     216schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/Results.yaml
    164217parameters=/components/parameters/id,/components/parameters/jobID
    165218ecode=404,500
    166219ep=,/components/parameters/oas-header2
    167220
    168 [/processes/{id}/jobs/{jobID}/result/{resultID}]
     221[/jobs/{jobID}/results]
    169222rel=canonical
    170223type=application/json
    171224title=Get Result
    172225
    173 [processes/{id}/jobs/{jobID}/result/{resultID}]
     226[jobs/{jobID}/results]
    174227method=get
    175228title=The result of a job execution.
     
    177230tags=GetResult
    178231tags_description=
    179 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/valueType.yaml
     232schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/Results.yaml
     233parameters=/components/parameters/jobID
     234ecode=404,500
     235ep=,/components/parameters/oas-header2
     236
     237[/processes/{id}/jobs/{jobID}/result/{resultID}]
     238rel=canonical
     239type=application/json
     240title=Get Result
     241
     242[processes/{id}/jobs/{jobID}/result/{resultID}]
     243method=get
     244title=The result of a job execution.
     245abstract=The result of a job execution.
     246tags=GetResult
     247tags_description=
     248schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/valueType.yaml
    180249parameters=/components/parameters/id,/components/parameters/jobID,/components/parameters/resultID
    181250ep=,/components/parameters/oas-header2
     
    213282
    214283[conformsTo]
    215 rootUrl=http://www.opengis.net/spec/ogcapi-processes/1.0/conf/
     284rootUrl=http://www.opengis.net/spec/ogcapi-processes/1.0/req/
    216285rootUrl0=http://www.opengis.net/spec/WPS/2.0/req/service/binding/rest-json/
    217286link=core
     
    221290link_4=dismiss
    222291link_5=callback
    223 length=6
     292link_6=ogc-process-description
     293link_7=html
     294length=8
    224295
    225296[exception]
    226297abstract=Exception
    227298type=application/json
    228 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/NotFound.yaml
    229 default_schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ServerError.yaml
     299schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/responses/NotFound.yaml
     300default_schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ServerError.yaml
    230301
    231302[responses]
    232303length=5
    233304code=404
    234 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/NotFound.yaml
     305schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/NotFound.yaml
    235306type=application/json
    236307title=NotFound
    237308code_1=500
    238 schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ServerError.yaml
     309schema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/ServerError.yaml
    239310type_1=application/json
    240311title_1=ServerError
    241312code_2=400
    242 schema_2=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/InvalidParameter.yaml
     313schema_2=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/InvalidParameter.yaml
    243314type_2=appliction/json
    244315title_2=InvalidParameter
    245316code_3=405
    246 schema_3=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/NotAllowed.yaml
     317schema_3=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/NotAllowed.yaml
    247318type_3=appliction/json
    248319title_3=NotAllowed
    249320code_4=406
    250 schema_4=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/NotSupported.yaml
     321schema_4=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/responses/NotSupported.yaml
    251322type_4=appliction/json
    252323title_4=NotSupported
     
    256327state=jobSuccess
    257328uri=successUri
    258 schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/result.yaml
     329schema=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/result.yaml
    259330type=application/json
    260331title=Results received successfully
    261332state_1=jobInProgress
    262333uri_1=inProgressUri
    263 schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/statusInfo.yaml
     334schema_1=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/statusInfo.yaml
    264335type_1=application/json
    265336title_1=Results received successfully
    266337state_2=jobFailed
    267338uri_2=failedUrii
    268 schema_2=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/exception.yaml
     339schema_2=https://raw.githubusercontent.com/opengeospatial/ogcapi-processes/master/core/openapi/schemas/exception.yaml
    269340type_2=application/json
    270341title_2=Exception received successfully
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