CDLUC3 / dmsp_backend_prototype

The GraphQL (Apollo server) backend for the new DMSP system
0 stars 0 forks source link

Move affiliation search index to MySQL (out of Dynamo) #67

Open briri opened 1 month ago

briri commented 1 month ago

The current DynamoDB based affiliation search we put in place until OpenSearch is up and running isn't going to work.

To fix this, we should build a local table in the MySQL DB to house a subset of the full ROR list so that we can have something functional for testing.

My recommendation would be to just create the table and a seed file. Then update the affiliation resolvers to connect to the table instead of the DMPHub API.

briri commented 2 days ago

Create the table and see file first. We can update the harvester that runs each month later on as a separate ticket.

The affiliations Table content is broken into 2 sections below. The first section should NOT be updatable if the provenance system is not the DMPTool. Users should manage that data in ROR directly.