An open source Category Plugin for the AWS Amplify-CLI that makes it easy to deploy live and file based streaming video services and integrate them into your Amplify applications.
Is your feature request related to a problem? Please describe.
Actually, no tests are setup to validate:
uploading of a pem key
signing of access URL
HTTP status response from a signed URL
Describe the solution you'd like
We want to test the points above.
Describe alternatives you've considered
First we have to generate key pairs using
openssl genrsa -out private_key.pem 2048
then extract the private key
openssl rsa -pubout -in private_key.pem -out public_key.pem
When it's done, we will upload the key on CloudFront and add the key ID to a script that will deploy the VoD resources thanks to the headless mode.
After those steps we will be able to run the tests using jest.
Is your feature request related to a problem? Please describe. Actually, no tests are setup to validate:
Describe the solution you'd like We want to test the points above.
Describe alternatives you've considered First we have to generate key pairs using
openssl genrsa -out private_key.pem 2048
then extract the private keyopenssl rsa -pubout -in private_key.pem -out public_key.pem
When it's done, we will upload the key on CloudFront and add the key ID to a script that will deploy the VoD resources thanks to the headless mode. After those steps we will be able to run the tests using jest.