You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
To allow storage and access of objects on the cloud in Studio, we need to create a CloudStorage backend class that implements the base Backend class in the appnexus library. The CloudStorage backend should be able to make requests to any Cloud storage service supported by Studio for example GCS, AWS S3, etc.
Description and outcomes
Create a new class CloudStorage that implements Backend:
CLASSCloudStorageIMPLEMENTSBackend:
METHODmake_request(params):
# make request to cloud storage services(e.g via GCS, AWS S3, etc)METHODconnect(params):
# Implement the connect method for storage service if anyCLASSMETHOD_create_instance(cls)
# initialize a CloudStorage Backend instance
The class should connect to any cloud storage service supported in Studio(if required) by implementing connect().
Implement the make_request() method that performs object retrieval requests. It should return the requested object
Accessibility requirements
Not applicable
Acceptance criteria
The CloudStorage backend is created and it implements the Backend class.
The class connects to whichever cloud service(e.g GCS, AWS S3, etc) is used in Studio(if required).
The make_request method is implemented correctly and retrieves stored objects.
Tests are written to validate correctness of the CloudStorage backend logic.
Documentation has been added to the backend class, explaining its purpose, inputs and outputs.
Resources
The text was updated successfully, but these errors were encountered:
Overview
To allow storage and access of objects on the cloud in Studio, we need to create a
CloudStorage
backend class that implements the baseBackend
class in theappnexus
library. TheCloudStorage
backend should be able to make requests to any Cloud storage service supported by Studio for example GCS, AWS S3, etc.Description and outcomes
CloudStorage
that implementsBackend
:connect()
.make_request()
method that performs object retrieval requests. It should return the requested objectAccessibility requirements
Not applicable
Acceptance criteria
CloudStorage
backend is created and it implements theBackend
class.make_request
method is implemented correctly and retrieves stored objects.CloudStorage
backend logic.Resources
The text was updated successfully, but these errors were encountered: