Skip to content

Commit cb42653

Browse files
committed
Renamed app to 'SweetGiggles'.
1 parent 99b1158 commit cb42653

22 files changed

+84
-84
lines changed

.env

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
EMAIL=d.leclerc.pro@gmail.com
2-
DOMAIN=eda-playground.dleclerc.me
3-
PROXY_URL=http://eda-playground-broker:80
2+
DOMAIN=sweets.dleclerc.me
3+
PROXY_URL=http://sweets-broker:80

Apps/Broker/.env.production

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,15 @@ APP_HOST=localhost
33
APP_PORT=80
44

55
ORDER_APP_PROTOCOL=http
6-
ORDER_APP_HOST=eda-playground-order
6+
ORDER_APP_HOST=sweets-order
77
ORDER_APP_PORT=80
88

99
PAYMENT_APP_PROTOCOL=http
10-
PAYMENT_APP_HOST=eda-playground-payment
10+
PAYMENT_APP_HOST=sweets-payment
1111
PAYMENT_APP_PORT=80
1212

1313
DELIVERY_APP_PROTOCOL=http
14-
DELIVERY_APP_HOST=eda-playground-delivery
14+
DELIVERY_APP_HOST=sweets-delivery
1515
DELIVERY_APP_PORT=80
1616

1717
LOGGING_LEVEL=trace

