|
33 | 33 | },
|
34 | 34 | "development": {
|
35 | 35 | "type": "object",
|
36 |
| - "required": ["port", "watch", "command", "args"], |
| 36 | + "required": ["port", "watch", "command"], |
37 | 37 | "properties": {
|
38 | 38 | "port": {
|
39 | 39 | "type": "integer",
|
|
71 | 71 | },
|
72 | 72 | "deployment": {
|
73 | 73 | "type": "object",
|
74 |
| - "required": ["command", "args", "resources"], |
| 74 | + "required": ["command", "resources"], |
75 | 75 | "properties": {
|
76 | 76 | "command": {
|
77 | 77 | "type": "string",
|
78 |
| - "description": "The command to run in deployment" |
| 78 | + "description": "The command to run in the cloud deployment" |
79 | 79 | },
|
80 | 80 | "args": {
|
81 | 81 | "type": "array",
|
82 | 82 | "items": {
|
83 | 83 | "type": "string"
|
84 | 84 | },
|
85 |
| - "description": "The arguments to pass in deployment" |
| 85 | + "description": "The arguments to pass to the command when running in the cloud deployment" |
86 | 86 | },
|
87 | 87 | "resources": {
|
88 | 88 | "type": "object",
|
89 | 89 | "required": ["memory", "cpu", "disk"],
|
90 | 90 | "properties": {
|
91 | 91 | "memory": {
|
92 | 92 | "type": "string",
|
93 |
| - "pattern": "^\\d+Mi$", |
94 |
| - "description": "The memory requirements" |
| 93 | + "pattern": "^\\d+([KGMT]i)?$", |
| 94 | + "description": "The memory requirements expressed in bytes. 1GB is is represented as 1Gi" |
95 | 95 | },
|
96 | 96 | "cpu": {
|
97 | 97 | "type": "string",
|
98 |
| - "pattern": "^\\d+M$", |
99 |
| - "description": "The CPU requirements" |
| 98 | + "pattern": "^\\d+([mM])$", |
| 99 | + "description": "The CPU requirements expressed in millicores. 1 CPU unit is 1000 millicores or 1000m" |
100 | 100 | },
|
101 | 101 | "disk": {
|
102 | 102 | "type": "string",
|
103 |
| - "pattern": "^\\d+Mi$", |
104 |
| - "description": "The disk size requirements" |
| 103 | + "pattern": "^\\d+([KGMT]i)?$", |
| 104 | + "description": "The disk size requirements expressed in bytes. 1GB is is represented as 1Gi" |
105 | 105 | }
|
106 | 106 | }
|
107 | 107 | }
|
108 | 108 | }
|
109 | 109 | },
|
110 | 110 | "bundler": {
|
111 | 111 | "type": "object",
|
112 |
| - "required": ["enabled", "identifier", "language", "runtime", "agents"], |
| 112 | + "required": ["enabled", "identifier", "language", "agents"], |
113 | 113 | "properties": {
|
114 | 114 | "enabled": {
|
115 | 115 | "type": "boolean",
|
116 |
| - "description": "Whether bundling is enabled" |
| 116 | + "description": "Whether bundling is enabled for this provider" |
117 | 117 | },
|
118 | 118 | "identifier": {
|
119 | 119 | "type": "string",
|
120 |
| - "description": "The bundler identifier" |
| 120 | + "description": "The provider identifier" |
121 | 121 | },
|
122 | 122 | "language": {
|
123 | 123 | "type": "string",
|
|
133 | 133 | "properties": {
|
134 | 134 | "dir": {
|
135 | 135 | "type": "string",
|
136 |
| - "description": "The directory containing agents" |
| 136 | + "description": "The directory location where the agents are located" |
137 | 137 | }
|
138 | 138 | }
|
139 | 139 | },
|
|
160 | 160 | "name": {
|
161 | 161 | "type": "string",
|
162 | 162 | "description": "The name of the Agent which is editable"
|
| 163 | + }, |
| 164 | + "description": { |
| 165 | + "type": "string", |
| 166 | + "description": "The description of the Agent which is editable" |
163 | 167 | }
|
164 | 168 | }
|
165 | 169 | },
|
|
0 commit comments