Input :
- bearer token in Authorization header
- Query param:
- url: manifest s3 object url
- id: project identifier
Fn: HTTPS google cloud function
Output :
- RWPM manifest json (application/json) with mp3 url presigned (direct download)
https://us-central1-edrlab-1.cloudfunctions.net/manifest
curl -H "Authorization: Bearer <TOKEN>" --request GET ttps://us-central1-edrlab-1.cloudfunctions.net/manifest?id=<CELA_ID>&URL=<S3_MANIFEST_URL>
- CELA_CLIENT_ID : cela id (query param)
- CELA_ACCESS_URL : authentication test url
- CELA_ACCESS_KEY_ID : s3
- CELA_SECRET_ACCESS_KEY_ID : s3
- CELA_REGIONS : s3
npm install
npm compile
npm start
https://console.cloud.google.com/cloud-build/builds?project=edrlab-1
see cloudbuild.yaml