Commit Graph

16 Commits

Author SHA1 Message Date
Leo Hemsted
c36e50bef1 update dependencies 2017-08-18 17:02:31 +01:00
Rebecca Law
9400988d72 Monthly billing - part 1
This is still a work in progress but it would be good to get some eyes on it.
This commit includes creating and updating a row in the monthly billing table and a method to fetch the results.
There is a command to populate the monthly billing for a service and month so we can try it out.
The total cost at the moment are wrong, they do not take into account the free allowance - see notes below about adding that to the table.
Left to do:
create a nightly task to run to update the monthly totals.
create an endpoint to return the yearly billing, the current day will need to be calculated on the fly and added to the totals.
Add the free allowance into the total costs.
2017-07-18 18:21:35 +01:00
Rebecca Law
2e864411af Create a server command to run custom db scripts. 2017-05-19 17:04:39 +01:00
Nicholas Staples
d40d9f76d4 Purge functional tests command added with passing test.
Code quality fix.
2016-05-06 11:16:30 +01:00
Nicholas Staples
3b1423a2ea Provider Statistics added.
Rates command added with a test.

Updated to include added migration.
2016-04-21 13:47:04 +01:00
Martyn Inglis
24a9487a20 Updated status page
- include travis build number
- renamed properties
- ELB version
- moved code all into health check
- changed health check to be on same URL for admin and api
2016-03-03 15:18:12 +00:00
Rebecca Law
08ba5de61b Update config
Source the configuration from an environment file, this way it is similar to how the aws environment works
2016-02-16 16:01:50 +00:00
Nicholas Staples
99b849171f Status page updated with api version and db version. 2016-01-29 12:51:33 +00:00
Rebecca Law
d15e68238d Authentication for admin client api calls where a user and service is not required. 2016-01-19 14:01:26 +00:00
Rebecca Law
56b33496ff Added name to api key when creating key for admin user.
NOTE: this will change in the next PR
2016-01-19 12:13:47 +00:00
Rebecca Law
4fc5c34320 Change Tokens to ApiKey
Added name to ApiKey model
2016-01-19 12:13:47 +00:00
Rebecca Law
8ace626320 Fix code style 2016-01-18 11:03:38 +00:00
Rebecca Law
c4e5ab7c77 Manager command to create an admin user for the environment. 2016-01-18 10:56:26 +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
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
3d59c72e17 Initial version of the notify-notifications-api 2015-11-18 17:02:25 +00:00