From bf2a715fd814e70b3adca7b81aca64935da5203c Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 17 May 2016 13:55:55 +0200 Subject: [PATCH 1/4] Iglu upload script should set isPublic to true not false (fixes #49) --- resources/scripts/iglu_server_upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/iglu_server_upload.sh b/resources/scripts/iglu_server_upload.sh index c7e77a2e..3795a935 100755 --- a/resources/scripts/iglu_server_upload.sh +++ b/resources/scripts/iglu_server_upload.sh @@ -50,7 +50,7 @@ for schemapath in $(find $schemafolder -type f | grep 'jsonschema'); do echo $schemapath | awk -F '/' '{print $(NF-3)"/"$(NF-2)"/"$(NF-1)"/"$(NF)}'; )"; echo "Uploading schema in file '$schemapath' to endpoint '$destination'"; - result="$(curl --silent "${destination}?isPublic=false" -XPOST -d @$schemapath -H "apikey: $write_api_key")"; + result="$(curl --silent "${destination}?isPublic=true" -XPOST -d @$schemapath -H "apikey: $write_api_key")"; echo " - Result: $(echo ${result} | xargs)" # Process result From 06ab7c63f8323f40252b4a0d49bdd7635414f4fd Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 17 May 2016 13:57:32 +0200 Subject: [PATCH 2/4] Iglu upload script should use -XPUT rather than -XPOST (fixes #54) --- resources/scripts/iglu_server_upload.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/scripts/iglu_server_upload.sh b/resources/scripts/iglu_server_upload.sh index 3795a935..97563fa0 100755 --- a/resources/scripts/iglu_server_upload.sh +++ b/resources/scripts/iglu_server_upload.sh @@ -50,7 +50,7 @@ for schemapath in $(find $schemafolder -type f | grep 'jsonschema'); do echo $schemapath | awk -F '/' '{print $(NF-3)"/"$(NF-2)"/"$(NF-1)"/"$(NF)}'; )"; echo "Uploading schema in file '$schemapath' to endpoint '$destination'"; - result="$(curl --silent "${destination}?isPublic=true" -XPOST -d @$schemapath -H "apikey: $write_api_key")"; + result="$(curl --silent "${destination}?isPublic=true" -XPUT -d @$schemapath -H "apikey: $write_api_key")"; echo " - Result: $(echo ${result} | xargs)" # Process result From 85c92b1ebc8e46058eec0a683208dd84e0b1bc8e Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 17 May 2016 14:04:57 +0200 Subject: [PATCH 3/4] Bumped VERSION --- Packerfile.json | 4 ++-- README.md | 2 +- VERSION | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Packerfile.json b/Packerfile.json index 9665772e..59c2bc36 100644 --- a/Packerfile.json +++ b/Packerfile.json @@ -6,13 +6,13 @@ "source_ami": "ami-05dddc6f", "instance_type": "t2.small", "ssh_username": "ubuntu", - "ami_name": "snowplow-mini-0.2.0-{{ timestamp }}-hvm-ebs-amd64", + "ami_name": "snowplow-mini-0.2.1-{{ timestamp }}-hvm-ebs-amd64", "ami_groups": [ "all" ], "ami_regions": [ "eu-west-1", "us-west-2", "us-west-1", "eu-central-1", "ap-southeast-1", "ap-northeast-1", "ap-southeast-2", "sa-east-1" ], "ami_description": "Snowplow Mini - The Snowplow Pipeline in a box", "tags": { "OS_Version": "Ubuntu-12.04", - "Release": "0.2.0" + "Release": "0.2.1" } } ], diff --git a/README.md b/README.md index b912465b..2444e158 100644 --- a/README.md +++ b/README.md @@ -69,7 +69,7 @@ limitations under the License. [travis]: https://travis-ci.org/snowplow/snowplow-mini [travis-image]: https://travis-ci.org/snowplow/snowplow-mini.svg?branch=master -[release-image]: http://img.shields.io/badge/release-0.2.0-blue.svg?style=flat +[release-image]: http://img.shields.io/badge/release-0.2.1-blue.svg?style=flat [releases]: https://github.com/snowplow/snowplow-mini/releases [license-image]: http://img.shields.io/badge/license-Apache--2-blue.svg?style=flat diff --git a/VERSION b/VERSION index 0ea3a944..0c62199f 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.2.0 +0.2.1 From bdf4ab40124eb70a433071154c76a53852215975 Mon Sep 17 00:00:00 2001 From: Josh Date: Tue, 17 May 2016 14:16:17 +0200 Subject: [PATCH 4/4] Updated CHANGELOG --- CHANGELOG | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index 53a49c9e..c0fe00b7 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +Version 0.2.1 (2016-05-17) +-------------------------- +Iglu upload script should use -XPUT rather than -XPOST (#54) +Iglu upload script should set isPublic to true not false (#49) + Version 0.2.0 (2016-04-08) -------------------------- Using static name in init.d scripts to avoid corruption of pid file (#37)