Skip to content

Commit 3d19ae1

Browse files
author
Ubuntu
committed
Examples migrated to pytest testing - Step Functions
1 parent 26e6ee0 commit 3d19ae1

File tree

86 files changed

+1691
-2374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

86 files changed

+1691
-2374
lines changed

README.md

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ If you'd like to jump right into code, you can begin with a starter project in y
2222
- [Java starter](./java-test-samples/apigw-lambda-list-s3-buckets)
2323
- [TypeScript starter](./typescript-test-samples/typescript-test-intro)
2424
- [.NET starter](./dotnet-test-samples/apigw-lambda-list-s3-buckets)
25-
- [Local starter](./local-test-samples/apigateway-crud-lambda-dynamodb)
2625

2726
# Language Directories
2827
The repository is divided into several language directories. If you would like to browse by language, you can navigate to the main page of each language directory:
@@ -31,8 +30,6 @@ The repository is divided into several language directories. If you would like t
3130
- [Java main directory](./java-test-samples/)
3231
- [TypeScript main directory](./typescript-test-samples/)
3332
- [.NET main directory](./dotnet-test-samples/)
34-
- [Local starter](./local-test-samples/)
35-
3633

3734
# Workload Types
3835
This repository contains sample code for testing a variety of different types of workloads, including API's, Event-Driven Architectures, Service Orchestration, Data Processing, and AWS Partner Patterns.
@@ -48,8 +45,6 @@ This repository contains sample code for testing a variety of different types of
4845
| [API Gateway, Lambda Authorizer, Lambda, DynamoDB](https://github.com/aws-samples/serverless-samples/tree/main/serverless-rest-api/javascript-http-sam) [External] | Node.js |
4946
| [API Gateway, Lambda, S3](./dotnet-test-samples/apigw-lambda-list-s3-buckets)|.NET|
5047
| [API Gateway, Lambda, DynamoDB](./dotnet-test-samples/apigw-lambda-ddb)|.NET|
51-
| [Api Gateway, Lambda, DynamoDB](./local-test-samples/apigateway-crud-lambda-dynamodb)|Local|
52-
| [Api Gateway, MOCK](./local-test-samples/apigateway-mock)|Local|
5348
| [SQS, Lambda, DynamoDB](./dotnet-test-samples/sqs-lambda)|.NET|
5449
| [API Gateway, Lambda, DynamoDB](./java-test-samples/apigw-lambda-ddb)|Java|
5550
| [AppSync, DynamoDB](./java-test-samples/java-appsync-sam)|Java|
@@ -62,8 +57,6 @@ Event-driven architectures (EDA) are an architecture style that uses events and
6257
|[Schemas and Contracts](./typescript-test-samples/schema-and-contract-testing)|TypeScript|Event driven architectures decouple producers and consumers at the infrastructure layer, but these resources may still be coupled at the application layer by the event contract. Learn how to test for breaking changes in the contract.|
6358
|[S3, Lambda, DynamoDB](./dotnet-test-samples/async-lambda-dynamodb)|.NET|This example shows how to test async system by using DynamoDB during to store incoming asynchronous events during testing|
6459
|[S3, Lambda, SQS](./dotnet-test-samples/async-lambda-sqs)|.NET|An example to how to test asynchronous workflow by long polling the queue that resulting messages are sent to.|
65-
|[Lambda, SAM, HelloWorld](./local-test-samples/lambda-sam-helloworld)|Local| Local Lambda HelloWorld implementation |
66-
|[Lambda, SAM, Layers](./local-test-samples/lambda-sam-layers)|Local| Local Lambda emulator Layers implementation |
6760

6861
## Architectural patterns
6962
|Pattern|Services used|Language|Description|
@@ -74,22 +67,13 @@ Event-driven architectures (EDA) are an architecture style that uses events and
7467
|System Under Test|Language|Description|
7568
|---|---|---|
7669
| [Step Functions](./java-test-samples/step-functions-local) [External] |Java|This project shows a technique for testing an AWS Step Functions workflow in a local desktop environment.|
77-
| [Step Functions, HelloWorld](./local-test-samples/stepfunctions-helloworld) |Local| Local Hello World Step Functions implementation |
78-
| [Step Functions, Lambda](./local-test-samples/stepfunctions-lambda) |Local| Local Lambda execution integrated with local Hello World Step Functions implementation |
79-
| [Step Functions, MOCK](./local-test-samples/stepfunctions-mock) |Local| Mocking answers from local Hello World Step Functions implementation |
8070

8171
## Data Processing
8272
| System Under Test|Language|Description|
8373
|---|---|---|
8474
|[Kinesis Data Stream, Lambda](./typescript-test-samples/kinesis-lambda-dynamodb)|TypeScript|This project shows a technique for testing a streaming data processing system.|
8575
|[Kinesis Data Stream, Lambda, DynamoDB](./dotnet-test-samples/kinesis-lambda-dynamodb)|.NET|This pattern creates an AWS Lambda function that consumes messages from an Amazon Kinesis Data Streams and dumps them to Amazon DynamoDB using SAM and .NET 6.|
8676

87-
## Database
88-
| System Under Test|Language|Description|
89-
| [DynamoDB, aws cli](./local-test-samples/dynamodb-crud-cli)|Local| DynamoDB CRUD operations using local docker image and aws cli |
90-
| [DynamoDB, Lambda](./local-test-samples/dynamodb-crud-lambda)|Local| DynamoDB CRUD operations using docker image and local lambda local emulator |
91-
| [DynamoDB, StepFunctions](./local-test-samples/dynamodb-crud-stepfunctions)|Local| DynamoDB CRUD operations using docker image and step functions local emulator |
92-
9377
## AWS Partner Patterns
9478
| Partner |System Under Test|Language|Description|
9579
|---|---|---|---|

local-test-samples/apigateway-crud-lambda-dynamodb/README.md

Lines changed: 0 additions & 159 deletions
This file was deleted.

local-test-samples/apigateway-crud-lambda-dynamodb/events/lambda-create-event.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

local-test-samples/apigateway-crud-lambda-dynamodb/events/lambda-delete-event.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

local-test-samples/apigateway-crud-lambda-dynamodb/events/lambda-init-event.json

Lines changed: 0 additions & 5 deletions
This file was deleted.

local-test-samples/apigateway-crud-lambda-dynamodb/events/lambda-read-event.json

Lines changed: 0 additions & 3 deletions
This file was deleted.

local-test-samples/apigateway-crud-lambda-dynamodb/events/lambda-update-event.json

Lines changed: 0 additions & 3 deletions
This file was deleted.
-69.3 KB
Binary file not shown.

local-test-samples/apigateway-crud-lambda-dynamodb/lambda_crud_src/lambda_crud_create_src/app.py

Lines changed: 0 additions & 22 deletions
This file was deleted.

local-test-samples/apigateway-crud-lambda-dynamodb/lambda_crud_src/lambda_crud_delete_src/app.py

Lines changed: 0 additions & 27 deletions
This file was deleted.

0 commit comments

Comments
 (0)