Skip to content

Commit c3b0cba

Browse files
Merge pull request #95 from asfadmin/prod-staging
Patch Release V1.0.13
2 parents 20af934 + 0b84cf9 commit c3b0cba

5 files changed

Lines changed: 17 additions & 3 deletions

File tree

.github/workflows/search-api-composite/action.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,12 @@ runs:
4747
python -m pip install -r cdk/requirements.txt
4848
npm install -g aws-cdk
4949
50-
5150
- name: Deploy to AWS
5251
shell: bash
5352
run: |
5453
cd cdk
54+
cdk cli-telemetry --disable
55+
cdk acknowledge 34892
5556
cdk deploy --require-approval=never \
5657
--context vpc_id=${{ inputs.vpc-id }} \
5758
--context subnet_ids=${{ inputs.subnet-ids }} \

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,15 @@ and uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
2525
-
2626
2727
-->
28+
------
29+
## [1.0.13](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.12...v1.0.13)
30+
### Changed
31+
- bump asf-search to v12.0.2
32+
- `TROPO-ZENITH` moved from `OPERA-S1` to new `TROPO` dataset
33+
- Added `ECMWF_TROP` to `TROPO` dataset
34+
- Add `DISP-S1-STATIC` product type to `OPERA-S1` dataset
35+
- Add gzip compression middleware
36+
2837
------
2938
## [1.0.12](https://github.com/asfadmin/Discovery-SearchAPI-v3/compare/v1.0.11...v1.0.12)
3039
### Changed

cdk/requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
aws-cdk-lib==2.149.0
1+
aws-cdk-lib==2.238.0
22
constructs>=10.0.0,<11.0.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ujson==5.7.0
2222
uvicorn==0.21.1
2323
watchfiles==0.19.0
2424

25-
asf-search[asf-enumeration]==11.0.3
25+
asf-search[asf-enumeration]==12.0.2
2626
python-json-logger==2.0.7
2727

2828
pyshp==2.1.3

src/SearchAPI/application/application.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
from fastapi import Depends, FastAPI, Request, HTTPException, APIRouter, UploadFile
1010
from fastapi.responses import Response, JSONResponse
1111
from fastapi.middleware.cors import CORSMiddleware
12+
from fastapi.middleware.gzip import GZipMiddleware
1213

1314
from .log_router import LoggingRoute
1415
from .logger import api_logger
@@ -37,6 +38,9 @@
3738
allow_headers=["*"],
3839
)
3940

41+
app.add_middleware(GZipMiddleware, minimum_size=1000, compresslevel=5)
42+
43+
4044
cfg = load_config_maturity()
4145
cmr_health = get_cmr_health(cfg['cmr_base'], cfg['cmr_health'])
4246

0 commit comments

Comments
 (0)