runner: fix typos in schema.json
[slapos.git] / software / slaprunner / schema.json
1 {
2         "$schema": "http://json-schema.org/draft-04/schema#",
3                 "properties": {
4                         "user-authorized-key": {
5                                 "description" : "SSH public key in order to connect to the SSH server of this runner instance",
6                                 "type": "string"
7                         },
8                         "instance-amount": {
9                                 "description": "number of slappart to deploy inside the runner. Needs instance to be restarted.",
10                                 "type": "integer",
11                                 "default": 10
12                         },
13                         "slapos-software": {
14                                 "description": "a relative path from the slapos git repo to a folder containing a software release, which will be automaticaly deployed while the runner instanciation, and only if the parameter auto-deploy is set to 'true'. For example: 'software/helloworld",
15                                 "type": "string"
16                         },
17                         "auto-deploy": { "description": "authorizes the software declared with 'slapos-software' to be automatically deployed, or not. Needs instance to be restarted.",
18                                 "type": "boolean",
19                                 "default": "false"
20                         },
21                         "slapos-repository": {
22                                 "description": "url of the default git repository that will be download by the runner while its instanciation. Will be cloned in a directory named 'slapos'",
23                                 "type": "string",
24                                 "default": "http://git.erp5.org/repos/slapos.git"
25                         },
26                         "slapos-reference": {
27                                 "description": "commit reference on which the default repository will checkout",
28                                 "type": "string",
29                                 "default": "master"
30                         },
31                         "auto-deploy-instance": {
32                                 "description": "prevent the runner from deploying and starting instances. Needs instance to be restarted.",
33                                 "type": "boolean",
34                                 "default": "true, but is set to false for instances of type 'import' in resiliency"
35                         },
36                         "autorun": {
37                                 "description": "let automaticaly build and run a declared software with 'slapos-software'. Only works if 'slapos-software' is set, and 'auto-deploy' is true. Needs instance to be restarted.",
38                                 "type": "boolean",
39                                 "default": "false"
40                         },
41                         "slapos-software-type": {
42                                 "description": "Software type of your instance inside the runner",
43                                 "type": "string"
44                         },
45                         "parameter-*": {
46                                 "description": "'*' is a parameter which will be used to configure the instance inside the runner.",
47                                 "type": "string"
48                         },
49                         "custom-frontend-backend-url": {
50                                 "description": "return an ipv4 frontend of the given ipv6(+optional port)",
51                                 "type": "string"
52                         },
53                         "custom-frontend-backend-type": {
54                                 "description": "The type of the frontend slave instance to ask",
55                                 "type": "string"
56                         },
57                         "custom-frontend-basic-auth": {
58                                 "description": "if the ip given with 'custom-frontend-backend-url' is secure, set it to true for the promise do not fail",
59                                 "type": "boolean",
60                                 "default": "false"
61                         },
62                         "custom-frontend-instance-guid": {
63                                 "description": "Instance guid of the frontend you whish to use",
64                                 "type": "string",
65                                 "default": "none"
66                         },
67                         "custom-frontend-software-type": {
68                                 "description": "SoftwareType of the frontend you request",
69                                 "default": "RootSoftwareInstance",
70                                 "type": "string"
71                         },
72                         "custom-frontend-software-url": {
73                                 "description": "Software Url of the frontend you request",
74                                 "default": "http://git.erp5.org/gitweb/slapos.git/blob_plain/HEAD:/software/apache-frontend/software.cfg",
75                                 "type": "string"
76                         },
77                         "monitor-port": {
78                                 "description": "allow to manually change the port on wich the apache server running monitoring interface is listening. The default value for the webrunner is different from the default value of the standalone stack-monitor server",
79                                 "type": "integer",
80                                 "default": 9684
81                         },
82                         "resilient-clone-number": {
83                                 "description": "is the number of clones to be deployed when a resilient runner is ordered. Its value can be 1 or 2",
84                                 "type": "integer",
85                                 "default" : 1
86                         }
87                 }
88 }