From caac2da1bc30dbd3fdd3dc9bf13503e0769f9be3 Mon Sep 17 00:00:00 2001 From: GabrielNicolasAvellaneda Date: Sun, 26 Jul 2015 20:16:22 -0300 Subject: [PATCH 1/2] Reordered parameters. Signed-off-by: GabrielNicolasAvellaneda --- plugin.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/plugin.json b/plugin.json index e97e6aa..1a1428c 100644 --- a/plugin.json +++ b/plugin.json @@ -28,12 +28,6 @@ } ], "paramSchema": [ - { - "title": "Source", - "name": "source", - "description": "The source to display in the legend for the REDIS data.", - "type": "string" - }, { "title": "Port", "name": "port", @@ -61,6 +55,12 @@ "type" : "integer", "default" : 2000, "required" : false + }, + { + "title": "Source", + "name": "source", + "description": "The source to display in the legend for the REDIS data.", + "type": "string" } ] } From 1926de73297facd2541e7042b7fb626577dde1b0 Mon Sep 17 00:00:00 2001 From: GabrielNicolasAvellaneda Date: Sun, 26 Jul 2015 20:18:01 -0300 Subject: [PATCH 2/2] Set required parameters. Signed-off-by: GabrielNicolasAvellaneda --- plugin.json | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/plugin.json b/plugin.json index 1a1428c..cfe804f 100644 --- a/plugin.json +++ b/plugin.json @@ -28,19 +28,21 @@ } ], "paramSchema": [ - { - "title": "Port", - "name": "port", - "description": "The redis port.", - "type": "integer", - "default": 6379 - }, { "title": "Host", "name": "host", "description": "The redis hostname.", "type": "string", - "default" : "127.0.0.1" + "default" : "127.0.0.1", + "required" : true + }, + { + "title": "Port", + "name": "port", + "description": "The redis port.", + "type": "integer", + "default": 6379, + "required" : true }, { "title": "Password",