Skip to content

Releases: NASA-IMPACT/veda-backend

v1.1.0-rc.61

16 May 20:55
9cfbe2b
Compare
Choose a tag to compare
v1.1.0-rc.61 Pre-release
Pre-release

v1.1.0-rc.61 (2024-05-16)

Fix

  • fix: optional cognito domain in ingestor lambda (#377) (9cfbe2b)

v1.1.0-rc.60

15 May 17:26
3311b28
Compare
Choose a tag to compare
v1.1.0-rc.60 Pre-release
Pre-release

v1.1.0-rc.60 (2024-05-15)

Feature

  • feat: enable cloudfront logging (#375)

Issue

Link to relevant GitHub
issue

What?

  • Enable logging on the cloudfront distribution. Setting
    enable_logging to true will create an S3 bucket to write logs to with
    the necessary permissions for cloudfront to successfully send logs.

Why?

  • Best practices

Testing?

  • Deployed to UAH dev and MCP test (3311b28)

v1.1.0-rc.59

13 May 17:14
1eddee0
Compare
Choose a tag to compare
v1.1.0-rc.59 Pre-release
Pre-release

v1.1.0-rc.59 (2024-05-13)

Fix

  • fix: backend monitoring changes (#371)

Changes to observability in backend APIs:

  • Include monitoring for STAC API endpoints
  • service dimension change for ingest api (incorrectly had
    "raster-api"), add monitoring to ingest handler
  • include path params and post body in logs
  • include stage dimension in metrics to distinguish between instances
    (i.e. dev, staging, etc.)
  • include metrics for each api path (i.e. collections/,
    collections/{collection_id}, mosaic/register, etc.

Testing

  • deployed to monitor veda-backend stack and created tables in
    Grafana. See
    ticket
    for
    details.
  • Confirmed logs and metrics are being sent for raster, stac and ingest
    APIs (1eddee0)

v5.0.1

07 May 20:52
7f58da4
Compare
Choose a tag to compare

v5.0.1 (2024-05-07)

Fix

  • fix(release): make ingest api root path optional (#370)

Changed

v5.0.0

06 May 20:48
6fc9ded
Compare
Choose a tag to compare

v1.1.0-rc.58

06 May 23:27
c23dd1e
Compare
Choose a tag to compare
v1.1.0-rc.58 Pre-release
Pre-release

v1.1.0-rc.58 (2024-05-06)

Fix

  • fix(ingest): default empty string for root path in ingest api construct (#369)

What?

  • Allow ingest-api to be deployed without a custom root path by setting
    the default config for fastapi root path parameter to None.

Why?

  • When the ingest API is deployed to a stack without a cloud front and
    custom host it should not apply an additional root path.

How tested

Deployed to a test branch using a custom subdomain instead of a
cloudfront with custom root path. (c23dd1e)

  • fix(ingest): default empty string for root path in ingest api construct (13de8de)

  • fix(ingest): default empty string for root path in ingest api construct (77996a7)

v1.1.0-rc.57

06 May 16:14
04b0b64
Compare
Choose a tag to compare
v1.1.0-rc.57 Pre-release
Pre-release

v1.1.0-rc.57 (2024-05-06)

Fix

  • fix: cast sub as str (#367)

Issue

Link to relevant GitHub issue

What?

  • Cast sub as str and remove default None since that will be cast
    as str which we want to avoid
>>> token = { }
>>> x = token.get("sub", None)
>>> str(x)
'None'
>>> exit()

Why?

  • We were receiving this error when trying to kick off a
    /dataset/publish/ workflow
    1 validation error for Ingestion\ncreated_by\n str type expected (type=type_error.str) and, to be safe, we are casting sub as str

Testing?

v1.1.0-rc.56

29 Apr 18:56
28afca4
Compare
Choose a tag to compare
v1.1.0-rc.56 Pre-release
Pre-release

v1.1.0-rc.56 (2024-04-29)

Fix

  • fix: update get_username function (#365)

Issue

NASA-IMPACT/veda-data-airflow#134
#347

What?

  • Update get_username to fall back on sub if username doesn't exist
    in token
  • Added some more logging statements to make debugging easier in the
    future

Why?

  • This fix is to enable a successful workflows API run since the
    workflow API passes a token to backend API and it's currently erroring
  • Also, sub is a more definitive identifier because it represents a
    unique identifier compared to username

Testing?

  • Relevant testing details (28afca4)
  • fix: revert to use default value in get_username (f640fdf)

  • fix: update to throw is username or sub are not found in token (dbb62fb)

  • fix: add correct escape sequence to logging (5466404)

  • fix: update get_username and add logging (4e38e89)

v1.1.0-rc.55

26 Apr 17:32
eb6a922
Compare
Choose a tag to compare
v1.1.0-rc.55 Pre-release
Pre-release

v1.1.0-rc.55 (2024-04-26)

Fix

  • fix: change get username function (#361)

Change Ingestion created_by param to use get_username auth function (eb6a922)

v1.1.0-rc.54

26 Apr 16:58
769c647
Compare
Choose a tag to compare
v1.1.0-rc.54 Pre-release
Pre-release

v1.1.0-rc.54 (2024-04-26)

Fix

  • fix: cognito domain env var (#360)

what

this pr updates the env variable name used for cognito domain (now
matches workflows variable name) (769c647)

  • fix: use standard env name for cognito domain (e021ec2)