FAQ | This is a LIVE service | Changelog

Skip to content

Update decorator to read event data from bucket

Description

This task is to add support for reading raw event data from a bucket created by uis/devops/infra/terraform/ucam-faas#20 (moved).

Further details

The bucket path should be provided as an environment variable to the container - and if it is not supplied the container should not attempt to get an event from the bucket.

Following on from uis/devops/infra/terraform/ucam-faas#20 (moved), will need to support providing the specific bucket item to read from via a second environment variable or argument to the container.

We'll want to use the GCP bucket emulator for testing and local development.

Task list

Acceptance criteria

  • Decorator support available for reading event from bucket
  • Use bucket emulator for unit testing

Links/references

Edited by Sebastiaan ten Pas