Nicholas Staples
49e98c21e7
Service and User API added, working with tests. Still need to polish the edges and add more tests.
2016-01-11 15:07:13 +00:00
Nicholas Staples
0bc4d02713
Work in progress, skeleton of the api created and testing started. Need to fix authentication tests.
2016-01-08 17:51:46 +00:00
Nicholas Staples
5bcc615825
Added dao, test framework and tests for dao.
2016-01-08 12:18:12 +00:00
Nicholas Staples
a327702ad0
Initial code added for models and services not functional yet. Bootstrap and migrations added for db.
2016-01-07 17:50:55 +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
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
Rebecca Law
3d59c72e17
Initial version of the notify-notifications-api
2015-11-18 17:02:25 +00:00