Changes between Initial Version and Version 1 of ZooKernelInternal


Ignore:
Timestamp:
Sep 12, 2009, 1:27:00 AM (15 years ago)
Author:
djay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ZooKernelInternal

    v1 v1  
     1= ZooKernel Intenal mechanisms =
     2
     3The ZooKernel is the core of the Zoo WPS Server. Indeed, it is responsible to run services or get informations from an available service and provide a well formed output document.
     4
     5== Services ==
     6
     7Before explaining processes involved in the ZooKernel we will explain what is a service from the ZooKernel point of view. A service is simply a metadata file (file using MetadataSyntax and using the {{{.zcfg}}} extension) which describe the specific service metadata, such as Title, Metadata, Inputs, Outputs. Coupled to this metadata description file, ZooKernel use a dynamic library (or python module or ..., called service shared object) which it dynamicaly load and run specified function (the Identifier passed through a request).
     8
     9== General Principles ==
     10
     11ZooKernel always parse the request provided by the web server. If the request has been sent using the GET method, then the ZooKernel will treat parameters in a normal way (using KVP). To treat the POST method, ZooKernel will use the request parameter sent as an XML file containing a specific operation request document (GetCapabilities, DescribeProcess or Execute).
     12
     13ZooKernel store parsed values in a maps datastructure.
     14
     15== Requests ==
     16
     17==== GetCapabilities ====
     18
     19As the response to this request should simply include metadata of a services provided by a WPS server, the ZooKernel just parse the metadata file and output a well formed GetCapabilities document.
     20
     21==== DescribeProcess ====
     22
     23As the response to this request should simply include metadata of one (or more) service, ZooKernel parse one (or every metadata file for requested identifiers) and output a well formed DescribeProcess document.
     24
     25==== Execute ====
     26
     27In this case, ZooKernel first parse the metadata file to get specific requested informations, such as default value formating (if nothing was speficified in request or to check if specified was acceptable), then dynamicaly load the service shared object, try to call the process and output a well formed ResponseDocument or the returned file in case of RawDataOutput was queried.

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