Apps/Broker/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "event-driven-architecture-playground--broker",
3-
"version": "pretty-frontend",
3+
"version": "latest",
44
"author": "David Leclerc",
55
"main": "./src/index.ts",
66
"scripts": {

Apps/Common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "event-driven-architecture-playground--common",
3-
"version": "pretty-frontend",
3+
"version": "latest",
44
"author": "David Leclerc",
55
"main": "./src/index.ts",
66
"scripts": {

Apps/Delivery/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ APP_HOST=localhost
33
APP_PORT=80
44

55
BROKER_APP_PROTOCOL=http
6-
BROKER_APP_HOST=eda-playground-broker
6+
BROKER_APP_HOST=sweets-broker
77
BROKER_APP_PORT=80
88

99
LOGGING_LEVEL=trace

Apps/Delivery/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "event-driven-architecture-playground--delivery",
3-
"version": "pretty-frontend",
3+
"version": "latest",
44
"author": "David Leclerc",
55
"main": "./src/index.ts",
66
"scripts": {

Apps/Grafana/dashboard.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
},
450450
"timepicker": {},
451451
"timezone": "",
452-
"title": "EDA-Playground",
452+
"title": "Sweet Giggles",
453453
"uid": "db0082b6-6b5d-43c0-a324-ebf0443a7bc3",
454454
"version": 2,
455455
"weekStart": ""

Apps/Order/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ APP_HOST=localhost
33
APP_PORT=80
44

55
BROKER_APP_PROTOCOL=http
6-
BROKER_APP_HOST=eda-playground-broker
6+
BROKER_APP_HOST=sweets-broker
77
BROKER_APP_PORT=80
88

99
LOGGING_LEVEL=trace

Apps/Order/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "event-driven-architecture-playground--order",
3-
"version": "pretty-frontend",
3+
"version": "latest",
44
"author": "David Leclerc",
55
"main": "./src/index.ts",
66
"scripts": {

Apps/Payment/.env.production

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ APP_HOST=localhost
33
APP_PORT=80
44

55
BROKER_APP_PROTOCOL=http
6-
BROKER_APP_HOST=eda-playground-broker
6+
BROKER_APP_HOST=sweets-broker
77
BROKER_APP_PORT=80
88

99
LOGGING_LEVEL=trace

Apps/Payment/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "event-driven-architecture-playground--payment",
3-
"version": "pretty-frontend",
3+
"version": "latest",
44
"author": "David Leclerc",
55
"main": "./src/index.ts",
66
"scripts": {

K8s/Resources/Deployments/Broker.deployment.yml

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: app
26-
image: dleclercpro/eda-playground-broker:pretty-frontend
26+
image: dleclercpro/sweets-broker:latest
2727
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
2828
ports:
2929
- containerPort: 80

K8s/Resources/Deployments/Delivery.deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ spec:
2424
spec:
2525
containers:
2626
- name: app
27-
image: dleclercpro/eda-playground-delivery:pretty-frontend
27+
image: dleclercpro/sweets-delivery:latest
2828
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
2929
ports:
3030
- containerPort: 80

K8s/Resources/Deployments/Grafana.deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ spec:
2020
spec:
2121
containers:
2222
- name: app
23-
image: dleclercpro/eda-playground-grafana:pretty-frontend
23+
image: dleclercpro/sweets-grafana:latest
2424
ports:
2525
- containerPort: 3000
2626
volumeMounts:

K8s/Resources/Deployments/Order.deployment.yml

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: app
26-
image: dleclercpro/eda-playground-order:pretty-frontend
26+
image: dleclercpro/sweets-order:latest
2727
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
2828
ports:
2929
- containerPort: 80

K8s/Resources/Deployments/Payment.deployment.yml

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: app
26-
image: dleclercpro/eda-playground-payment:pretty-frontend
26+
image: dleclercpro/sweets-payment:latest
2727
imagePullPolicy: IfNotPresent # To avoid pulling image from repo
2828
ports:
2929
- containerPort: 80

K8s/Resources/Deployments/Prometheus.deployment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ spec:
2020
spec:
2121
containers:
2222
- name: app
23-
image: dleclercpro/eda-playground-prometheus:pretty-frontend
23+
image: dleclercpro/sweets-prometheus:latest
2424
ports:
2525
- containerPort: 9090

K8s/Scripts/load.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Define constant image details
22
user="dleclercpro"
3-
app="eda-playground"
4-
release="pretty-frontend"
3+
app="sweets"
4+
release="latest"
55

66
# Upload local images to Minikube image registry
77
minikube image load $user/$app-broker:$release

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# EventDrivenArchitecturePlayground
1+
# SweetGiggles
22

33
## Description
44
This is a small suite of Node applications, meant to be deployed as independent services within an event-driven architecture (EDA). The use case behind this architecture is the implementation of the backend of a simple online shop.

Scripts/build.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ cd "$dir/../Apps"
88

99
# Define constant image details
1010
user="dleclercpro"
11-
app="eda-playground"
12-
release="pretty-frontend"
11+
app="sweets"
12+
release="latest"
1313

1414
# Build app images
1515
docker buildx build --platform linux/amd64,linux/arm64 -t $user/$app-broker:$release -f Broker.Dockerfile . --push

docker-compose.local.yml

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@ version: '3.8'
22

33

44
services:
5-
eda-playground-broker:
6-
container_name: eda-playground-broker
7-
image: dleclercpro/eda-playground-broker:pretty-frontend
5+
sweets-broker:
6+
container_name: sweets-broker
7+
image: dleclercpro/sweets-broker:latest
88
build:
99
context: ./Apps
1010
dockerfile: Broker.Dockerfile
@@ -15,70 +15,70 @@ services:
1515
environment:
1616
NODE_ENV: production
1717

18-
eda-playground-order:
19-
container_name: eda-playground-order
20-
image: dleclercpro/eda-playground-order:pretty-frontend
18+
sweets-order:
19+
container_name: sweets-order
20+
image: dleclercpro/sweets-order:latest
2121
build:
2222
context: ./Apps
2323
dockerfile: Order.Dockerfile
2424
depends_on:
25-
- eda-playground-broker
25+
- sweets-broker
2626
environment:
2727
NODE_ENV: production
2828

29-
eda-playground-payment:
30-
container_name: eda-playground-payment
31-
image: dleclercpro/eda-playground-payment:pretty-frontend
29+
sweets-payment:
30+
container_name: sweets-payment
31+
image: dleclercpro/sweets-payment:latest
3232
build:
3333
context: ./Apps
3434
dockerfile: Payment.Dockerfile
3535
depends_on:
36-
- eda-playground-broker
36+
- sweets-broker
3737
environment:
3838
NODE_ENV: production
3939

40-
eda-playground-delivery:
41-
container_name: eda-playground-delivery
42-
image: dleclercpro/eda-playground-delivery:pretty-frontend
40+
sweets-delivery:
41+
container_name: sweets-delivery
42+
image: dleclercpro/sweets-delivery:latest
4343
build:
4444
context: ./Apps
4545
dockerfile: Delivery.Dockerfile
4646
depends_on:
47-
- eda-playground-broker
47+
- sweets-broker
4848
environment:
4949
NODE_ENV: production
5050

51-
eda-playground-prometheus:
52-
container_name: eda-playground-prometheus
53-
image: dleclercpro/eda-playground-prometheus:pretty-frontend
51+
sweets-prometheus:
52+
container_name: sweets-prometheus
53+
image: dleclercpro/sweets-prometheus:latest
5454
build:
5555
context: ./Apps
5656
dockerfile: Prometheus.Dockerfile
5757
ports:
5858
- 9090:9090
5959
depends_on:
60-
- eda-playground-node-exporter
61-
- eda-playground-cadvisor
60+
- sweets-node-exporter
61+
- sweets-cadvisor
6262

63-
eda-playground-grafana:
64-
container_name: eda-playground-grafana
65-
image: dleclercpro/eda-playground-grafana:pretty-frontend
63+
sweets-grafana:
64+
container_name: sweets-grafana
65+
image: dleclercpro/sweets-grafana:latest
6666
build:
6767
context: ./Apps
6868
dockerfile: Grafana.Dockerfile
6969
ports:
7070
- 3000:3000
7171
depends_on:
72-
- eda-playground-prometheus
72+
- sweets-prometheus
7373

74-
eda-playground-node-exporter:
75-
container_name: eda-playground-node-exporter
74+
sweets-node-exporter:
75+
container_name: sweets-node-exporter
7676
image: prom/node-exporter
7777
ports:
7878
- 9100:9100
7979

80-
eda-playground-cadvisor:
81-
container_name: eda-playground-cadvisor
80+
sweets-cadvisor:
81+
container_name: sweets-cadvisor
8282
image: gcr.io/cadvisor/cadvisor:v0.47.1 # M1/M2 Mac
8383
platform: linux/aarch64 # M1/M2 Mac
8484
privileged: true # Stops OOM warning

0 commit comments

Comments
 (0)