AWS lambda function used by Qxf2 will live in this repo. Each lambda will have it's own directory. Optionally, each lambda might have one GitHub Action related to it's deploy.
We are really not sure how to distribute code among repos when maintaining a microservices style of architecture. We use a few AWS lambda functions within Qxf2. As of July 2020, they were in the repos that needed them. We moved all the lambdas into one repo to try out how this style of distributing code would work out for us.
1.Please make sure that you have setup aws credentials of the test account such as Region
, Access Key
and Secret access key
in the ~/.aws/credentials
folder
2.Create sqs queue which is subscribed to qxf2-skype-listner
SNS topic.
3.Mention the sqs name in the sqs_utilities_conf.py
file in the QUEUE_URL_LIST
.
4.Minimum Python version requirement is 3.7+
Please run the test using command python -m pytest tests/test_end_to_end_employee_skype_message.py -sv
You can run test using command coverage run -m pytest tests/test_integration_daily_messages_lambda.py
. Before running test please ensure that you have setup with aws_access_key_id
, aws_secret_access_key
and region
in the credentials
file located under .aws
folder. In case this folder is not available then please create a folder in the root directory and add credentials
file there.