-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
#3260 - CAS Integration 3A - Create new Supplier and Site - Retry on Error and Scheduler Time #3830
Conversation
@@ -63,19 +62,16 @@ export class CASSupplierIntegrationScheduler extends BaseScheduler<void> { | |||
`Records updated: ${suppliersUpdated}.`, | |||
], | |||
processSummary, | |||
{ throwOnError: true }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
...ue-consumers/src/processors/schedulers/cas-integration/cas-supplier-integration.scheduler.ts
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great work @andrewsignori-aot 👍 Thank You for explaining the mocks related to the e2e test. Very helpful.
sims.queue_configurations | ||
SET | ||
queue_configuration = '{ | ||
"cron": "0 19 * * 1-5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad. I missed the PT part. As we discussed noon PST should be 8PM UTC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My bad too. All schedulers on wiki are using PST as a reference.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to 8 PM UTC which will convert to 12 PM PST.
Updated the wik also.
...processors/schedulers/cas-integration/_tests_/cas-supplier-integration.scheduler.e2e-spec.ts
Show resolved
Hide resolved
export function convertToASCIIString(rawContent?: string): string | null { | ||
return convertToASCII(rawContent)?.toString() ?? null; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for raising the issue 😉
|
sims.queue_configurations | ||
SET | ||
queue_configuration = '{ | ||
"cron": "0 20 * * 1-5", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Please update the PR description as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for making the change. Looks good 👍
0 20 * * 1-5
).Rollback
Fix
COUNTRY_CANADA
was defined as "canada" when it is defined as "Canada" is all form.io definitions leading to an incorrect logic.