source: branches/PublicaMundi_David-devel/docs/_build/html/services/status.html @ 659

Last change on this file since 659 was 659, checked in by nbozon, 10 years ago

Massive update of zoo docs

File size: 11.6 KB
Line 
1
2
3<!DOCTYPE html>
4<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
5<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
6<head>
7  <meta charset="utf-8">
8  <meta name="viewport" content="width=device-width, initial-scale=1.0">
9 
10  <title>ZOO Status Service &mdash; ZOO-Project 1.4a0 documentation</title>
11 
12  <link href="http://fonts.googleapis.com/css?family=Days+One" rel="stylesheet" type="text/css">
13 
14 
15
16 
17
18 
19 
20   
21      <link rel="search" type="application/opensearchdescription+xml" title="Search within ZOO-Project 1.4a0 documentation" href="../_static/opensearch.xml"/>
22   
23
24 
25
26 
27 
28    <link rel="stylesheet" href="../_static/css/theme.css" type="text/css" />
29 
30
31 
32
33 
34    <link rel="top" title="ZOO-Project 1.4a0 documentation" href="../index.html"/>
35        <link rel="up" title="ZOO-Services" href="index.html"/>
36        <link rel="next" title="Debugging ZOO Services" href="debug.html"/>
37        <link rel="prev" title="Create your own ZOO-Services" href="howtos.html"/> 
38
39 
40  <script src="_static/js/modernizr.min.js"></script>
41
42</head>
43
44<body class="wy-body-for-nav" role="document">
45
46  <div class="wy-grid-for-nav">
47
48   
49    <nav data-toggle="wy-nav-shift" class="wy-nav-side">
50      <div class="wy-side-nav-search">
51       
52
53       
54          <a class="shrink" href="http://zoo-project.org"><img src="http://zoo-project.org/img/zoo-sun-logo.png" class="img-responsive sun" style="display: inline;"> ZOO</a>
55       
56
57       
58        </a>
59
60       
61<div role="search">
62  <form id="rtd-search-form" class="wy-form" action="../search.html" method="get">
63    <input type="text" name="q" placeholder="Search docs" />
64    <input type="hidden" name="check_keywords" value="yes" />
65    <input type="hidden" name="area" value="default" />
66  </form>
67</div>
68
69       
70      </div>
71
72      <div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
73       
74         
75         
76              <ul class="current">
77<li class="toctree-l1"><a class="reference internal" href="../intro.html">Introduction</a><ul>
78<li class="toctree-l2"><a class="reference internal" href="../intro.html#what-is-zoo-project">What is ZOO-Project ?</a></li>
79<li class="toctree-l2"><a class="reference internal" href="../intro.html#zoo-project-components">ZOO-Project components</a></li>
80<li class="toctree-l2"><a class="reference internal" href="../intro.html#open-source">Open Source</a></li>
81</ul>
82</li>
83<li class="toctree-l1"><a class="reference internal" href="../install/index.html">ZOO-Project installation</a><ul>
84<li class="toctree-l2"><a class="reference internal" href="../install/install-prerequisites.html">Prerequisites</a></li>
85<li class="toctree-l2"><a class="reference internal" href="../install/install-download.html">Download</a></li>
86<li class="toctree-l2"><a class="reference internal" href="../install/install-confoptions.html">Configure options</a></li>
87<li class="toctree-l2"><a class="reference internal" href="../install/install-installation.html">Installation on Unix/Linux</a></li>
88<li class="toctree-l2"><a class="reference internal" href="../install/install-onwindows.html">Installation on Windows ™</a></li>
89<li class="toctree-l2"><a class="reference internal" href="../install/install-onmacos.html">Installation on MacOSX ™</a></li>
90</ul>
91</li>
92<li class="toctree-l1"><a class="reference internal" href="../kernel/index.html">ZOO-Kernel</a><ul>
93<li class="toctree-l2"><a class="reference internal" href="../kernel/what.html">What is ZOO-Kernel ?</a></li>
94<li class="toctree-l2"><a class="reference internal" href="../kernel/configuration.html">ZOO-Kernel configuration</a></li>
95<li class="toctree-l2"><a class="reference internal" href="../kernel/mapserver.html">Optional MapServer support</a></li>
96<li class="toctree-l2"><a class="reference internal" href="../kernel/orfeotoolbox.html">Optional Orfeo Toolbox support</a></li>
97<li class="toctree-l2"><a class="reference internal" href="../kernel/sagagis.html">Optional SAGA GIS support</a></li>
98</ul>
99</li>
100<li class="toctree-l1 current"><a class="reference internal" href="index.html">ZOO-Services</a><ul class="current">
101<li class="toctree-l2"><a class="reference internal" href="what.html">What are ZOO-Services ?</a></li>
102<li class="toctree-l2"><a class="reference internal" href="zcfg-reference.html">ZOO-Service configuration file</a></li>
103<li class="toctree-l2"><a class="reference internal" href="process-profiles.html">Process profiles registry</a></li>
104<li class="toctree-l2"><a class="reference internal" href="howtos.html">Create your own ZOO-Services</a></li>
105<li class="toctree-l2 current"><a class="current reference internal" href="">ZOO Status Service</a></li>
106<li class="toctree-l2"><a class="reference internal" href="debug.html">Debugging ZOO Services</a></li>
107<li class="toctree-l2"><a class="reference internal" href="zoo-services.html">Available ZOO-Services</a></li>
108</ul>
109</li>
110<li class="toctree-l1"><a class="reference internal" href="../api/index.html">ZOO-API</a><ul>
111<li class="toctree-l2"><a class="reference internal" href="../api/what.html">What is ZOO-API ?</a></li>
112<li class="toctree-l2"><a class="reference internal" href="../api/howto.html">Using ZOO-API</a></li>
113<li class="toctree-l2"><a class="reference internal" href="../api/classes.html">ZOO-API Classes</a></li>
114<li class="toctree-l2"><a class="reference internal" href="../api/examples.html">Examples</a></li>
115</ul>
116</li>
117<li class="toctree-l1"><a class="reference internal" href="../client/index.html">ZOO-Client</a><ul>
118<li class="toctree-l2"><a class="reference internal" href="../client/what.html">What is ZOO-Client ?</a></li>
119<li class="toctree-l2"><a class="reference internal" href="../client/howto.html">Using ZOO-Client</a></li>
120<li class="toctree-l2"><a class="reference internal" href="../client/example.html">Example application</a></li>
121</ul>
122</li>
123<li class="toctree-l1"><a class="reference internal" href="../contribute/index.html">Contributor Guide</a><ul>
124<li class="toctree-l2"><a class="reference internal" href="../contribute/howto.html">How to contribute ?</a></li>
125<li class="toctree-l2"><a class="reference internal" href="../contribute/code.html">Contribute code</a></li>
126</ul>
127</li>
128</ul>
129
130         
131       
132      </div>
133      &nbsp;
134    </nav>
135
136    <section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
137
138     
139      <nav class="wy-nav-top" role="navigation" aria-label="top navigation">
140        <i data-toggle="wy-nav-top" class="fa fa-bars"></i>
141        <a href="../contents.html">ZOO-Project</a>
142      </nav>
143
144
145     
146      <div class="wy-nav-content">
147        <div class="rst-content">
148          <div role="navigation" aria-label="breadcrumbs navigation">
149  <ul class="wy-breadcrumbs">
150
151    <li><a href="../contents.html"> Docs</a> &#8725; &#160;</li>
152     
153          <li><a href="index.html">ZOO-Services</a> &#8725; &#160;</li>
154     
155    <li>ZOO Status Service</li>
156      <li class="wy-breadcrumbs-aside">
157       
158          <a href="../_sources/services/status.txt" rel="nofollow"> View page source</a>
159       
160      </li>
161  </ul>
162  <hr/>
163</div>
164          <div role="main" class="document">
165           
166  <div class="section" id="zoo-status-service">
167<span id="services-status"></span><h1>ZOO Status Service<a class="headerlink" href="#zoo-status-service" title="Permalink to this headline"></a></h1>
168<p>The ZOO-Status Service is a <a class="reference external" href="http://zoo-project.org">ZOO-Project</a>
169utility allowing to get the status of a running WPS Service.</p>
170<div class="section" id="description">
171<h2>Description<a class="headerlink" href="#description" title="Permalink to this headline"></a></h2>
172<p>It returns the stage of completion of the ongoing Service in percentage
173(%). The ZOO-Status Service is usefull to monitor <a class="reference internal" href="index.html#services-index"><span>ZOO-Services</span></a>. It can
174also be used to animate WPS progress bars from client-side applications.</p>
175</div>
176<div class="section" id="installation">
177<h2>Installation<a class="headerlink" href="#installation" title="Permalink to this headline"></a></h2>
178<p>To install the <code class="docutils literal"><span class="pre">ZOO</span> <span class="pre">Status</span> <span class="pre">Service</span></code> you have to move in
179<code class="docutils literal"><span class="pre">/path/to/zoo/source/zoo-services/utils/status/</span></code> and compile the source
180running the <code class="docutils literal"><span class="pre">make</span></code> command.
181If no errors are returned during compilation you can copy the content of <code class="docutils literal"><span class="pre">cgi-env</span></code>
182to <code class="docutils literal"><span class="pre">/usr/lib/cgi-bin/</span></code> or where you have your <code class="docutils literal"><span class="pre">zoo_loader.cgi</span></code> working with this
183command (you need administration right):</p>
184<div class="highlight-python"><div class="highlight"><pre>cp /path/to/zoo/source/zoo-services/utils/status/cgi-env/*{zcfg,zo,py} /usr/lib/cgi-bin
185</pre></div>
186</div>
187<p>With this command you copy the code to permit to <code class="docutils literal"><span class="pre">ZOO</span> <span class="pre">Status</span> <span class="pre">Service</span></code> and some
188example processes about how it works.</p>
189<p>Now you have to add these two lines to <code class="docutils literal"><span class="pre">main.cfg</span></code> :</p>
190<div class="highlight-python"><div class="highlight"><pre>rewriteUrl=call
191dataPath=/var/www/data
192</pre></div>
193</div>
194<p>Here you define the path where the service is able to find the xsl file, specified in the dataPath
195parameter. You also tell the ZOO Kernel that you want to use the <a class="reference external" href="../kernel/install-debian.html#rewrite-rule-configuration">rewriteUrl</a>.</p>
196<p>The last operation is to copy the <code class="docutils literal"><span class="pre">updateStatus.xsl</span></code> to <code class="docutils literal"><span class="pre">dataPath</span></code> directory as follow:</p>
197<div class="highlight-python"><div class="highlight"><pre>cp /path/to/zoo/source/zoo-services/utils/status/cgi-env/*{xsl} /var/www/data
198</pre></div>
199</div>
200</div>
201</div>
202
203
204          </div>
205          <footer>
206 
207    <div class="rst-footer-buttons" role="navigation" aria-label="footer navigation">
208     
209        <a href="debug.html" class="btn btn-neutral float-right" title="Debugging ZOO Services">Next <span class="fa fa-arrow-circle-right"></span></a>
210     
211     
212        <a href="howtos.html" class="btn btn-neutral" title="Create your own ZOO-Services"><span class="fa fa-arrow-circle-left"></span> Previous</a>
213     
214    </div>
215 
216
217  <hr/>
218  <div class="pfoot">
219  <div role="contentinfo">
220    <p>
221        &copy; Copyright 2009-2015, ZOO-Project team.
222    </p>
223  </div>
224  Built with <a href="http://sphinx-doc.org/">Sphinx</a> using a <a href="https://github.com/snide/sphinx_rtd_theme">theme</a> inspired by <a href="https://readthedocs.org">Read the Docs</a>.
225</div>
226</footer>
227
228        </div>
229      </div>
230
231    </section>
232
233  </div>
234 
235
236
237 
238
239    <script type="text/javascript">
240        var DOCUMENTATION_OPTIONS = {
241            URL_ROOT:'../',
242            VERSION:'1.4a0',
243            COLLAPSE_INDEX:false,
244            FILE_SUFFIX:'.html',
245            HAS_SOURCE:  true
246        };
247    </script>
248      <script type="text/javascript" src="../_static/jquery.js"></script>
249      <script type="text/javascript" src="../_static/underscore.js"></script>
250      <script type="text/javascript" src="../_static/doctools.js"></script>
251
252 
253
254 
255 
256    <script type="text/javascript" src="../_static/js/theme.js"></script>
257 
258
259 
260 
261  <script type="text/javascript">
262      jQuery(function () {
263          SphinxRtdTheme.StickyNav.enable();
264      });
265  </script>
266   
267
268</body>
269</html>
Note: See TracBrowser for help on using the repository browser.

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