Skip to content

Commit 150f571

Browse files
Merge pull request #54 from developmentseed/update/eoapi-cdk
update eoapi-cdk
2 parents 6c9f37f + 801485c commit 150f571

File tree

9 files changed

+185
-69
lines changed

9 files changed

+185
-69
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,8 @@ jobs:
6969
if: github.event_name == 'release' || github.event_name == 'workflow_dispatch'
7070
env:
7171
STACK_NAME: eoapi-dev
72-
73-
steps:
7472

73+
steps:
7574
- uses: actions/checkout@v4
7675

7776
- name: Create config file

infrastructure/app.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
aws_s3,
2020
)
2121
from aws_cdk.aws_apigateway import DomainNameOptions
22-
from aws_cdk.aws_apigatewayv2_alpha import DomainName
22+
from aws_cdk.aws_apigatewayv2 import DomainName
2323
from config import AppConfig
2424
from constructs import Construct
2525
from eoapi_cdk import (
@@ -193,7 +193,6 @@ def __init__(
193193
"NAME": app_config.build_service_name("stac"),
194194
"description": f"{app_config.stage} STAC API",
195195
"TITILER_ENDPOINT": raster.url.strip("/"),
196-
"EXTENSIONS": '["filter", "query", "sort", "fields", "pagination", "titiler", "collection_search", "free_text"]',
197196
},
198197
db=pgstac_db.connection_target,
199198
db_secret=pgstac_db.pgstac_secret,

infrastructure/dockerfiles/Dockerfile.raster

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ COPY runtimes/eoapi/raster /tmp/raster
1212
RUN python -m pip install "mangum>=0.14,<0.15" /tmp/raster["psycopg-binary"] -t /asset --no-binary pydantic
1313
RUN rm -rf /tmp/raster
1414

15-
1615
# Reduce package size and remove useless files
1716
RUN cd /asset && find . -type f -name '*.pyc' | while read f; do n=$(echo $f | sed 's/__pycache__\///' | sed 's/.cpython-[0-9]*//'); cp $f $n; done;
1817
RUN cd /asset && find . -type d -a -name '__pycache__' -print0 | xargs -0 rm -rf

infrastructure/dockerfiles/Dockerfile.stac

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ ARG PYTHON_VERSION=3.12
22

33
FROM public.ecr.aws/lambda/python:${PYTHON_VERSION}
44

5+
RUN dnf install -y findutils && dnf clean all
6+
57
WORKDIR /tmp
68
RUN python -m pip install pip -U
79

infrastructure/dockerfiles/Dockerfile.vector

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@ ARG PYTHON_VERSION=3.12
22

33
FROM public.ecr.aws/lambda/python:${PYTHON_VERSION}
44

5+
RUN dnf install -y findutils && dnf clean all
6+
57
WORKDIR /tmp
68
RUN python -m pip install pip -U
79

package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"name": "eoapi-devseed",
33
"version": "0.1.0",
44
"dependencies": {
5-
"aws-cdk": "2.130.0"
5+
"aws-cdk": "2.1016.1"
66
}
77
}

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,10 @@ dependencies = []
99
[dependency-groups]
1010
deploy = [
1111
"boto3==1.24.15",
12-
"eoapi-cdk==7.5.0",
12+
"eoapi-cdk==10.2.5",
1313
"pydantic-settings[yaml]==2.2.1",
1414
"pydantic==2.7",
1515
"typing-extensions>=4.12.2",
16-
"aws-cdk-lib==2.130.0",
1716
]
1817
dev = [
1918
"httpx>=0.28.1",

uv.lock

Lines changed: 173 additions & 57 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)