diff --git a/Apps/Broker/package.json b/Apps/Broker/package.json index b61afda..6bf31db 100644 --- a/Apps/Broker/package.json +++ b/Apps/Broker/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--broker", - "version": "latest", + "version": "v2.1.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Common/package.json b/Apps/Common/package.json index e363d47..2e8bd11 100644 --- a/Apps/Common/package.json +++ b/Apps/Common/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--common", - "version": "latest", + "version": "v2.1.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Delivery/package.json b/Apps/Delivery/package.json index 3464d55..0672f8d 100644 --- a/Apps/Delivery/package.json +++ b/Apps/Delivery/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--delivery", - "version": "latest", + "version": "v2.1.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Order/package.json b/Apps/Order/package.json index 2f1607a..d96d322 100644 --- a/Apps/Order/package.json +++ b/Apps/Order/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--order", - "version": "latest", + "version": "v2.1.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/Apps/Payment/package.json b/Apps/Payment/package.json index cb28d2a..5d03b6c 100644 --- a/Apps/Payment/package.json +++ b/Apps/Payment/package.json @@ -1,6 +1,6 @@ { "name": "event-driven-architecture-playground--payment", - "version": "latest", + "version": "v2.1.0", "author": "David Leclerc", "main": "./src/index.ts", "scripts": { diff --git a/K8s/Resources/Deployments/Broker.deployment.yml b/K8s/Resources/Deployments/Broker.deployment.yml index f8e1aea..5ad4754 100644 --- a/K8s/Resources/Deployments/Broker.deployment.yml +++ b/K8s/Resources/Deployments/Broker.deployment.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: app - image: dleclercpro/sweets-broker:latest + image: dleclercpro/sweets-broker:v2.1.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Delivery.deployment.yml b/K8s/Resources/Deployments/Delivery.deployment.yml index 3a6579a..08377cf 100644 --- a/K8s/Resources/Deployments/Delivery.deployment.yml +++ b/K8s/Resources/Deployments/Delivery.deployment.yml @@ -24,7 +24,7 @@ spec: spec: containers: - name: app - image: dleclercpro/sweets-delivery:latest + image: dleclercpro/sweets-delivery:v2.1.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Grafana.deployment.yml b/K8s/Resources/Deployments/Grafana.deployment.yml index 8291805..2351254 100644 --- a/K8s/Resources/Deployments/Grafana.deployment.yml +++ b/K8s/Resources/Deployments/Grafana.deployment.yml @@ -20,7 +20,7 @@ spec: spec: containers: - name: app - image: dleclercpro/sweets-grafana:latest + image: dleclercpro/sweets-grafana:v2.1.0 ports: - containerPort: 3000 volumeMounts: diff --git a/K8s/Resources/Deployments/Order.deployment.yml b/K8s/Resources/Deployments/Order.deployment.yml index 2ec0761..ebe9ae7 100644 --- a/K8s/Resources/Deployments/Order.deployment.yml +++ b/K8s/Resources/Deployments/Order.deployment.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: app - image: dleclercpro/sweets-order:latest + image: dleclercpro/sweets-order:v2.1.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Payment.deployment.yml b/K8s/Resources/Deployments/Payment.deployment.yml index 84da5bb..abc2ea5 100644 --- a/K8s/Resources/Deployments/Payment.deployment.yml +++ b/K8s/Resources/Deployments/Payment.deployment.yml @@ -23,7 +23,7 @@ spec: spec: containers: - name: app - image: dleclercpro/sweets-payment:latest + image: dleclercpro/sweets-payment:v2.1.0 imagePullPolicy: IfNotPresent # To avoid pulling image from repo ports: - containerPort: 80 diff --git a/K8s/Resources/Deployments/Prometheus.deployment.yml b/K8s/Resources/Deployments/Prometheus.deployment.yml index 55e89b6..4f88aaf 100644 --- a/K8s/Resources/Deployments/Prometheus.deployment.yml +++ b/K8s/Resources/Deployments/Prometheus.deployment.yml @@ -20,6 +20,6 @@ spec: spec: containers: - name: app - image: dleclercpro/sweets-prometheus:latest + image: dleclercpro/sweets-prometheus:v2.1.0 ports: - containerPort: 9090 \ No newline at end of file diff --git a/K8s/Scripts/load.sh b/K8s/Scripts/load.sh index 8b35089..da0334f 100644 --- a/K8s/Scripts/load.sh +++ b/K8s/Scripts/load.sh @@ -1,7 +1,7 @@ # Define constant image details user="dleclercpro" app="sweets" -release="latest" +release="v2.1.0" # Upload local images to Minikube image registry minikube image load $user/$app-broker:$release diff --git a/README.md b/README.md index b7cb866..9b997dd 100644 --- a/README.md +++ b/README.md @@ -60,5 +60,11 @@ Below is a diagram of the event flow implemented in this app. Each square repres ### v1.5.0 - Introduce deployment using Docker Compose as part of a common external network. -### v1.6.0 +### v2.0.0 +- Rework the frontend for a better UX. + +### v2.1.0 +- Rename application from 'EDA-Playground' to 'SweetGiggles': the dummy shop is going to be a an online candy store. + +### v2.2.0 - Introduce horizontal pod scaling in the K8s cluster and stress test it. \ No newline at end of file diff --git a/Scripts/build.sh b/Scripts/build.sh index afecac6..d3e7f70 100644 --- a/Scripts/build.sh +++ b/Scripts/build.sh @@ -9,7 +9,7 @@ cd "$dir/../Apps" # Define constant image details user="dleclercpro" app="sweets" -release="latest" +release="v2.1.0" # Build app images docker buildx build --platform linux/amd64,linux/arm64 -t $user/$app-broker:$release -f Broker.Dockerfile . --push diff --git a/docker-compose.local.yml b/docker-compose.local.yml index 9c864cd..551002f 100644 --- a/docker-compose.local.yml +++ b/docker-compose.local.yml @@ -4,7 +4,7 @@ version: '3.8' services: sweets-broker: container_name: sweets-broker - image: dleclercpro/sweets-broker:latest + image: dleclercpro/sweets-broker:v2.1.0 build: context: ./Apps dockerfile: Broker.Dockerfile @@ -17,7 +17,7 @@ services: sweets-order: container_name: sweets-order - image: dleclercpro/sweets-order:latest + image: dleclercpro/sweets-order:v2.1.0 build: context: ./Apps dockerfile: Order.Dockerfile @@ -28,7 +28,7 @@ services: sweets-payment: container_name: sweets-payment - image: dleclercpro/sweets-payment:latest + image: dleclercpro/sweets-payment:v2.1.0 build: context: ./Apps dockerfile: Payment.Dockerfile @@ -39,7 +39,7 @@ services: sweets-delivery: container_name: sweets-delivery - image: dleclercpro/sweets-delivery:latest + image: dleclercpro/sweets-delivery:v2.1.0 build: context: ./Apps dockerfile: Delivery.Dockerfile @@ -50,7 +50,7 @@ services: sweets-prometheus: container_name: sweets-prometheus - image: dleclercpro/sweets-prometheus:latest + image: dleclercpro/sweets-prometheus:v2.1.0 build: context: ./Apps dockerfile: Prometheus.Dockerfile @@ -62,7 +62,7 @@ services: sweets-grafana: container_name: sweets-grafana - image: dleclercpro/sweets-grafana:latest + image: dleclercpro/sweets-grafana:v2.1.0 build: context: ./Apps dockerfile: Grafana.Dockerfile diff --git a/docker-compose.yml b/docker-compose.yml index 0b0dce8..a368e76 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,7 @@ services: sweets-broker: container_name: sweets-broker - image: dleclercpro/sweets-broker:latest + image: dleclercpro/sweets-broker:v2.1.0 build: context: ./Apps dockerfile: Broker.Dockerfile @@ -33,7 +33,7 @@ services: sweets-order: container_name: sweets-order - image: dleclercpro/sweets-order:latest + image: dleclercpro/sweets-order:v2.1.0 build: context: ./Apps dockerfile: Order.Dockerfile @@ -46,7 +46,7 @@ services: sweets-payment: container_name: sweets-payment - image: dleclercpro/sweets-payment:latest + image: dleclercpro/sweets-payment:v2.1.0 build: context: ./Apps dockerfile: Payment.Dockerfile @@ -59,7 +59,7 @@ services: sweets-delivery: container_name: sweets-delivery - image: dleclercpro/sweets-delivery:latest + image: dleclercpro/sweets-delivery:v2.1.0 build: context: ./Apps dockerfile: Delivery.Dockerfile @@ -72,7 +72,7 @@ services: sweets-prometheus: container_name: sweets-prometheus - image: dleclercpro/sweets-prometheus:latest + image: dleclercpro/sweets-prometheus:v2.1.0 build: context: ./Apps dockerfile: Prometheus.Dockerfile @@ -84,7 +84,7 @@ services: sweets-grafana: container_name: sweets-grafana - image: dleclercpro/sweets-grafana:latest + image: dleclercpro/sweets-grafana:v2.1.0 build: context: ./Apps dockerfile: Grafana.Dockerfile