Skip to content

Commit 924e59c

Browse files
authored
feat: Update sample application to v1 (#1539)
1 parent 9ebc86b commit 924e59c

File tree

262 files changed

+2302
-2414
lines changed

Some content is hidden

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

262 files changed

+2302
-2414
lines changed

.markdownlint.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
"MD013": false,
44
"MD014": false,
55
"MD033": false,
6+
"MD059": false,
67
"customRules": ["mdlint/aws-arn-rule.js"]
78
}

lab/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM public.ecr.aws/amazonlinux/amazonlinux:2023
22

3-
RUN yum install -y tar gzip vim shadow-utils && useradd \
3+
RUN yum install -y tar gzip vi shadow-utils && useradd \
44
--home "/home/ec2-user" \
55
--create-home \
66
--user-group \

lab/bin/reset-environment

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ if [ ! -z "$module" ]; then
9494
fi
9595
fi
9696

97-
logmessage "🎓 ${PURPLE}Tip:${NC} Read the rest of the lab introduction while you wait!"
97+
logmessage "🎓 ${PURPLE}Tip:${NC} Read the rest of the lab introduction while you wait!\n"
9898

9999
if [ -f "/eks-workshop/hooks/cleanup.sh" ]; then
100100
bash /eks-workshop/hooks/cleanup.sh

manifests/base-application/assets/configMap.yaml

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

manifests/base-application/assets/deployment.yaml

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

manifests/base-application/assets/kustomization.yaml

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

manifests/base-application/assets/service.yaml

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

manifests/base-application/assets/serviceAccount.yaml

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

manifests/base-application/carts/configMap.yaml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ kind: ConfigMap
33
metadata:
44
name: carts
55
data:
6-
CARTS_DYNAMODB_TABLENAME: Items
7-
CARTS_DYNAMODB_CREATETABLE: "true"
6+
RETAIL_CART_PERSISTENCE_PROVIDER: dynamodb
7+
RETAIL_CART_PERSISTENCE_DYNAMODB_TABLE_NAME: Items
8+
RETAIL_CART_PERSISTENCE_DYNAMODB_CREATE_TABLE: "true"
89
AWS_ACCESS_KEY_ID: key
910
AWS_SECRET_ACCESS_KEY: secret
10-
CARTS_DYNAMODB_ENDPOINT: http://carts-dynamodb:8000
11+
RETAIL_CART_PERSISTENCE_DYNAMODB_ENDPOINT: http://carts-dynamodb:8000

manifests/base-application/carts/deployment-db.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ spec:
2323
spec:
2424
containers:
2525
- name: dynamodb
26-
image: "amazon/dynamodb-local:1.13.1"
26+
image: "amazon/dynamodb-local:1.25.1"
2727
imagePullPolicy: IfNotPresent
2828
ports:
2929
- name: dynamodb

0 commit comments

Comments
 (0)