Skip to content

Commit 625c2c0

Browse files
committed
remove -service and _service suffixes
1 parent ea8456f commit 625c2c0

File tree

12 files changed

+25
-25
lines changed

12 files changed

+25
-25
lines changed

docker-compose.minimal.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ services:
5454
# Cart service
5555
cart:
5656
image: ${IMAGE_NAME}:${DEMO_VERSION}-cart
57-
container_name: cart-service
57+
container_name: cart
5858
build:
5959
context: ./
6060
dockerfile: ${CART_DOCKERFILE}
@@ -131,7 +131,7 @@ services:
131131
# Currency service
132132
currency:
133133
image: ${IMAGE_NAME}:${DEMO_VERSION}-currency
134-
container_name: currency-service
134+
container_name: currency
135135
build:
136136
context: ./
137137
dockerfile: ${CURRENCY_DOCKERFILE}
@@ -159,7 +159,7 @@ services:
159159
# Email service
160160
email:
161161
image: ${IMAGE_NAME}:${DEMO_VERSION}-email
162-
container_name: email-service
162+
container_name: email
163163
build:
164164
context: ./src/email
165165
cache_from:
@@ -355,7 +355,7 @@ services:
355355
# Payment service
356356
payment:
357357
image: ${IMAGE_NAME}:${DEMO_VERSION}-payment
358-
container_name: payment-service
358+
container_name: payment
359359
build:
360360
context: ./
361361
dockerfile: ${PAYMENT_DOCKERFILE}
@@ -411,7 +411,7 @@ services:
411411
# Quote service
412412
quote:
413413
image: ${IMAGE_NAME}:${DEMO_VERSION}-quote
414-
container_name: quote-service
414+
container_name: quote
415415
build:
416416
context: ./
417417
dockerfile: ${QUOTE_DOCKERFILE}
@@ -439,7 +439,7 @@ services:
439439
# Recommendation service
440440
recommendation:
441441
image: ${IMAGE_NAME}:${DEMO_VERSION}-recommendation
442-
container_name: recommendation-service
442+
container_name: recommendation
443443
build:
444444
context: ./
445445
dockerfile: ${RECOMMENDATION_DOCKERFILE}

docker-compose.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ services:
8383
# Cart service
8484
cart:
8585
image: ${IMAGE_NAME}:${DEMO_VERSION}-cart
86-
container_name: cart-service
86+
container_name: cart
8787
build:
8888
context: ./
8989
dockerfile: ${CART_DOCKERFILE}
@@ -169,7 +169,7 @@ services:
169169
# Currency service
170170
currency:
171171
image: ${IMAGE_NAME}:${DEMO_VERSION}-currency
172-
container_name: currency-service
172+
container_name: currency
173173
build:
174174
context: ./
175175
dockerfile: ${CURRENCY_DOCKERFILE}
@@ -197,7 +197,7 @@ services:
197197
# Email service
198198
email:
199199
image: ${IMAGE_NAME}:${DEMO_VERSION}-email
200-
container_name: email-service
200+
container_name: email
201201
build:
202202
context: ./
203203
dockerfile: ${EMAIL_DOCKERFILE}
@@ -431,7 +431,7 @@ services:
431431
# Payment service
432432
payment:
433433
image: ${IMAGE_NAME}:${DEMO_VERSION}-payment
434-
container_name: payment-service
434+
container_name: payment
435435
build:
436436
context: ./
437437
dockerfile: ${PAYMENT_DOCKERFILE}
@@ -493,7 +493,7 @@ services:
493493
# Quote service
494494
quote:
495495
image: ${IMAGE_NAME}:${DEMO_VERSION}-quote
496-
container_name: quote-service
496+
container_name: quote
497497
build:
498498
context: ./
499499
dockerfile: ${QUOTE_DOCKERFILE}
@@ -521,7 +521,7 @@ services:
521521
# Recommendation service
522522
recommendation:
523523
image: ${IMAGE_NAME}:${DEMO_VERSION}-recommendation
524-
container_name: recommendation-service
524+
container_name: recommendation
525525
build:
526526
context: ./
527527
dockerfile: ${RECOMMENDATION_DOCKERFILE}

src/ad/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ ADD --chmod=644 https://github.com/open-telemetry/opentelemetry-java-instrumenta
3232
ENV JAVA_TOOL_OPTIONS=-javaagent:/usr/src/app/opentelemetry-javaagent.jar
3333

3434
EXPOSE ${AD_PORT}
35-
ENTRYPOINT [ "./build/install/opentelemetry-demo-ad-service/bin/Ad" ]
35+
ENTRYPOINT [ "./build/install/opentelemetry-demo-ad/bin/Ad" ]

src/ad/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ To run the Ad Service:
2121
```sh
2222
export AD_PORT=8080
2323
export FEATURE_FLAG_GRPC_SERVICE_ADDR=featureflagservice:50053
24-
./build/install/opentelemetry-demo-ad-service/bin/Ad
24+
./build/install/opentelemetry-demo-ad/bin/Ad
2525
```
2626

2727
### Upgrading Gradle

src/ad/settings.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11

2-
rootProject.name = 'opentelemetry-demo-ad-service'
2+
rootProject.name = 'opentelemetry-demo-ad'

src/currency/CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.1)
2-
project(currency-service)
2+
project(currency)
33

44
find_package(Protobuf REQUIRED)
55
find_package(gRPC CONFIG REQUIRED)

test/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ make run-tracetesting SERVICES_TO_TEST="service-1 service-2 ..."
2525
docker compose run traceBasedTests "service-1 service-2 ..."
2626
```
2727

28-
For instance, if you need to run the tests for `ad-service` and
29-
`payment-service`, you can run them with:
28+
For instance, if you need to run the tests for `ad` and `payment`, you can run
29+
them with:
3030

3131
```sh
32-
make run-tracetesting SERVICES_TO_TEST="ad-service payment-service"
32+
make run-tracetesting SERVICES_TO_TEST="ad payment"
3333
```

test/tracetesting/ad/all.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
type: TestSuite
55
spec:
6-
id: ad-service-all
6+
id: ad-all
77
name: 'Ad Service'
88
description: Run all Ad Service tests enabled in sequence
99
steps:

test/tracetesting/currency/all.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
type: TestSuite
55
spec:
6-
id: currency-service-all
6+
id: currency-all
77
name: 'Currency Service'
88
description: Run all Currency Service tests enabled in sequence
99
steps:

test/tracetesting/recommendation/all.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
type: TestSuite
55
spec:
6-
id: recommendation-service-all
6+
id: recommendation-all
77
name: 'Recommendation Service'
88
description: Run all Recommendation Service tests enabled in sequence
99
steps:

test/tracetesting/run.bash

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ spec:
5454
value: $RECOMMENDATION_ADDR
5555
- key: SHIPPING_ADDR
5656
value: $SHIPPING_ADDR
57-
- key: KAFKA_SERVICE_ADDR
58-
value: $KAFKA_SERVICE_ADDR
57+
- key: KAFKA_ADDR
58+
value: $KAFKA_ADDR
5959
EOF
6060
}
6161

test/tracetesting/shipping/all.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
type: TestSuite
55
spec:
6-
id: shipping-service-all
6+
id: shipping-all
77
name: 'Shipping Service'
88
description: Run all Shipping Service tests enabled in sequence
99
steps:

0 commit comments

Comments
 (0)