This is an AWS 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 its 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.
- Go to Composer in CODE (You may need to speak with a team adminstrator to get permissions to do this)
- Publish a new article that has a Series tag applied, or
- Publish a live blog key event entry
- 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 (e.g.
Notification was sent: ContentNotification(..)
).