-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Feature branch rp job * Initial setup RP job (#1769) * Initial setup RP job https://eaflood.atlassian.net/browse/IWTF-3381 Setup recurring payment job * initial setup * Update docker/README.md Co-authored-by: Iris Faraway <[email protected]> * update readme * update license * add console log for when rp running * setup docker so picks up commands run tomprove running * LICENSE --------- Co-authored-by: Iris Faraway <[email protected]> * Retrieve recurring payments https://eaflood.atlassian.net/browse/IWTF-3617 Recurring Payments Job to retrieve the recurring payments due on the current day * grab rp * working rpjob * update error in tranaction.schema * prettier readme * remove console logs * Updated following comments in PR, pushing to fix test * Update dependencies, fix lint errors * push changes for support * update getRecurringPayments * updated env files, remove logs, add date, refactor tests * lint errors * code smells * remove console logs * fix broken test * fix code smell * remove await * code coverage * update tests and package.json * npm install on rp job folder * remove package-lock and run npm install * update package-lock and package references * changes made following pr comments * update package.json * update entity tests, add comments where changes are needed * Amend so that we expand contact and active permission in a single fetc h, plus filter just on date when retrieving recurring payments * Fixed process transaction queue tests * Fix recurring payment service tests * Update dependencies * Fix more dependencies * Dependencies. Yeah. * new version of recurring-payments-job * Update package lock for recurring payments job * Remove automock and add manual mock to work around weird failure * Fix RP query test * Fix code smell * Remove phone from content in text message option (#1826) * Remove phone from content in text message option https://eaflood.atlassian.net/browse/IWTF-3861 Remove the word phone from the content for a text message option * added welsh * chore(release): publish v1.37.0-rc.7 * rename tests, change date format and update tests * remove mockRestore --------- Co-authored-by: Iris Faraway <[email protected]> Co-authored-by: Phil Benson <[email protected]> Co-authored-by: GitHub Actions <[email protected]>
- Loading branch information
1 parent
2b1ede0
commit 2d02548
Showing
37 changed files
with
2,253 additions
and
789 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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#################################################################################### | ||
# Recurring Payments Job | ||
#################################################################################### | ||
NODE_ENV=development | ||
|
||
# Recurring Payments feature switch | ||
RUN_RECURRING_PAYMENTS=true | ||
|
||
# Sales API | ||
SALES_API_URL=http://host.docker.internal:4000 | ||
SALES_API_TIMEOUT_MS=120000 |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#################################################################################### | ||
# Recurring Payment Job Secret Environment Variables | ||
#################################################################################### | ||
|
||
# Global OAuth Settings | ||
OAUTH_AUTHORITY_HOST_URL=<insert here> | ||
OAUTH_TENANT=<insert here> | ||
|
||
# Dynamics instance-specific settings | ||
OAUTH_CLIENT_ID=<insert here> | ||
OAUTH_CLIENT_SECRET=<insert here> | ||
OAUTH_SCOPE=<insert here> | ||
|
||
DYNAMICS_API_PATH=<insert here> | ||
DYNAMICS_API_VERSION=<insert here> |
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
Oops, something went wrong.