Closed kltm closed 1 year ago
Note that this is separate from https://github.com/orgs/geneontology/projects/106 and https://github.com/geneontology/biolink-api/issues/24, which are longer terms goals.
For "create handful of test URLs", I've setup a duplicate Lambda and API Gateway for the node 14 version of api-gorest-2021. Here are some of the test routes:
/gp/http%3A%2F%2Fidentifiers.org%2Fmgi%2FMGI%3A1930134/models?causalmf=2
/gocam/gomodel:5ce58dde00001215/raw
/models?causalmf=2
issue-265-go-cam-products
pipeline branchissue-265-go-cam-products
routes /models/go
, /models/gp
, and /models/pmid
@kltm Do you want me to post the full test API URL here or do you think that would somehow invite bots?
@dustine32 Probably not an issue as there will be no way to spider out from a few URLs--go ahead and drop them here.
@kltm I now have the new nodejs14 AWS CodeStar/Lambda and GH repo setup with DNS https://api-dev.geneontology.cloud. New repo is https://github.com/geneontology/api-gorest-2023. We may want to migrate tickets over there once switching the DNS.
Works for me! https://api-dev.geneontology.cloud/gp/http%3A%2F%2Fidentifiers.org%2Fmgi%2FMGI%3A1930134/models?causalmf=2 https://api-dev.geneontology.cloud/gocam/gomodel:5ce58dde00001215/raw https://api-dev.geneontology.cloud/models?causalmf=2 As it's now standing, I'd be down with trying the DNS change at your leisure.
I guess the question is whether we still want to drop in a proxy or handle the juggle all on the AWS side. At this point, I'm all for expediency, but I'm not sure what complications there might be on either path at your end.
@kltm I've officially made the switch to the new node 14 api-gorest-2023 stack in AWS API gateway. I can see traffic (via CloudWatch) coming through to the new lambda now.
If things aren't catching fire, I guess this is done then? I know that was a lot of work, but I think that was the safest option given where we are. Thank you for bringing this through.
In summary, from Amazon:
As we still do occasional updates for things like #6 ; it best to update this image proactively to ensure that we can make changes quickly in the future.
A proposed timeline might look like:
determine if we need https? just http? both?looks like just https