Changeset 904 for branches/prototype-v0/docs/kernel/configuration.rst
- Timestamp:
- Apr 19, 2019, 4:33:36 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/prototype-v0/docs/kernel/configuration.rst
r817 r904 94 94 service providers, e.g., shared libraries with service implementations 95 95 (the ``serviceProvider`` parameter in the service configuration (.zcfg) file). 96 * ``memory``: (Optional) can take the value ``load`` to ensure that 97 the value field of the inputs data will be filled by the ZOO-Kernel 98 or ``protected`` to have only the ``cache_file`` filled. 99 96 100 97 101 .. warning:: 98 102 The ``libPath`` parameter is currently only recognized by services implemented 99 103 in C/C++ or PHP, and may be moved to another section in future versions. 100 104 105 106 .. warning:: 107 Depending on the ``memory`` parameter the WPS Service will receive 108 different fields (``value`` or ``cache_file``). 109 101 110 In case you have activated the MapServer support, please refer to 102 111 :ref:`this specific section <kernel-mapserver-main.cfg>`. … … 264 273 hosts=localhost,127.0.0.1 265 274 275 Optionaly, you can also define the shared url(s), meaning that even if 276 the ressource requires authentication to be accessed, this 277 authentifcation won't be used to define the name for storing the 278 file. Hence, two user with different authentication will use the same 279 file as it is considerated as shared. You can find bellow a sample 280 security section containing the shared parameter. In this example, 281 every requests to access the coverage using the url defined in the 282 shared parameter (``myHost/cgi-bin/WCS_Server``) will be shared 283 between users. 284 285 .. code:: 286 287 [security] 288 attributes=Authorization,Cookie,User-Agent 289 hosts=localhost,127.0.0.1 290 shared=myHost/cgi-bin/WCS_Server 266 291 267 292 .. _zoo_activate_db_backend: … … 300 325 to setup the database. 301 326 327 328 Database section 329 ............................... 330 331 The database section allows to configure the ZOO-Kernel to access the 332 metadata information about WPS Services by using a PostgreSQL database 333 in addition to the zcfg files. 334 335 .. code-block:: guess 336 337 [metadb] 338 dbname=zoo_metadb 339 port=5432 340 user=username 341 host=127.0.0.1 342 type=PG 343 344 This will generate strings to be passed to GDAL to connect the 345 database server: 346 347 .. code-block:: guess 348 349 <type>:host=<host> port=<port> user=<user> dbname=<dbname> 350 351 352 With the previous database section, it will give the following: 353 354 .. code-block:: guess 355 356 PG:"dbname=zoo_metadb host=127.0.0.1 port=5432 user=username" 357 358 Please refer to this `section <zoo_create_metadb>`_ to learn how 359 to setup the database. 360 302 361 Include section 303 362 ...............................
Note: See TracChangeset
for help on using the changeset viewer.