CDLUC3 / dmsp_aws_prototype

Sceptre CloudFormation templates for DMPHub v2
MIT License
1 stars 0 forks source link

Build API endpoints to support Upload Form #29

Closed briri closed 1 year ago

briri commented 1 year ago

Build API endpoints and Lambdas that support the new Upload PDF form. See the spec doc for the endpoint definitions and the agreed upon request/response formats

Setup a copy of the DMPTool RDS instance in the new env so we can pull directly from the MySQL DB for information like ROR.

briri commented 1 year ago

We will stand up a PUT /dmps/{dmp_id+}/narrative endpoint that will accept the PDF file. See this AWS article for some ideas on how to set it up.

briri commented 1 year ago

The API wiki page has been updated with the endpoint definitions and the Swagger UI is also available

briri commented 1 year ago

Need to look into gem-ifying some of the redundant code that the lambda functions have.

briri commented 1 year ago

Finished up API lambdas for NIH, NSF and Crossref (which supports about a dozen funders). We need to do more extensive testing, cleanup (consolidation

briri commented 1 year ago

Initial endpoints are ready to go