Ciop-appcheck » History » Version 4
Herve Caumont, 2013-09-25 12:21
| 1 | 3 | Herve Caumont | h1. ciop-appcheck CLI reference |
|---|---|---|---|
| 2 | |||
| 3 | 4 | Herve Caumont | {{>toc}} |
| 4 | |||
| 5 | 3 | Herve Caumont | Perform a completeness check of an application template. |
| 6 | The application template is defined as a disk space with a structure of directories and files following a set of template rules. |
||
| 7 | Applications must conform to this template in order to integrate correctly as a processing workflow in Cluster mode. Moreover, an application workflow must be defined as a directed acyclic graph (DAG). |
||
| 8 | |||
| 9 | h2. Name |
||
| 10 | |||
| 11 | ciop-appcheck - checks the validity of the application descriptor file (application.xml) |
||
| 12 | |||
| 13 | h2. Synopsys |
||
| 14 | |||
| 15 | <pre> |
||
| 16 | ciop-appcheck [options] |
||
| 17 | </pre> |
||
| 18 | |||
| 19 | h2. Description |
||
| 20 | |||
| 21 | ciop-appcheck checks the validity of the application descriptor file (application.xml) against the XSD schema. |
||
| 22 | |||
| 23 | 1 | Herve Caumont | The following options are available |
| 24 | 3 | Herve Caumont | |
| 25 | 4 | Herve Caumont | > -f filename of the application descriptor file |
| 26 | Allows providing a application description file instead of the default ${_CIOP_APPLICATION_PATH}/application.xml |
||
| 27 | 3 | Herve Caumont | |
| 28 | h2. Exit status |
||
| 29 | |||
| 30 | The ciop-appcheck returns are: |
||
| 31 | |||
| 32 | 0 the application descriptor file check is successful |
||
| 33 | 1 the application descriptor file is not found |
||
| 34 | |||
| 35 | 1 | Herve Caumont | *See man page for range and list operators.* |
| 36 | |||
| 37 | h2. Examples |
||
| 38 | |||
| 39 | 4 | Herve Caumont | h3. Example 1. Check the validity of the application descriptor file in its default location |
| 40 | |||
| 41 | Default location of the check (${_CIOP_APPLICATION_PATH}/application.xml) |
||
| 42 | |||
| 43 | 1 | Herve Caumont | <pre> |
| 44 | 3 | Herve Caumont | ciop-appcheck |
| 45 | </pre> |
||
| 46 | |||
| 47 | 4 | Herve Caumont | h3. Example 2. Check the validity of an application descriptor file |
| 48 | |||
| 49 | 1 | Herve Caumont | <pre> |
| 50 | 3 | Herve Caumont | ciop-appcheck -f /tmp/test.xml |
| 51 | </pre> |
||
| 52 | |||
| 53 | h2. See also |
||
| 54 | |||
| 55 | 4 | Herve Caumont | p. [[ciop-package]] |