From 22b38659543be77d5d2f6d7d937c120f1d6148b0 Mon Sep 17 00:00:00 2001 From: Bernhard Ehlers Date: Tue, 17 Nov 2015 09:58:25 +0100 Subject: [PATCH 1/2] Add compression of direct download url --- appliances/openwrt.gns3a | 3 ++- schemas/appliance.json | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/appliances/openwrt.gns3a b/appliances/openwrt.gns3a index 640f769..6342f49 100644 --- a/appliances/openwrt.gns3a +++ b/appliances/openwrt.gns3a @@ -28,7 +28,8 @@ "md5sum": "c8f2635f1cc637b20bbf2fccefb77a1a", "filesize": 55050240, "download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/", - "direct_download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz" + "direct_download_url": "http://downloads.openwrt.org/chaos_calmer/15.05/x86/kvm_guest/openwrt-15.05-x86-kvm_guest-combined-ext4.img.gz", + "compression": "gzip" } ], diff --git a/schemas/appliance.json b/schemas/appliance.json index 5d74728..abfcc1d 100644 --- a/schemas/appliance.json +++ b/schemas/appliance.json @@ -179,6 +179,10 @@ "direct_download_url": { "type": "string", "title": "Optional. Non authenticated url to the image file where you can download the image." + }, + "compression": { + "enum": ["bzip2", "gzip", "lzma", "xz", "rar", "zip"], + "title": "Optional. compression type of direct download url." } }, "additionalProperties": false, From 16574bd56477471cde6165a565c606edb26bd970 Mon Sep 17 00:00:00 2001 From: Bernhard Ehlers Date: Tue, 17 Nov 2015 10:44:08 +0100 Subject: [PATCH 2/2] Update compression title --- schemas/appliance.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/schemas/appliance.json b/schemas/appliance.json index abfcc1d..f51055d 100644 --- a/schemas/appliance.json +++ b/schemas/appliance.json @@ -182,7 +182,7 @@ }, "compression": { "enum": ["bzip2", "gzip", "lzma", "xz", "rar", "zip"], - "title": "Optional. compression type of direct download url." + "title": "Optional, compression type of direct download url image." } }, "additionalProperties": false,