Extracted AWS Lambda part of OGFetch
Switch branches/tags
Clone or download
Pull request Compare This branch is 29 commits ahead, 3 commits behind bloglovin:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
test
.editorconfig
.eslintignore
.eslintrc
.gitignore
.travis.yml
CHANGELOG.md
LICENSE
README.md
index.js
package.json
yarn.lock

README.md

Metadataparser

Build Status Coverage Status Dependency Status js-semistandard-style

The flow to update the Lambda method

  1. Do a yarn install using Yarn or a npm install
  2. When the dependencies has been installed, zip the folder into a zip-file where the folder itself is included. When Amazon unzips it the handler should be metadataparser/index.fetchBatch. One way to do this is to right-click the folder on OS X and chose to compress it.
  3. Go to the AWS Console for your Lambda job and upload the zip-file.
  4. Done. It can take a short while for the new code to reach all the Lambda servers, but that's to be expected and something that happens on our own infrastructure as well.