GithubHelp home page GithubHelp logo

wellcomecollection / wellcomelibrary.org Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 5.09 MB

Redirecting URLs from the old Wellcome Library site to the new Wellcome Collection site

License: MIT License

HCL 24.13% JavaScript 1.41% Dockerfile 0.16% TypeScript 73.29% Shell 1.00%

wellcomelibrary.org's People

Contributors

alexwlchan avatar dependabot[bot] avatar donaldgray avatar harrisonpim avatar jamesgorrie avatar jamieparkinson avatar kenoir avatar weco-bot avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

wellcomelibrary.org's Issues

Clean up the old versions of the redirect Lambdas

We've had an email from AWS:

We are contacting you as we have identified that your AWS Account currently has one or more Lambda functions using Node.js 12 runtime.

We are ending support for Node.js 12 in AWS Lambda. This follows Node.js 12 End-Of-Life (EOL) reached on April 30, 2022.

If you run the command they specify, you discover that all the affected Lambda functions are old versions of the redirect Lambda from this repository:

Counter({'arn:aws:lambda:us-east-1:760097843905:function:cf_edge_wellcome_library_redirect': 93,
         'arn:aws:lambda:us-east-1:760097843905:function:cf_edge_wellcome_library_passthru': 74,
         'arn:aws:lambda:us-east-1:760097843905:function:cf_edge_wellcome_library_blog_redirect': 58,
         'arn:aws:lambda:us-east-1:760097843905:function:cf_edge_wellcome_library_archive_redirect': 41,
         'arn:aws:lambda:us-east-1:760097843905:function:cf_edge_wellcome_library_encore_redirect': 38,
         'arn:aws:lambda:us-east-1:760097843905:function:cf_edge_dlcs_path_rewrite': 24})

We're using Node 16 for all the current versions (see bce1d1b), so nothing is going to break when Node.js 12 goes EOL โ€“ but we don't need these old versions, so we should clean them up so we don't get any more warnings from AWS.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.