From 726d6c9e3f6969a2a1e3fa1f1490cb4c55a1b2eb Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 13 May 2024 19:38:53 +0000 Subject: [PATCH 1/3] Bump moto[dynamodb] from 5.0.6 to 5.0.7 Bumps [moto[dynamodb]](https://github.com/getmoto/moto) from 5.0.6 to 5.0.7. - [Release notes](https://github.com/getmoto/moto/releases) - [Changelog](https://github.com/getmoto/moto/blob/master/CHANGELOG.md) - [Commits](https://github.com/getmoto/moto/compare/5.0.6...5.0.7) --- updated-dependencies: - dependency-name: moto[dynamodb] dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] --- requirements-all.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements-all.txt b/requirements-all.txt index f0f028a19..511f7b727 100644 --- a/requirements-all.txt +++ b/requirements-all.txt @@ -7,7 +7,7 @@ -r requirements-apps-update-db.txt boto3==1.34.100 jinja2==3.1.4 -moto[dynamodb]==5.0.6 +moto[dynamodb]==5.0.7 pytest==8.2.0 PyYAML==6.0.1 responses==0.25.0 From 7e993de6c886255ebe9849546ee8c70eff4cccfb Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Mon, 13 May 2024 15:44:59 -0800 Subject: [PATCH 2/3] binary media types for RestAPI --- CHANGELOG.md | 5 +++++ apps/api/api-cf.yml.j2 | 2 ++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index d8b3f5205..d02ea06da 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [7.2.2] + +### Fixed +- Set `BinaryMediaTypes` to `*/*` for the `AWS::ApiGateway::RestApi` resource to allow images to be served via the HyP3 API. Fixes https://github.com/ASFHyP3/hyp3/issues/2278 + ## [7.2.1] ### Fixed diff --git a/apps/api/api-cf.yml.j2 b/apps/api/api-cf.yml.j2 index 975bbf3be..420197645 100644 --- a/apps/api/api-cf.yml.j2 +++ b/apps/api/api-cf.yml.j2 @@ -49,6 +49,8 @@ Resources: RestApi: Type: AWS::ApiGateway::RestApi Properties: + BinaryMediaTypes: + - '*/*' EndpointConfiguration: Types: - {{ 'PRIVATE' if security_environment == 'EDC' else 'REGIONAL' }} From 2ae98fb609c5491f87653631e57c02984b627b9c Mon Sep 17 00:00:00 2001 From: Jake Herrmann Date: Wed, 15 May 2024 12:30:07 -0800 Subject: [PATCH 3/3] Revert "binary media types for RestAPI" --- CHANGELOG.md | 5 ----- apps/api/api-cf.yml.j2 | 2 -- 2 files changed, 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d02ea06da..d8b3f5205 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,11 +4,6 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [7.2.2] - -### Fixed -- Set `BinaryMediaTypes` to `*/*` for the `AWS::ApiGateway::RestApi` resource to allow images to be served via the HyP3 API. Fixes https://github.com/ASFHyP3/hyp3/issues/2278 - ## [7.2.1] ### Fixed diff --git a/apps/api/api-cf.yml.j2 b/apps/api/api-cf.yml.j2 index 420197645..975bbf3be 100644 --- a/apps/api/api-cf.yml.j2 +++ b/apps/api/api-cf.yml.j2 @@ -49,8 +49,6 @@ Resources: RestApi: Type: AWS::ApiGateway::RestApi Properties: - BinaryMediaTypes: - - '*/*' EndpointConfiguration: Types: - {{ 'PRIVATE' if security_environment == 'EDC' else 'REGIONAL' }}