{ "info": { "author": "Human Cell Atlas contributors", "author_email": "tonytung@chanzuckerberg.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Operating System :: MacOS :: MacOS X", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "# chained-aws-lambda\n\n#### Running tests\n\nRun `make test` in the top-level `data-store` directory.\n\n\n#### Deployment\n\nAssuming the tests have passed above, the next step is to manually deploy. See the section below for information on\nCI/CD with Travis if continuous deployment is your goal.\n\nNow deploy using make:\n\n make deploy\n\nSet up AWS API Gateway. The gateway is automatically set up for you and associated with the Lambda. However, to get a\nfriendly domain name, you need to follow the\ndirections [here](http://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-custom-domains.html). In summary:\n\n* Generate a HTTPS certificate via AWS Certificate Manager, make sure it's in us-east-1\n* Set up the domain name in the API gateway console\n* Set up in Amazon Route 53 to point the domain to the API gateway\n* In the API Gateway, fill in the endpoints for the custom domain name e.g. Path=`/`, Destination=`dss` and `dev`.\n These might be different based on the profile used (dev, stage, etc).\n* Set the environment variable `API_HOST` to your domain name in the `environment.local` file.\n\nIf successful, you should be able to see the Swagger API documentation at:\n\n https://\n\nAnd you should be able to list bundles like this:\n\n curl -X GET \"https:///v1/bundles\" -H \"accept: application/json\"\n\n\n#### CI/CD with Travis CI\nWe use [Travis CI](https://travis-ci.org/HumanCellAtlas/data-store) for continuous integration testing and\ndeployment. When `make test` succeeds, Travis CI deploys the application into the `dev` stage on AWS for every commit\nthat goes on the master branch. This behavior is defined in the `deploy` section of `.travis.yml`.\n\n\n#### Authorizing Travis CI to deploy\nEncrypted environment variables give Travis CI the AWS credentials needed to run the tests and deploy the app. Run\n`scripts/authorize_aws_deploy.sh IAM-PRINCIPAL-TYPE IAM-PRINCIPAL-NAME` (e.g. `authorize_aws_deploy.sh user hca-test`)\nto give that principal the permissions needed to deploy the app. Because this is a limited set of permissions, it does\nnot have write access to IAM. To set up the IAM policies for resources in your account that the app will use, run `make\ndeploy` using privileged account credentials once from your workstation. After this is done, Travis CI will be able to\ndeploy on its own. You must repeat the `make deploy` step from a privileged account any time you change the IAM policies\nin `policy.json.template` files.\n\n[![](https://img.shields.io/badge/slack-%23data--store-557EBF.svg)](https://humancellatlas.slack.com/messages/data-store/)\n[![Build Status](https://travis-ci.org/HumanCellAtlas/data-store.svg?branch=master)](https://travis-ci.org/HumanCellAtlas/data-store)\n[![codecov](https://codecov.io/gh/HumanCellAtlas/data-store/branch/master/graph/badge.svg)](https://codecov.io/gh/HumanCellAtlas/data-store)\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/chanzuckerberg/chained-aws-lambda", "keywords": "", "license": "Apache Software License", "maintainer": "", "maintainer_email": "", "name": "chained-aws-lambda", "package_url": "https://pypi.org/project/chained-aws-lambda/", "platform": "MacOS X", "project_url": "https://pypi.org/project/chained-aws-lambda/", "project_urls": { "Homepage": "https://github.com/chanzuckerberg/chained-aws-lambda" }, "release_url": "https://pypi.org/project/chained-aws-lambda/0.0.8/", "requires_dist": null, "requires_python": "", "summary": "chain work using AWS lambdas", "version": "0.0.8" }, "last_serial": 3261456, "releases": { "0.0.2a3": [ { "comment_text": "", "digests": { "md5": "7ef3019967b8edd577fa7211d8e84038", "sha256": "4759cdffa3f6ef621a6fe27d985ba158709ed2520036d53e56925d2811976a46" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.2a3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ef3019967b8edd577fa7211d8e84038", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27298, "upload_time": "2017-09-21T06:38:38", "url": "https://files.pythonhosted.org/packages/b9/4c/0d07aaed5cea8cd4749c6e0423f2d30b1b4d2b940681c82c796746c4f40e/chained_aws_lambda-0.0.2a3-py2.py3-none-any.whl" } ], "0.0.2a4": [ { "comment_text": "", "digests": { "md5": "44d237d0670b18554f8b7406bfc4a687", "sha256": "a6c6d0faa1151e08314381970c750f600a85db5973e0233eea08d020a55a5d17" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.2a4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "44d237d0670b18554f8b7406bfc4a687", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27307, "upload_time": "2017-09-21T07:56:43", "url": "https://files.pythonhosted.org/packages/e1/70/49907113c7591f3a5bcab8a726bec46370c90209716daee127f9266cf15b/chained_aws_lambda-0.0.2a4-py2.py3-none-any.whl" } ], "0.0.2a5": [ { "comment_text": "", "digests": { "md5": "64d640d80420aae00019413d01e0e0dd", "sha256": "bdbc804b75ad12d2df2e902c99c620ae3135bc7d621def41b4cf081118b03cb1" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.2a5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "64d640d80420aae00019413d01e0e0dd", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27317, "upload_time": "2017-09-21T07:58:33", "url": "https://files.pythonhosted.org/packages/36/bd/c79fe87a139a285f56baaf65fcd070ba5e446119dc35ec32675ad6b2c642/chained_aws_lambda-0.0.2a5-py2.py3-none-any.whl" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "cc0088dddd5b2e2ef8e9738764710cd8", "sha256": "563addc31be10f395709be9e8ec7c022fd1cc6f43975f73d24d3397617a36d6a" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "cc0088dddd5b2e2ef8e9738764710cd8", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 27276, "upload_time": "2017-09-22T01:09:20", "url": "https://files.pythonhosted.org/packages/0a/09/0253cb08cb22cb2464a5024940c9c93e09ac23487eef15f1d870bef5e54b/chained_aws_lambda-0.0.3-py2.py3-none-any.whl" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "c448c6ea7b7b9d7e8d4e75943acdebfa", "sha256": "269ceeb003ce5d7919abfeed008d5c5a9f92f0e338187f150161f5bab1da7eee" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c448c6ea7b7b9d7e8d4e75943acdebfa", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 27767, "upload_time": "2017-09-26T22:30:40", "url": "https://files.pythonhosted.org/packages/12/12/ab7ebcb1a26cebb10076b7034deb33b95830109993ad9778a28c64b5771f/chained_aws_lambda-0.0.4-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8374b5423f411d7976c0464ae9699209", "sha256": "4798a4cb8b0b3759a2b9efb1f07d77551ebf39f0893a40606412e4c0fece3904" }, "downloads": -1, "filename": "chained-aws-lambda-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8374b5423f411d7976c0464ae9699209", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18200, "upload_time": "2017-09-26T22:30:39", "url": "https://files.pythonhosted.org/packages/ef/7a/ae6a6348dcc46807d4491bd47b6191764088b12f7fbf1d34b2f8494db715/chained-aws-lambda-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "e4a04923a98552a84f21127462fefe8f", "sha256": "54ee88e6ff27448d1b9898eb2b33b6379f959a6bee5d1d6f1ec2baa7cad8e6ca" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e4a04923a98552a84f21127462fefe8f", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 29317, "upload_time": "2017-09-26T22:37:23", "url": "https://files.pythonhosted.org/packages/e6/45/62b876ef50b38e762602fecfc8c213637e86b7092ce889dce13a4c773a19/chained_aws_lambda-0.0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4c0095c55b7770ca8af0519be642bdcb", "sha256": "4b5fe4ce4b363084d358344c857538546447bdc6614a280f6dbf770eb155912b" }, "downloads": -1, "filename": "chained-aws-lambda-0.0.5.tar.gz", "has_sig": false, "md5_digest": "4c0095c55b7770ca8af0519be642bdcb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18445, "upload_time": "2017-09-26T22:37:21", "url": "https://files.pythonhosted.org/packages/b0/f4/0e29cf000330dc02f1a21dc71f505f5150cbd1285af5052cc11d58cd0aff/chained-aws-lambda-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "7ffe726e14aa6e8dd66c5292eb94b056", "sha256": "78197328d2f9b9b3e3bca43a5992faeeb092132cdd43aed605ecc53a379b67ad" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7ffe726e14aa6e8dd66c5292eb94b056", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 27294, "upload_time": "2017-09-29T20:52:17", "url": "https://files.pythonhosted.org/packages/ed/e9/f37d6ee6c466702aa81a20b7c498dcfa4ba5c642c50e7f6f6ad7ca98bdc2/chained_aws_lambda-0.0.6-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "457c4027eaeaa44201dc414c3c514ed2", "sha256": "436ae79e93169cb2aa8def71d0a037aeee4f85b70da379e75e1f6d8c7d66db78" }, "downloads": -1, "filename": "chained-aws-lambda-0.0.6.tar.gz", "has_sig": false, "md5_digest": "457c4027eaeaa44201dc414c3c514ed2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18537, "upload_time": "2017-09-29T20:52:14", "url": "https://files.pythonhosted.org/packages/50/c3/a4622e1b3ec02525ca9e08c5b60307c8b011ae471a2707d6ecfc90593afa/chained-aws-lambda-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "ab9dda63563fbece841ca4ae938e40cf", "sha256": "a2477d5a2eeb3437e439eaf05be3f7debd42d88db00ec776ec0eb5ea865a8c26" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab9dda63563fbece841ca4ae938e40cf", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 27292, "upload_time": "2017-09-29T21:08:52", "url": "https://files.pythonhosted.org/packages/a3/b0/2d02f553c430d4be2283283e9e9145e6d059e4655162f1ad8cdd0cc8238c/chained_aws_lambda-0.0.7-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8ce8fc2887228a07398e01a8b7d3b3a0", "sha256": "83c78d62fe116f0b76eda6ca030388f2ac09324cfec47d2fe881218e03c80708" }, "downloads": -1, "filename": "chained-aws-lambda-0.0.7.tar.gz", "has_sig": false, "md5_digest": "8ce8fc2887228a07398e01a8b7d3b3a0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18528, "upload_time": "2017-09-29T21:08:50", "url": "https://files.pythonhosted.org/packages/57/fd/4817863b15473e77773bfced90f6ee7661e7fb8b0d1d129acc37293c8057/chained-aws-lambda-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "4295b55113a185ddf32dfe49ad099bc8", "sha256": "1dfcc6eed25dd41050ce4e4607ca04296dafb462e69db531ac63630036a2638d" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4295b55113a185ddf32dfe49ad099bc8", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 27944, "upload_time": "2017-10-19T01:36:15", "url": "https://files.pythonhosted.org/packages/76/9b/d322ce80fec152aaddd0069d473a76c012d050045febe63c18bdea47ea5f/chained_aws_lambda-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16e109c64e259f862031c41a8fd7e2f4", "sha256": "f4fa893ac830b16adc81ec8043243c03849a92f41a1105e12462d5ea621bec7e" }, "downloads": -1, "filename": "chained-aws-lambda-0.0.8.tar.gz", "has_sig": false, "md5_digest": "16e109c64e259f862031c41a8fd7e2f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18699, "upload_time": "2017-10-19T01:36:12", "url": "https://files.pythonhosted.org/packages/ec/0a/13966764d4f9127521c8dc975c639600b70dfe637e1a5d47a1debb4387b7/chained-aws-lambda-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4295b55113a185ddf32dfe49ad099bc8", "sha256": "1dfcc6eed25dd41050ce4e4607ca04296dafb462e69db531ac63630036a2638d" }, "downloads": -1, "filename": "chained_aws_lambda-0.0.8-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "4295b55113a185ddf32dfe49ad099bc8", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 27944, "upload_time": "2017-10-19T01:36:15", "url": "https://files.pythonhosted.org/packages/76/9b/d322ce80fec152aaddd0069d473a76c012d050045febe63c18bdea47ea5f/chained_aws_lambda-0.0.8-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "16e109c64e259f862031c41a8fd7e2f4", "sha256": "f4fa893ac830b16adc81ec8043243c03849a92f41a1105e12462d5ea621bec7e" }, "downloads": -1, "filename": "chained-aws-lambda-0.0.8.tar.gz", "has_sig": false, "md5_digest": "16e109c64e259f862031c41a8fd7e2f4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 18699, "upload_time": "2017-10-19T01:36:12", "url": "https://files.pythonhosted.org/packages/ec/0a/13966764d4f9127521c8dc975c639600b70dfe637e1a5d47a1debb4387b7/chained-aws-lambda-0.0.8.tar.gz" } ] }