From 6bcfa760ba0b54ee557a6b386b70ab82e4910ea3 Mon Sep 17 00:00:00 2001 From: Vincent Pelletier <vincent@nexedi.com> Date: Wed, 3 Oct 2018 12:33:49 +0900 Subject: [PATCH] software/erp5: Fix some schema errors. --- software/erp5/instance-erp5-input-schema.json | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/software/erp5/instance-erp5-input-schema.json b/software/erp5/instance-erp5-input-schema.json index caebfd375..4ae080827 100644 --- a/software/erp5/instance-erp5-input-schema.json +++ b/software/erp5/instance-erp5-input-schema.json @@ -2,6 +2,13 @@ "$schema": "http://json-schema.org/draft-04/schema#", "description": "Parameters to instantiate ERP5", "additionalProperties": false, + "definitions": { + "tcpv4port": { + "minimum": 0, + "maximum": 65535, + "type": "integer" + } + }, "properties": { "sla-dict": { "description": "Where to request instances. Each key is a query string for criterions (e.g. \"computer_guid=foo\"), and each value is a list of partition references (note: Zope partitions reference must be prefixed with \"zope-\").", @@ -89,7 +96,7 @@ "software-type": { "description": "Request a front-end slave instance of this software type.", "default": "RootSoftwareInstance", - "type": "object" + "type": "string" }, "virtualhostroot-http-port": { "description": "Front-end slave http port. Port where http requests to frontend will be redirected.", -- 2.30.9