Skip to content

Commit 814cef3

Browse files
authored
Merge pull request #1291 from cmu-delphi/release/delphi-epidata-4.1.10
Release Delphi Epidata 4.1.10
2 parents 96e7045 + 8a0aa53 commit 814cef3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+1217
-146
lines changed

.bumpversion.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.1.9
2+
current_version = 4.1.10
33
commit = False
44
tag = False
55

.github/workflows/ci.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ jobs:
7575
7676
- name: Start delphi_web_epidata
7777
run: |
78-
docker run --rm -d -p 10080:80 --env "MODULE_NAME=delphi.epidata.server.main" --env "SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata" --env "FLASK_SECRET=abc" --env "FLASK_PREFIX=/epidata" --env "REDIS_HOST=delphi_redis" --env "REDIS_PASSWORD=1234" --env "API_KEY_REGISTER_WEBHOOK_TOKEN=abc" --env "API_KEY_ADMIN_PASSWORD=test_admin_password" --network delphi-net --name delphi_web_epidata delphi_web_epidata
78+
docker run --rm -d -p 10080:80 --env "MODULE_NAME=delphi.epidata.server.main" --env "SQLALCHEMY_DATABASE_URI=mysql+mysqldb://user:pass@delphi_database_epidata:3306/epidata" --env "FLASK_SECRET=abc" --env "FLASK_PREFIX=/epidata" --env "REDIS_HOST=delphi_redis" --env "REDIS_PASSWORD=1234" --env "API_KEY_REGISTER_WEBHOOK_TOKEN=abc" --env "API_KEY_ADMIN_PASSWORD=test_admin_password" --env "TESTING_MODE=True" --network delphi-net --name delphi_web_epidata delphi_web_epidata
7979
docker ps
8080
8181
- name: Run Unit Tests
@@ -101,7 +101,7 @@ jobs:
101101
uses: actions/checkout@v2
102102
- uses: actions/setup-node@v2
103103
with:
104-
node-version: '14.x'
104+
node-version: '16.x'
105105
- name: Cache Node.js modules
106106
uses: actions/cache@v2
107107
with:

.github/workflows/performance-tests-periodic.yml

-102
This file was deleted.

.github/workflows/performance-tests.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@ jobs:
1414
run-perftests:
1515
# Make sure 1. this is a PR, not an issue 2. it contains "/run performance test" anywhere in the body
1616
if: github.event.issue.pull_request && contains(github.event.comment.body, '/run performance test')
17-
runs-on: ubuntu-latest
17+
# Run this on Delphi's self-hosted runner
18+
runs-on: self-hosted
1819
outputs:
1920
request_count: ${{ steps.output.outputs.request_count }}
2021
failure_count: ${{ steps.output.outputs.failure_count }}

.github/workflows/release-helper.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
uses: actions/checkout@v2
9696
- uses: actions/setup-node@v2
9797
with:
98-
node-version: '14.x'
98+
node-version: '16.x'
9999
- name: Cache Node.js modules
100100
uses: actions/cache@v2
101101
with:

dev/local/Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ web:
104104
--env "REDIS_PASSWORD=1234" \
105105
--env "API_KEY_ADMIN_PASSWORD=test_admin_password" \
106106
--env "API_KEY_REGISTER_WEBHOOK_TOKEN=abc" \
107+
--env "TESTING_MODE=True" \
107108
--network delphi-net --name delphi_web_epidata \
108109
delphi_web_epidata >$(LOG_WEB) 2>&1 &
109110

dev/local/setup.cfg

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = Delphi Development
3-
version = 4.1.9
3+
version = 4.1.10
44

55
[options]
66
packages =

docs/api/fluview.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ General topics not specific to any particular endpoint are discussed in the
1818
Influenza-like illness (ILI) from U.S. Outpatient Influenza-like Illness Surveillance Network (ILINet).
1919
- Data source: [United States Centers for Disease Control and Prevention](http://gis.cdc.gov/grasp/fluview/fluportaldashboard.html) (CDC)
2020
- Temporal Resolution: Weekly* from 1997w40
21-
- Spatial Resolution: National, [HHS regions](http://www.hhs.gov/iea/regional/), [Census divisions](http://www.census.gov/econ/census/help/geography/regions_and_divisions.html), most States and Territories, and some Cities (full list [here](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py))
21+
- Spatial Resolution: National, [HHS regions](https://www.hhs.gov/about/agencies/iea/regional-offices/index.html), [Census divisions](https://www2.census.gov/geo/pdfs/maps-data/maps/reference/us_regdiv.pdf), most States and Territories, and some Cities (full list [here](https://github.com/cmu-delphi/delphi-epidata/blob/main/src/acquisition/fluview/fluview_locations.py))
2222
- Open access
2323

2424
\* Data is usually released on Friday

integrations/acquisition/covidcast/test_covidcast_meta_caching.py

+13
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,19 @@ def setUp(self):
5858
secrets.db.host = 'delphi_database_epidata'
5959
secrets.db.epi = ('user', 'pass')
6060

61+
epidata_cnx = mysql.connector.connect(
62+
user='user',
63+
password='pass',
64+
host='delphi_database_epidata',
65+
database='epidata')
66+
epidata_cur = epidata_cnx.cursor()
67+
68+
epidata_cur.execute("DELETE FROM `api_user`")
69+
epidata_cur.execute('INSERT INTO `api_user`(`api_key`, `email`) VALUES("key", "email")')
70+
epidata_cnx.commit()
71+
epidata_cur.close()
72+
epidata_cnx.close()
73+
6174
# use the local instance of the Epidata API
6275
Epidata.BASE_URL = BASE_URL
6376
Epidata.auth = ('epidata', 'key')

integrations/acquisition/covidcast/test_csv_uploading.py

+13
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,19 @@ def setUp(self):
5555
secrets.db.host = 'delphi_database_epidata'
5656
secrets.db.epi = ('user', 'pass')
5757

58+
epidata_cnx = mysql.connector.connect(
59+
user='user',
60+
password='pass',
61+
host='delphi_database_epidata',
62+
database='epidata')
63+
epidata_cur = epidata_cnx.cursor()
64+
65+
epidata_cur.execute("DELETE FROM `api_user`")
66+
epidata_cur.execute('INSERT INTO `api_user`(`api_key`, `email`) VALUES("key", "email")')
67+
epidata_cnx.commit()
68+
epidata_cur.close()
69+
epidata_cnx.close()
70+
5871
# use the local instance of the Epidata API
5972
Epidata.BASE_URL = 'http://delphi_web_epidata/epidata/api.php'
6073
Epidata.auth = ('epidata', 'key')

0 commit comments

Comments
 (0)