Skip to content

Commit c7b6fec

Browse files
add more message and SUT
1 parent 2e3cc2a commit c7b6fec

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

java-test-samples/java-appsync-sam/README-Cognito.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Shared Resources
2-
These resources are available to integrate and use as a boilerplate infrastructure-as-a-code (IaaC) templates.
1+
# Shared Resources from AppSync-SAM project
2+
Integration test on AppSync-SAM project need to include end-to-end testing using Cognito. These resources are available to integrate and use as a boilerplate infrastructure-as-a-code (IaaC) templates.
33

44
## Amazon Cognito
55
[This template](cognito.yaml) creates Amazon Cognito user and identity pools. Both authorized and unauthorized roles are created for identity pool and empty administrative user group is created in the User Pool. You will need to create appropriate policies and associate them with the roles created. Please note that this stack does not create UI that could be used for interactive login and User Pool callback URL points to the localhost.

java-test-samples/java-appsync-sam/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ AWS AppSync uses Amazon DynamoDB Resolvers to implement application business log
1313

1414
![GraphQL Schema](./assets/schema.png)
1515

16+
## System Under Test
17+
This project contain two different scope on System Under Test (SUT), Integration test which include end to end testing, and Mock test which only test resolver using java code.
18+
![System Under Test](./assets/sut.png)
19+
1620

1721
## Project structure
1822
This project contains source code and supporting files for a serverless application that you can deploy with the AWS Serverless Application Model (AWS SAM) command-line interface (CLI). It includes the following files and folders:
Loading

0 commit comments

Comments
 (0)