Update the Lambda that gets trigger by the DMPs Dynamo table's streams. We want it to take over responsibility for many of the dmphub_ prefixed fields that the dmp-id gem is currently managing. Since some of those fields are not necessary we can start with just a few.
Add the following fields to the OpenSearch index:
created (directly copied from the DMP-ID record)
modified (directly copied from the DMP-ID record)
project_start (The project[0].start date or created)
project_end (The project[0].end date OR 5 years after the project_start value)
Update the Lambda that gets trigger by the DMPs Dynamo table's streams. We want it to take over responsibility for many of the
dmphub_
prefixed fields that thedmp-id
gem is currently managing. Since some of those fields are not necessary we can start with just a few.Add the following fields to the OpenSearch index:
created
(directly copied from the DMP-ID record)modified
(directly copied from the DMP-ID record)project_start
(Theproject[0].start
date orcreated
)project_end
(Theproject[0].end
date OR 5 years after theproject_start
value)