Skip to content
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

Discount expiry notifier - Create state machine #2619

Merged
merged 34 commits into from
Jan 16, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
17ec23c
Create discount-expiry-notifier.ts
david-pepper Jan 9, 2025
4e15b94
Create discount-expiry-notifier.test.ts
david-pepper Jan 9, 2025
c4ed55c
Create discount-expiry-notifier.test.ts.snap
david-pepper Jan 9, 2025
46e7fd3
fix formatting
david-pepper Jan 9, 2025
7c21c67
Create riff-raff.yaml
david-pepper Jan 9, 2025
ff7c6ea
Update discount-expiry-notifier.test.ts
david-pepper Jan 9, 2025
918c812
Update ci-typescript.yml
david-pepper Jan 9, 2025
d63c95f
Update discount-expiry-notifier.test.ts.snap
david-pepper Jan 9, 2025
55f6775
Update discount-expiry-notifier.ts
david-pepper Jan 9, 2025
f9b4fb1
Update discount-expiry-notifier.ts
david-pepper Jan 9, 2025
57b4b1d
Update discount-expiry-notifier.test.ts.snap
david-pepper Jan 9, 2025
f0af67f
Create package.json
david-pepper Jan 9, 2025
10c2fed
Update pnpm-lock.yaml
david-pepper Jan 9, 2025
2adc2f5
add starter lambda
david-pepper Jan 9, 2025
2d635a4
Create tsconfig.json
david-pepper Jan 9, 2025
15b88d2
Create jest.config.js
david-pepper Jan 9, 2025
b93ef25
Update getSubsWithExpiringDiscounts.ts
david-pepper Jan 9, 2025
e383b1e
Create getSubsWithExpiringDiscounts.test.ts
david-pepper Jan 9, 2025
8bffb3b
Update package.json
david-pepper Jan 13, 2025
7eaf830
Update cdk.ts
david-pepper Jan 13, 2025
fffc8de
Update cdk.ts
david-pepper Jan 13, 2025
eb234e2
Update discount-expiry-notifier.ts
david-pepper Jan 13, 2025
3e7e37b
Update discount-expiry-notifier.test.ts.snap
david-pepper Jan 13, 2025
9d51dcb
Update discount-expiry-notifier.ts
david-pepper Jan 13, 2025
a8d0e57
Update discount-expiry-notifier.ts
david-pepper Jan 13, 2025
f4cb265
Update discount-expiry-notifier.test.ts.snap
david-pepper Jan 13, 2025
70cd1c1
Update discount-expiry-notifier.ts
david-pepper Jan 13, 2025
e811db4
Update discount-expiry-notifier.test.ts.snap
david-pepper Jan 13, 2025
dff2c45
Update riff-raff.yaml
david-pepper Jan 13, 2025
56e4b67
Update discount-expiry-notifier.ts
david-pepper Jan 13, 2025
0d70446
Update discount-expiry-notifier.test.ts.snap
david-pepper Jan 13, 2025
1fd6d05
Update riff-raff.yaml
david-pepper Jan 16, 2025
ea0688c
Update cdk.ts
david-pepper Jan 16, 2025
e20f8a0
Merge branch 'main' into create-discount-expiry-notifier-state-machine
david-pepper Jan 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci-typescript.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- generate-product-catalog
- alarms-handler
- discount-api
- discount-expiry-notifier
- salesforce-disaster-recovery
- salesforce-disaster-recovery-health-check
- zuora-salesforce-link-remover
Expand Down
9 changes: 9 additions & 0 deletions cdk/bin/cdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { AlarmsHandler } from '../lib/alarms-handler';
import { BatchEmailSender } from '../lib/batch-email-sender';
import { CancellationSfCasesApi } from '../lib/cancellation-sf-cases-api';
import { DiscountApi } from '../lib/discount-api';
import { DiscountExpiryNotifier } from '../lib/discount-expiry-notifier';
import { GenerateProductCatalog } from '../lib/generate-product-catalog';
import type { NewProductApiProps } from '../lib/new-product-api';
import { NewProductApi } from '../lib/new-product-api';
Expand Down Expand Up @@ -287,3 +288,11 @@ new UserBenefits(app, 'user-benefits-PROD', {
supporterProductDataTable:
'supporter-product-data-tables-PROD-SupporterProductDataTable',
});
new DiscountExpiryNotifier(app, 'discount-expiry-notifier-CODE', {
stack: 'support',
stage: 'CODE',
});
new DiscountExpiryNotifier(app, 'discount-expiry-notifier-PROD', {
stack: 'support',
stage: 'PROD',
});
Loading
Loading