Skip to content

feat: custom runtimes option for titiler and ingestor#66

Merged
emileten merged 6 commits into
mainfrom
feat/custom-runtimes-titiler-ingestor
Sep 5, 2023
Merged

feat: custom runtimes option for titiler and ingestor#66
emileten merged 6 commits into
mainfrom
feat/custom-runtimes-titiler-ingestor

Conversation

@emileten

@emileten emileten commented Sep 1, 2023

Copy link
Copy Markdown
Contributor

Closes https://github.com/developmentseed/eoapi-cdk/issuhttps://github.com/developmentseed/eoapi-cdk/pullses/55. Adds an option for custom python lambda runtime code for :

  • the titiler construct
  • the ingestor construct

For the ingestor, note that I added two options (apiCode and ingestorCode), since we're creating two lambdas :

  • one for the API in itself that puts the ingestion requests in a queue
  • one that gets the queued ingestion requests and bulk-inserts them in the database.

Defaults are what's in the runtime folders here.

@emileten emileten changed the title custom runtimes option for titiler and ingestor feat: custom runtimes option for titiler and ingestor Sep 1, 2023
@emileten emileten changed the title feat: custom runtimes option for titiler and ingestor feat!: custom runtimes option for titiler and ingestor Sep 1, 2023
@emileten emileten changed the title feat!: custom runtimes option for titiler and ingestor feat: custom runtimes option for titiler and ingestor Sep 1, 2023
@emileten emileten linked an issue Sep 1, 2023 that may be closed by this pull request
Comment thread lib/titiler-pgstac-api/index.ts Outdated
@emileten

emileten commented Sep 4, 2023

Copy link
Copy Markdown
Contributor Author

@vincentsarago we're good, I switched to PythonFunction and just removed the boto3 requirement that we don't need because it's already in the environment provided by AWS.

Things seem to work, anything else ?

Comment thread lib/titiler-pgstac-api/runtime/Dockerfile
…make things clearer and more configurable, add bundling
@emileten

emileten commented Sep 5, 2023

Copy link
Copy Markdown
Contributor Author

Could you approve if it looks good 🙏

@emileten emileten merged commit 3aaedae into main Sep 5, 2023
@emileten emileten deleted the feat/custom-runtimes-titiler-ingestor branch September 5, 2023 08:05
github-actions Bot pushed a commit that referenced this pull request Sep 5, 2023
# [5.4.0](v5.3.0...v5.4.0) (2023-09-05)

### Features

* custom runtimes option for titiler and ingestor ([#66](#66)) ([3aaedae](3aaedae))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make ingestor and stac api runtime code injectable via props.apiCode.

2 participants