forked from bcgov/lear
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
21331 Dissolutions Job - Implement stage 2 (bcgov#2736)
* 21331 - Dissolutions Job - Implement stage 2 Signed-off-by: Hongjing Chen <[email protected]> * update to use STAGE_1_DELAY & STAGE_2_DELAY Signed-off-by: Hongjing Chen <[email protected]> * update check_run_schedule & add can_run_today Signed-off-by: Hongjing Chen <[email protected]> * match only day of week & fix unit test Signed-off-by: Hongjing Chen <[email protected]> * misc updates after rebasing Signed-off-by: Hongjing Chen <[email protected]> * add nats dependencies into job Signed-off-by: Hongjing Chen <[email protected]> * update batch_processing.notes & add debug logging Signed-off-by: Hongjing Chen <[email protected]> * update unit test - test that check_run_schedule only matches the day of week Signed-off-by: Hongjing Chen <[email protected]> --------- Signed-off-by: Hongjing Chen <[email protected]>
- Loading branch information
1 parent
ed59c98
commit 7b365da
Showing
6 changed files
with
221 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,8 @@ Jinja2==2.11.3 | |
MarkupSafe==1.1.1 | ||
Werkzeug==1.0.1 | ||
aniso8601==9.0.1 | ||
asyncio-nats-client==0.11.4 | ||
asyncio-nats-streaming==0.4.0 | ||
attrs==23.1.0 | ||
blinker==1.4 | ||
certifi==2020.12.5 | ||
|
@@ -15,6 +17,8 @@ flask-jwt-oidc==0.3.0 | |
gunicorn==20.1.0 | ||
itsdangerous==1.1.0 | ||
jsonschema==4.19.0 | ||
nest_asyncio | ||
protobuf==3.15.8 | ||
pyasn1==0.4.8 | ||
pyrsistent==0.17.3 | ||
python-dotenv==0.17.1 | ||
|
@@ -26,5 +30,5 @@ six==1.15.0 | |
urllib3==1.26.11 | ||
requests==2.25.1 | ||
cachelib==0.1.1 | ||
legal_api[nats] @ git+https://github.com/bcgov/lear.git#egg=legal_api&subdirectory=legal-api | ||
git+https://github.com/bcgov/lear.git#egg=legal_api&subdirectory=legal-api | ||
git+https://github.com/bcgov/[email protected]#egg=registry_schemas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
import os | ||
|
||
import psycopg2 | ||
|
||
|
||
def test_connection_failed(): | ||
status = False | ||
try: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters