gns-science / nshm-kororaa-apigw Goto Github PK
View Code? Open in Web Editor NEWA stitched graphql API for Kororaa.
License: GNU Affero General Public License v3.0
A stitched graphql API for Kororaa.
License: GNU Affero General Public License v3.0
configure project for
use PINO library as per NSHM_WEKA_APIGW
investigate
see below from AMAZON..
Hello,
We are contacting you as we have identified that your AWS Account currently has one or more AWS Lambda functions using the Node.js 16 runtime.
We are ending support for Node.js 16 in Lambda on June 12, 2024. This follows Node.js 16 End-Of-Life (EOL) reached on September 11, 2023 [1].
As described in the Lambda runtime support policy [2], end of support for language runtimes in Lambda happens in several stages. Starting on June 12, 2024, Lambda will no longer apply security patches and other updates to the Node.js 16 runtime used by Lambda functions, and functions using Node.js 16 will no longer be eligible for technical support. Also, Node.js 16 will no longer be available in the Console, although you can still create and update functions using Node.js 16 via AWS CloudFormation, the AWS CLI, AWS SAM, or other tools. Starting July 15, 2024, you will no longer be able to create new Lambda functions using the Node.js 16 runtime. Starting August 15, 2024, you will no longer be able to update existing functions using the Node.js 16 runtime.
We recommend that you upgrade your existing Node.js 16 functions to Node.js 20 before June 12, 2024. A list of your Node.js 16 functions can be found in the 'Affected resources' tab of the AWS Health Dashboard.
End of support does not impact function execution. Your functions will continue to run. However, they will be running on an unsupported runtime which is no longer maintained or patched by the AWS Lambda team.
This notification is generated for functions using the Node.js 16 runtime for the $LATEST function version. The following command shows how to use the AWS CLI [3] to list all functions in a specific region using Node.js 16, including published function versions. To find all such functions in your account, repeat this command for each Region:
aws lambda list-functions --region us-west-2 --output text --query "Functions[?Runtime=='nodejs16.x'].FunctionArn"
From 180 days before deprecation, you can also use Trusted Advisor to identify all functions using the Node.js 16 runtime, including published function versions [4].
If you have any concerns or require further assistance, please contact AWS Support [5].
[1] https://github.com/nodejs/Release
[2] https://docs.aws.amazon.com/lambda/latest/dg/runtime-support-policy.html
[3] https://aws.amazon.com/cli/
[4] https://docs.aws.amazon.com/awssupport/latest/user/security-checks.html#aws-lambda-functions-deprecated-runtimes
[5] https://aws.amazon.com/supportSincerely,
Amazon Web ServicesAmazon Web Services, Inc. is a subsidiary of Amazon.com, Inc. Amazon.com is a registered trademark of Amazon.com, Inc. This message was produced and distributed by Amazon Web Services Inc., 410 Terry Ave. North, Seattle, WA 98109-5210
We want the new stitched API gateway using a single API gateway instance
TODO:
new composite features
You have an SSL/TLS certificate from AWS Certificate Manager in your AWS account that expires on Feb 15, 2024 at 23:59:59 UTC. This certificate includes the primary domain nshm-api-test.gns.cri.nz and a total of 1 domains.
We want to be sure we're using stitching properly: Some testing & decisions are needed:
When maximum rate < 0 no solution analysis is returned.
Example query:
{ "query": "query FaultModelPageSolvisQuery(\n $solution_id: ID!\n $location_codes: [String]\n $radius_km: Int\n $minimum_mag: Float\n $maximum_mag: Float\n $minimum_rate: Float\n $maximum_rate: Float\n $location_colour: String\n $fault_colour: String\n) {\n SOLVIS_analyse_solution(input: {solution_id: $solution_id, location_codes: $location_codes, radius_km: $radius_km, minimum_mag: $minimum_mag, maximum_mag: $maximum_mag, minimum_rate: $minimum_rate, maximum_rate: $maximum_rate, location_area_style: {stroke_color: $location_colour, stroke_width: 1, stroke_opacity: 0.5, fill_color: $location_colour, fill_opacity: 0.5}, fault_trace_style: {stroke_color: $fault_colour, stroke_width: 3, stroke_opacity: 1}}) {\n analysis {\n fault_sections_geojson\n solution_id\n location_geojson\n }\n }\n}\n", "variables": { "fault_colour": "red", "location_codes": [], "location_colour": "grey", "maximum_mag": 10, "maximum_rate": -2, "minimum_mag": 6, "minimum_rate": -20, "radius_km": 0, "solution_id": "U2NhbGVkSW52ZXJzaW9uU29sdXRpb246MTIwNzU3" } }
We want finer grained auth, see https://rahmanfadhil.com/deploy-graphql-aws-lamda/
NB possibly the warmup function calls? this error occurs about once every 5m .
eg
2023-04-27T21:30:30.639Z d82de34a-7de5-40a5-9851-e75e030d49c3 ERROR Invoke Error
{ "errorType": "Error",
"errorMessage": "Unable to determine event source based on event.",
"stack": ...
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.