Changeset 968 for trunk/docker


Ignore:
Timestamp:
Dec 18, 2020, 7:11:27 PM (3 years ago)
Author:
djay
Message:

Add websocketd container to docker-compose and make the OGC API - Processes and it basic UI available.

Location:
trunk/docker
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/docker/main.cfg

    r959 r968  
    99dataPath = /usr/com/zoo-project
    1010cacheDir = /tmp/
     11templatesPath = /var/www/
    1112
    1213[identification]
  • trunk/docker/oas.cfg

    r959 r968  
    11[openapi]
    2 rootUrl=http://localhost/cgi-bin/zoo_loader.cgi
     2use_content=false
     3rootUrl=http://localhost/ogc-api
    34links=/,/api,/conformance,/processes
    4 paths=/root,/api,/conformance,/processes,/processes/{id},/processes/{id}/jobs,/processes/{id}/jobs/{jobID},/processes/{id}/jobs/{jobID}/result
     5paths=/root,/api,/conformance,/processes,/processes/{id},/processes/{id}/jobs,/processes/{id}/jobs/{jobID},/processes/{id}/jobs/{jobID}/results
    56parameters=id,jobID,resultID
    6 header_parameters=oas-header1,oas-header2
    7 version=3.0.1
    8 
    9 [oas-header1]
    10 in=header
    11 name=Prefer
    12 type=string
    13 required=false
    14 enum=respond-async
    15 
    16 [oas-header2]
    17 in=header
    18 name=Prefer
    19 type=string
    20 required=false
    21 enum=return=representation,return=minimal
     7version=3.0.2
     8license_name=OGC license
     9license_url=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/LICENSE
     10full_html_support=false
     11partial_html_support=true
     12wsUrl=ws://localhost:8888/
     13publisherUrl=http://localhost/cgi-bin/publish.py?jobid=
     14io_as_array=true
    2215
    2316[/]
     
    3225tags=Home
    3326tags_description=
    34 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/root.yaml
     27schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/LandingPage.yaml
     28
     29[/index.html]
     30rel=alternate
     31type=text/html
    3532
    3633[/api]
    37 rel=service
     34rel=service-desc
    3835type=application/openapi+json;version=3.0
    3936title=the API definition
     37
     38[/api.html]
     39rel=service-doc
     40type=text/hml
     41
     42[api.html]
     43href=https://demo.mapmint.com/swagger-ui/ogc-api-processes/
    4044
    4145[api]
     
    5054rel=conformance
    5155type=application/json
    52 title=WPS 2.0 REST/JSON Binding Extension conformance classes implemented by this server
     56title=OGC API - Processes conformance classes implemented by this server
    5357
    5458[conformance]
    5559method=get
    5660title=information about standards that this API conforms to
    57 abstract==list all requirements classes specified in a standard (e.g., WPS REST/JSON Binding Core) that the server conforms to
     61abstract=list all requirements classes specified in a standard (e.g., WPS REST/JSON Binding Core) that the server conforms to
    5862tags=Conformance
    5963tags_description=
    60 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/req-classes.yaml
     64schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ConformanceDeclaration.yaml
     65
     66[/conformance.html]
     67rel=alternate
     68type=text/hml
    6169
    6270[/processes]
     
    7179tags=GetCapabilities
    7280tags_description=
    73 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/processCollection.yaml
     81schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ProcessList.yaml
     82
     83[/processes.html]
     84rel=alternate
     85type=text/hml
    7486
    7587[processes/{id}]
     
    7991tags=ProcessDescription
    8092tags_description=
    81 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/process.yaml
     93schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ProcessDescription.yaml
     94ecode=404
    8295parameters=/components/parameters/id
    8396
     
    95108tags=JobList
    96109tags_description=
    97 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/jobCollection.yaml
     110schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/JobList.yaml
    98111parameters=/components/parameters/id
     112ecode=404,500
    99113method_1=post
    100114title_1=execute a job
     
    102116tags_1=Execute Endpoint
    103117tags_description_1=
    104 schema_1=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/result.yaml
    105 parameters_1=/components/parameters/id,/components/parameters/oas-header1
     118schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ExecuteSync.yaml
     119parameters_1=/components/parameters/id
     120ecode_1=400,404,500
     121eschema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ExecuteAsync.yaml
     122ep=,/components/parameters/oas-header1
    106123
    107124[requestBody]
    108125abstract=Mandatory execute request in JSON format
    109126type=application/json
    110 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/execute.yaml
     127schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/execute.yaml
    111128
    112129[/processes/{id}/jobs/{jobID}]
     
    116133
    117134[processes/{id}/jobs/{jobID}]
     135length=2
    118136method=get
    119137title=The status of a job.
     
    121139tags=GetStatus
    122140tags_description=
    123 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/statusInfo.yaml
     141schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/Status.yaml
    124142parameters=/components/parameters/id,/components/parameters/jobID
    125 
    126 [/processes/{id}/jobs/{jobID}/result]
     143method_1=delete
     144title_1=Cancel a job
     145abstract_1=Cancel the job execution.
     146tags_1=Dismiss
     147tags_description_1=Cencel a job execution
     148schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/Status.yaml
     149parameters_1=/components/parameters/id,/components/parameters/jobID
     150ecode_1=404,500
     151
     152
     153[/processes/{id}/jobs/{jobID}/results]
    127154rel=canonical
    128155type=application/json
    129156title=Get Result
    130157
    131 [processes/{id}/jobs/{jobID}/result]
     158[processes/{id}/jobs/{jobID}/results]
    132159method=get
    133160title=The result of a job execution.
     
    135162tags=GetResult
    136163tags_description=
    137 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/result.yaml
     164schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/Results.yaml
    138165parameters=/components/parameters/id,/components/parameters/jobID
     166ecode=404,500
    139167ep=,/components/parameters/oas-header2
    140168
     
    150178tags=GetResult
    151179tags_description=
    152 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/valueType.yaml
    153 parameters=/components/parameters/id,/components/parameters/jobID,/components/parameters/resultID,/components/parameters/oas-header2
     180schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/valueType.yaml
     181parameters=/components/parameters/id,/components/parameters/jobID,/components/parameters/resultID
     182ep=,/components/parameters/oas-header2
    154183
    155184
     
    184213required=false
    185214
    186 [conformTo]
    187 rootUrl=http://www.opengis.net/spec/WPS/2.0/req/service/binding/rest-json/
     215[conformsTo]
     216rootUrl=http://www.opengis.net/spec/ogcapi-processes/1.0/conf/
     217rootUrl0=http://www.opengis.net/spec/WPS/2.0/req/service/binding/rest-json/
    188218link=core
    189219link_1=oas30
    190220link_2=json
    191 length=3
     221link_3=job-list
     222link_4=dismiss
     223link_5=callback
     224length=6
    192225
    193226[exception]
    194227abstract=Exception
    195228type=application/json
    196 schema=https://raw.githubusercontent.com/opengeospatial/wps-rest-binding/master/core/openapi/schemas/exception.yaml
    197 
     229schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/NotFound.yaml
     230default_schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ServerError.yaml
     231
     232[responses]
     233length=5
     234code=404
     235schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/NotFound.yaml
     236type=application/json
     237title=NotFound
     238code_1=500
     239schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/ServerError.yaml
     240type_1=application/json
     241title_1=ServerError
     242code_2=400
     243schema_2=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/InvalidParameter.yaml
     244type_2=appliction/json
     245title_2=InvalidParameter
     246code_3=405
     247schema_3=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/NotAllowed.yaml
     248type_3=appliction/json
     249title_3=NotAllowed
     250code_4=406
     251schema_4=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/responses/NotSupported.yaml
     252type_4=appliction/json
     253title_4=NotSupported
     254
     255[callbacks]
     256length=3
     257state=jobSuccess
     258uri=successUri
     259schema=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/result.yaml
     260type=application/json
     261title=Results received successfully
     262state_1=jobInProgress
     263uri_1=inProgressUri
     264schema_1=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/statusInfo.yaml
     265type_1=application/json
     266title_1=Results received successfully
     267state_2=jobFailed
     268uri_2=failedUrii
     269schema_2=https://raw.githubusercontent.com/gfenoy/wps-rest-binding/change-request/95/core/openapi/schemas/exception.yaml
     270type_2=application/json
     271title_2=Exception received successfully
     272
     273[links_title]
     274self=View this document in JSON.
     275alternate=View the alternative version in HTML.
     276conformance=View the specifications that the link’s context conforms to.
     277service-desc=View the service description.
     278service-doc=View service documentation.
     279processes=View the list of processes the API offers.
     280results=View the results of a process.
     281status=View the current status of a job execution.
     282execute=View the execution endpoint of a process.
     283
     284[provider_alt]
     285addressDeliveryPoint=streetAddress
     286addressCity=addressLocality
     287addressAdministrativeArea=addressRegion
     288addressPostalCode=postalCode
     289addressCountry=addressCountry
     290addressElectronicMailAddress=email
     291phoneVoice=telephone
     292phoneFacsimile=faxNumber
     293hoursOfService=hoursAvailable
     294contactInstructions=contactOption
     295
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