This is a lambda that replaces the Mobile notifications content service. Instead of running as a standalone service on it's own ELB, is a https://aws.amazon.com/lambda that runs in the CAPI aws account
The lambda consumes the CAPI Firehose and sends as notification request for a new pieces of content to the Mobile notifications service
Deploy the latest build of Mobile::mobile-notifications-content in RiffRaff this redeploys the Lambda in the CAPI account. If you need to redeploy the whole stack you'll need to get access to the CAPI account via janus go to Cloudformation console and rebuild or create the stack using the cloudformation script in this repo.
The lambda gets it's configuration and does some simple content tracking using AWS resources in the mobile account, using cross account roles. These resources are created by this [Cloudformation](The lambda gets it's configuration and does some simple content tracking using AWS resources in the mobile account, using cross account roles. These resources are created by this Cloudformation here.
- Go to Composer in CODE and create and publish a new article. (You may need to speak with a team adminstrator to get permissions to do this)
- Monitor the logs of the lambda
- Observe the logs of the notification api You should see an entry appear to validate that the publication event has been consumed by the lambda.