Skip to content

Commit

Permalink
chore(pipes-targets): update integration tests to use SqsSource (#31588)
Browse files Browse the repository at this point in the history
This incorporates feedback from #30756 so all integration tests are uniform.

Related to #31589.
  • Loading branch information
msambol authored Oct 8, 2024
1 parent 17b12f2 commit b766a83
Show file tree
Hide file tree
Showing 30 changed files with 3,623 additions and 4,227 deletions.
16 changes: 8 additions & 8 deletions packages/@aws-cdk/aws-pipes-targets-alpha/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ declare const targetQueue: sqs.Queue;
const pipeTarget = new targets.SqsTarget(targetQueue);

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -68,7 +68,7 @@ const pipeTarget = new targets.SqsTarget(targetQueue,
);

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -84,7 +84,7 @@ declare const targetStateMachine: sfn.IStateMachine;
const pipeTarget = new targets.SfnStateMachine(targetStateMachine,{});

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -102,7 +102,7 @@ const pipeTarget = new targets.SfnStateMachine(targetStateMachine,
);

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -121,7 +121,7 @@ const pipeTarget = new targets.SfnStateMachine(targetStateMachine,
);

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -137,7 +137,7 @@ declare const targetFunction: lambda.IFunction;
const pipeTarget = new targets.LambdaFunction(targetFunction,{});

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -153,7 +153,7 @@ const pipeTarget = new targets.LambdaFunction(targetFunction, {
});

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand All @@ -169,7 +169,7 @@ const pipeTarget = new targets.LambdaFunction(targetFunction, {
});

const pipe = new pipes.Pipe(this, 'Pipe', {
source: new SomeSource(sourceQueue),
source: new SqsSource(sourceQueue),
target: pipeTarget
});
```
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Pipe } from '@aws-cdk/aws-pipes-alpha';
// eslint-disable-next-line import/no-extraneous-dependencies
import { SqsSource } from '@aws-cdk/aws-pipes-sources-alpha';
import { ExpectedResult, IntegTest } from '@aws-cdk/integ-tests-alpha';
import * as cdk from 'aws-cdk-lib';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { Pipe } from '@aws-cdk/aws-pipes-alpha';
// eslint-disable-next-line import/no-extraneous-dependencies
import { SqsSource } from '@aws-cdk/aws-pipes-sources-alpha';
import { IntegTest } from '@aws-cdk/integ-tests-alpha';
import * as cdk from 'aws-cdk-lib';
Expand Down
Loading

0 comments on commit b766a83

Please sign in to comment.