alexjanousekGSA
73154b1fa5
Made changes for zap scans
2025-07-31 10:50:55 -04:00
Kenneth Kehl
69394f7a7f
more tests
2025-07-07 07:42:33 -07:00
Kenneth Kehl
2abcbc5560
cleanup
2025-06-05 08:17:30 -07:00
Kenneth Kehl
aa9cafb5f1
improve debug of external issues
2025-06-05 08:12:56 -07:00
Aditi Anand
ad55eef5e9
Changes for sqlalchemy 2.0
2024-04-24 16:27:20 -04:00
Kenneth Kehl
1ecb747c6d
reformat
2023-08-29 14:54:30 -07:00
Kenneth Kehl
4940d5e93b
notify-api-332 rename organisation
2023-07-10 11:06:29 -07:00
Ben Thorner
a91fde2fda
Run auto-correct on app/ and tests/
2021-03-12 11:45:45 +00:00
Pea Tyczynska
260fd7940d
Update healthcheck page - remove travis references
...
Also remove travis references from the repository
2020-04-24 13:43:00 +01:00
Rebecca Law
49533d7792
Fix typo in function name
2020-02-24 11:26:16 +00:00
Chris Hill-Scott
6bfd999de2
Add method to count of live services and orgs
...
So that we don’t have to update the home page manually any more.
2019-04-11 13:54:43 +01:00
Leo Hemsted
0d5f8cc7df
add status endpoint to '/'
...
paas were trying to ascertain if notify was up by looking at '/', for cert
renewal. This commit adds the status endpoint to '/', so we're not mistakenly
left for our cert to expire
2018-10-26 18:02:41 +01:00
Athanasios Voutsadakis
9888ba3d4e
Add http health-check for the api app
...
Also rename the 'elb' argument to 'simple' to be more descriptive.
The healthcheck is going to issue requests to `/_status?simple=true`
just to check that gunicorn is up and running - we don't need to go all
the way to the database, as this would have adverse impact when api is
under load.
2018-03-28 17:19:02 +01:00
Rebecca Law
5aa37f09b6
Removed the _delivery_status endpoint.
...
The test this status check was doing does not reflect real traffic of Notify. It is typical for messages to be in 'sending' for a while (people turn off their phone for example).
2017-10-17 15:51:42 +01:00
Chris Hill-Scott
9d02496173
Warn devs about changing healthcheck page response
2017-08-31 12:14:04 +01:00
venusbb
16571c5b3c
IP restriction for inbound sms test 2
2017-06-29 10:47:27 +01:00
venusbb
9e9b3f39a1
Check IP address source
2017-06-26 11:08:10 +01:00
venusbb
617253dc36
Check IP address source
2017-06-26 10:24:48 +01:00
Nicholas Staples
03f15d6af9
Update now to utcnow. All tests passing.
2016-05-11 10:56:24 +01:00
Adam Shimali
b51ee0b4d0
Add delivery status endpoint
2016-04-29 13:00:21 +01:00
Martyn Inglis
9b28a6d4ad
Fixed version file to use new names
2016-03-03 16:27:13 +00:00
Martyn Inglis
13320cbed0
Updated to populate on dev
2016-03-03 15:32:22 +00: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
Nicholas Staples
cd5a91d4c8
version file has been updated to include a travis commit and time of build.
2016-02-01 11:37:22 +00:00
Nicholas Staples
99b849171f
Status page updated with api version and db version.
2016-01-29 12:51:33 +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
010408d98a
Remove the view packages
2016-01-14 16:13:27 +00:00