Skip to content

Commit c3e44be

Browse files
authored
promo-sync lambda (#3301)
* promo-sync lambda * Add lambda to cdk * fix label * STAGE is redundant * transform data, tests * fix test * fix more tests * keep dates as strings for now * fix test * log writes * Remove support for deletes * add code to name
1 parent 501b0f0 commit c3e44be

File tree

17 files changed

+1230
-96
lines changed

17 files changed

+1230
-96
lines changed

buildcheck/data/build.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,10 @@ const productSwitchApi: HandlerDefinition = {
199199

200200
const promotionsLambdas: HandlerDefinition = {
201201
name: 'promotions-lambdas',
202-
functionNames: ['promotions-lambdas-promo-campaign-sync-'],
202+
functionNames: [
203+
'promotions-lambdas-promo-campaign-sync-',
204+
'promotions-lambdas-promo-sync-',
205+
],
203206
entryPoints: ['src/handlers/*.ts'],
204207
dependencies: {
205208
...dep['@aws-sdk/util-dynamodb'],

cdk/bin/cdk.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,11 @@ new SingleContributionSalesforceWrites(
126126

127127
new PromotionsLambdas(app, 'CODE', {
128128
oldPromoCampaignStreamLabel: '2025-12-17T11:57:50.933',
129+
oldPromoStreamLabel: '2023-04-28T14:57:20.201',
129130
});
130131
new PromotionsLambdas(app, 'PROD', {
131132
oldPromoCampaignStreamLabel: '2025-12-17T11:57:59.560',
133+
oldPromoStreamLabel: '2016-06-01T13:26:09.654',
132134
});
133135

134136
const stacks: Array<new (app: App, stage: SrStageNames) => unknown> = [

0 commit comments

Comments
 (0)