Commit Graph

13868 Commits

Author SHA1 Message Date
Martyn Inglis
a7b73d28d4 Awful fudge to get app deployed. blocked on failed stop jobs 2015-12-15 16:45:05 +00:00
Martyn Inglis
ec91614e04 Awful fudge to get app deployed. blocked on failed stop jobs 2015-12-15 16:41:07 +00:00
Martyn Inglis
219c8d252e Added wsgi file 2015-12-15 16:37:54 +00:00
Martyn Inglis
8b76fbd382 Made aws scripts executable 2015-12-15 16:28:35 +00:00
Martyn Inglis
aa8caf8455 Adding AWS code deploy files
- app spec file forms basis of application deploy
- various AWS specific files to install dependencies and call upstart for start and stop application
2015-12-15 16:26:56 +00:00
minglis
e0f22f7670 Merge pull request #1 from alphagov/implement_auth
Implement auth
2015-12-15 14:38:52 +00:00
Martyn Inglis
4caf0fcad6 Fixing pull requests comments
- full path to imports
- renamed client lib from jwt->authentication
2015-12-15 14:36:57 +00:00
Martyn Inglis
87138c86f8 Fix failing build - test deliberatly moved to error for some investigations. Fixed now. 2015-12-15 11:54:16 +00:00
Martyn Inglis
dbf70ec1eb First pass at implementing API authentication using new JWT tokens
- NOTE - this does not manage secrets. There is only one URL and there is no functionality implemented
- prior to rolling out we need to store secrets properly

Uses the JWT libraries in [https://github.com/alphagov/notifications-python-client](https://github.com/alphagov/notifications-python-client)

- Tokens are checked on every request and will be rejected if token is invalid as per the rules in the python clients.
2015-12-15 10:47:20 +00:00
Martyn Inglis
6a3bbbf890 Added python client to dependencies 2015-12-14 12:58:49 +00:00
Martyn Inglis
6deaa61011 Implement a JWT header into base client
- adds a base client
- adds a notifications client

These do not proxy onto genuine methods. This pull request is the basic implication of the API Client. Still needs a few things before is ready, notably proper logging and actual API endpoints to hook into.

Basic premise is to deliver the JWT tokens required for Notify API authentication so we can discuss the implementation/premise.
2015-12-11 16:57:00 +00:00
Martyn Inglis
e25ca0e434 Basic commit to add get pages showing
- bootstrap script
- run script
- couple of views
- basic config
2015-12-10 10:56:59 +00:00
Rebecca Law
761e7b4444 Add trigger dependent build 2015-11-20 10:51:08 +00:00
Rebecca Law
6907acc7e4 fix travis yml file name 2015-11-18 17:08:59 +00:00
Rebecca Law
86561cd095 Add travis svg 2015-11-18 17:03:35 +00:00
Rebecca Law
3d59c72e17 Initial version of the notify-notifications-api 2015-11-18 17:02:25 +00:00
Rebecca Law
b040e4173a Added ReadMe 2015-11-18 13:58:21 +00:00
Rebecca Law
e277780d5f Initial commit 2015-11-18 13:57:17 +00:00