Christa Hartsock
a9d79021ca
Rename deployment env file to varsfile
2022-06-23 14:17:53 -07:00
Jim Moffet
59b72f4853
add devcontainer configs and docker network orchestration
2022-06-13 13:16:32 -07:00
Leo Hemsted
9726edf68d
bump utils
...
also remove the `read().splitlines()` pattern from csv.reader usage,
as it's redundant. also add .vscode to gitignore to accomodate my
hipster IDE choices, and add some lines to pytest.ini so just running
`py.test` uses some useful flags
2019-08-02 12:41:03 +01:00
Leo Hemsted
804f489b51
bump requirements
2018-08-09 16:47:35 +01:00
Rebecca Law
927f6e8335
Catch itegrity errors and return 400.
...
When creating or updating an organisation an itegrity error is raise if the name is already used.
This change adds a new error handler for the organisation to catch the named unique index and return a 400 with a sensible message.
We have an other error handler for unique service names which was caught in the error handler for all blueprints. A new error handler for the service_blueprint has been created for catch those specific unique constraints.
This is a nice way to encapulate the specific errors for a specific blueprint.
2018-02-19 14:33:44 +00:00
Leo Hemsted
093e8083e0
upload letter pdfs with retention tag
...
so we can delete them automatically with s3's lifecycle policy
2018-02-09 17:13:37 +00:00
Imdad Ahad
6da3d3ed0b
Remove wheels-ing on deployment
2017-07-21 14:26:59 +01:00
Martyn Inglis
8f7afcdb16
Did some work around the delete queues script
2017-05-30 17:07:43 +01:00
bandesz
1e83f7d8e2
Remove Docker commands for CF, clean up artifact creation
2017-02-28 12:32:01 +00:00
bandesz
fd66fbd719
Run API on Paas
2017-01-13 10:24:13 +00:00
Rebecca Law
83f3c92c24
Move jsonschema to requirements.txt to missing dependency
2016-11-02 14:02:06 +00:00
Leo Hemsted
00cac0f88b
add junit xml reporting to pytest
...
also add file location to gitignore preemptively
2016-08-31 15:03:28 +01:00
bandesz
68c1135379
Create Docker build image, build project with Docker
2016-08-22 17:25:41 +01:00
Martyn Inglis
c8a5366484
Scheduled tasks to clean up the database
...
- tasks run hourly
- uses celery beat to schedule the tasks
4 new tasks
- delete verify codes (after 1 day)
- delete invitations (after 1 day)
- delete successful notifications (after 1 day)
- delete failed notifications (after 7 days)
Delete methods in the DAO classes
2016-03-09 17:46:01 +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
Martyn Inglis
d275ba83a2
Added endpoints for the proxy to notifications.
...
- this uses alpha API for delivery
- no DB model included as just proving
- all notifications for same service at the moment (!)
2016-01-19 11:23:09 +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
Rebecca Law
3d59c72e17
Initial version of the notify-notifications-api
2015-11-18 17:02:25 +00:00
Rebecca Law
e277780d5f
Initial commit
2015-11-18 13:57:17 +00:00