Commit Graph

86 Commits

Author SHA1 Message Date
Adam Shimali
4d8a023f11 Merge pull request #11 from alphagov/require_auth
Implementation for jwt authorization tokens
2016-01-15 19:22:27 +00:00
Rebecca Law
96ba2d13b3 Updated job endpoint tests with authorization header 2016-01-15 17:11:02 +00:00
Rebecca Law
b05ad17029 Remove trailing slashing from urls 2016-01-15 17:02:29 +00:00
Rebecca Law
e2e494c30b Remove trailing slash from template url 2016-01-15 17:02:29 +00:00
Rebecca Law
0ad292300d Added authorization headers for all requests 2016-01-15 17:02:29 +00:00
Rebecca Law
5f59b631e1 Added the before_request so that all calls must have a valid token.
Next is to get all the rest tests to pass again.
2016-01-15 17:01:26 +00:00
Rebecca Law
37b571235f Merge pull request #10 from alphagov/add-job-api
Added endpoints for creating job, and getting job/jobs.
2016-01-15 16:57:09 +00:00
Adam Shimali
99c38314b5 Removed trailing slash from job rest base url 2016-01-15 16:34:48 +00:00
Adam Shimali
834801d19b Added endpoints for creating job, and getting job/jobs. 2016-01-15 15:48:05 +00:00
NIcholas Staples
5cc0f8fff6 Merge pull request #9 from alphagov/add-job
Added model and dao for Jobs.
2016-01-15 13:45:40 +00:00
Adam Shimali
012cff5ae2 test cleanup with fixtures 2016-01-15 12:16:07 +00:00
Adam Shimali
ef6d1008e5 Fix revision ID 2016-01-15 11:33:47 +00:00
Adam Shimali
b9f6db1856 Added model and dao for Jobs. 2016-01-15 11:12:05 +00:00
Adam Shimali
c6a0986f5f Merge pull request #8 from alphagov/flatten-structure
Remove the view packages
2016-01-14 16:49:52 +00:00
Rebecca Law
d834277297 Fix code style 2016-01-14 16:24:25 +00:00
Rebecca Law
010408d98a Remove the view packages 2016-01-14 16:13:27 +00:00
Adam Shimali
3aa73b59e8 Merge pull request #7 from alphagov/remove_main
Removed the main package.
2016-01-14 14:41:03 +00:00
Rebecca Law
34693d70af Removed the main package. 2016-01-14 14:28:23 +00:00
NIcholas Staples
77d00b7d2d Merge pull request #6 from alphagov/service_tokens
Service tokens
2016-01-14 11:59:13 +00:00
Rebecca Law
436f45b70d Moved the _generate_token methods to the tokens_dao. 2016-01-14 11:30:45 +00:00
Rebecca Law
5e61515eb6 Fix the migration script so that the down revision is pointing to the migration scripts in the merge 2016-01-14 10:23:06 +00:00
Rebecca Law
cf730de927 Remove print statement 2016-01-14 10:19:23 +00:00
Rebecca Law
4a692d555e Create a relationship between services and tokens 2016-01-14 10:19:22 +00:00
Rebecca Law
255dddaa27 Changed the token endpoints so that you can renew a token and revoke a token.
Updated create service so the token is created at that time
2016-01-14 10:18:11 +00:00
Rebecca Law
a6dda26ba1 Added test that the token can be signed and retrieved 2016-01-14 10:18:11 +00:00
Rebecca Law
725b976d31 Created endpoints for create and delete token. 2016-01-14 10:17:36 +00:00
Rebecca Law
3a3f9becec Add api_token model and dao 2016-01-14 10:15:28 +00:00
NIcholas Staples
25f9d85f04 Merge pull request #5 from alphagov/template_api
Template api
2016-01-13 17:48:10 +00:00
Nicholas Staples
5fe7dbe3be Git review fix. 2016-01-13 17:23:59 +00:00
Nicholas Staples
33ea7a4f58 Merge remote-tracking branch 'origin/master' into template_api 2016-01-13 13:03:04 +00:00
Nicholas Staples
070d1d97eb Test added specifically for unicode content. 2016-01-13 13:01:04 +00:00
Nicholas Staples
99820b3e85 More tests for rest and dao. 2016-01-13 12:14:21 +00:00
Nicholas Staples
dad0fff4ba Template rest api skeleton added. 2016-01-13 11:04:13 +00:00
Adam Shimali
62ccc17a44 Merge pull request #4 from alphagov/service_creation 2016-01-12 17:34:15 +00:00
Nicholas Staples
81cd230a79 More tests added. 2016-01-12 10:59:27 +00:00
Nicholas Staples
ce9625c98b Merge branch 'service_creation' of https://github.com/alphagov/notifications-api into service_creation 2016-01-12 10:40:25 +00:00
Nicholas Staples
31f10c7457 Added delete endpoint and tests. 2016-01-12 10:39:49 +00:00
Rebecca Law
a893a41cfe Add db creation for travis 2016-01-12 10:39:09 +00:00
Nicholas Staples
752a359d3d Added versions file for initial db and fixed tests. 2016-01-12 09:56:42 +00:00
Nicholas Staples
3397274b83 Test add. 2016-01-12 09:31:52 +00:00
Nicholas Staples
308e2cb7de More tests. 2016-01-12 09:28:01 +00:00
Nicholas Staples
2be72d3536 Add more tests. 2016-01-11 18:09:10 +00:00
Nicholas Staples
74547013ba All four http methods working now for user and service restful apis. 2016-01-11 17:19:06 +00:00
Martyn Inglis
7f9e73b009 wsgi scripts always in live mode 2016-01-11 15:24:41 +00:00
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
Martyn Inglis
e21fbbbb18 Added build numbers to S3 artifacts 2016-01-11 14:48:14 +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
minglis
e1d022ad52 Merge pull request #3 from alphagov/updated-aws-codedeploy-keys
Updated aws accesskey/secret
2016-01-08 16:19:38 +00:00
Martyn Inglis
48347f32f9 Updated aws accesskey/secret 2016-01-08 16:18:34 +00:00
Nicholas Staples
5bcc615825 Added dao, test framework and tests for dao. 2016-01-08 12:18:12 +00:00