guardian / flexible-octopus-converter

An AWS Lambda for converting JSON from Octopus into Thrift.
1 stars 0 forks source link

Incorporate the new lastModifiedBy field in Article #10

Closed jennygrahamjones closed 4 years ago

jennygrahamjones commented 4 years ago

What does this change?

https://github.com/guardian/flexible-octopus-model/pull/4 adds the lastModifiedBy field to the Article model. This represents the last user to make a modification to the content in InCopy. In the converter, we want to parse the last_user field received as part of the incoming JSON from Octopus into the lastModifiedBy field on the Article model.

In Workflow, we will use this in conjunction with the status field on the Article model to display information about the body text content in print.

jennygrahamjones commented 4 years ago

Workflow to show Incopy Status and last modified by in Print

jennygrahamjones commented 4 years ago

I haven't exercised the code, but the change looks straightfoward – if you'd like further testing please say 👍

I'm going to test the interaction between the lambda and Composer in CODE before merging.