NASA-IMPACT / NASA-IMPACT/veda-deploy
Update veda-deploy to accommodate non-core APIs for veda-routes
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Context
veda-routes only configures CloudFront origins/behaviors for core VEDA APIs. Non-core APIs like titiler-cmr and titiler-multidim and features-api are manually configured, which means any redeployment of veda-routes on instances that include these services can misconfigure or remove their CloudFront behaviors.
Options
- Add titiler-cmr and titiler-multidim as configurable origins in veda-routes (opt-in per instance)
- Document which instances have non-core APIs and add deployment guardrails?
- Move to a model where veda-routes reads its origin config from the instance's veda-deploy config
Acceptance Criteria
- Redeploying veda-routes does not remove or misconfigure non-core API origins
- Non-core API configuration is discoverable / documented?
- veda-deploy is updated to make veda-routes get features api url from veda-features-api step output
https://github.com/NASA-IMPACT/veda-deploy/blob/dev/.github/workflows/deploy.yml#L452-L461
- name: Update Veda Routes secrets with dependency outputs
shell: bash
run: |
python3 "${{ github.workspace }}/scripts/update_secret_with_inputs.py" \
--secret-id ${{ vars.DEPLOYMENT_ENV_ROUTES_SECRET_NAME }} \
--prefix=VEDA_ \
--raster_api_url=${{ needs.deploy-veda-backend.outputs.raster_api_url }} \
--ingest_api_url=${{ needs.deploy-veda-backend.outputs.ingest_api_url }} \
--stac_api_url=${{ needs.deploy-veda-backend.outputs.stac_api_url }} \
--stac_browser_bucket_name=${{ needs.deploy-veda-backend.outputs.stac_browser_bucket_name }}
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with .github/workflows/deploy.yml lines 452-461 and scripts/update_secret_with_inputs.py to trace how deployment outputs become Veda Routes secrets. Review the listed options and the veda-features-api dependency output, then define the configuration and guardrails needed so redeployments preserve non-core API origins and expose the features API URL.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, cloud, devops
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100