Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge upstream after services rename #131

Draft
wants to merge 45 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
43f448c
[cartservice] - Add Exemplars to Cart Service (#1830)
julianocosta89 Dec 13, 2024
9b7cfad
[otel-collector] - rename otelcol to otel-collector (#1841)
puckpuck Dec 16, 2024
fa7847e
[grafana] Add Exemplars Dashboard (#1836)
julianocosta89 Dec 16, 2024
90a1bf1
build(deps): bump the go-production-dependencies group across 2 direc…
dependabot[bot] Dec 18, 2024
897beda
build(deps): bump gradle/actions from 4.2.1 to 4.2.2 (#1849)
dependabot[bot] Dec 18, 2024
5dbe836
[quote] rename quoteservice to quote (#1838)
puckpuck Dec 19, 2024
d6efe7f
[ad] rename adService to ad (#1832)
Sozhan308 Dec 19, 2024
a0897a6
[flagd-ui]: rename flagdui to flagd-ui (#1840)
puckpuck Dec 19, 2024
4f8ddef
[cart]: rename cartservice to cart (#1839)
puckpuck Dec 19, 2024
37b9ed2
build(deps): bump the go-production-dependencies group across 2 direc…
dependabot[bot] Dec 19, 2024
623c0e4
[paymentservice] Bump dependencies (#1854)
julianocosta89 Dec 19, 2024
fca8fd1
[shipping] rename shippingservice to shipping (#1842)
Sozhan308 Dec 19, 2024
cb75eba
Add a React Native example app to the demo (#1781)
jpmunz Dec 19, 2024
d2caef6
[chore] - update demo dependencies (#1855)
puckpuck Dec 21, 2024
d75a68d
[load-generator] rename loadgenerator to load-generator (#1856)
puckpuck Dec 22, 2024
d5c0efe
[image-provider] rename imageprovider to image-provider (#1857)
puckpuck Dec 22, 2024
e3548c6
[currency] Rename currencyservice to currency (#1858)
puckpuck Dec 22, 2024
5416e18
Merge remote-tracking branch 'origin-otel/main' into merge-upstream-2
rogercoll Dec 23, 2024
969fe3b
[email] rename emailservice to email (#1861)
puckpuck Dec 23, 2024
3868f0e
[fraud-detection] rename frauddetectionservice to fraud-detection (#1…
puckpuck Dec 23, 2024
e965205
fix: services reference name
rogercoll Dec 23, 2024
4c8e43f
[payment] rename paymentservice to payment (#1863)
puckpuck Dec 23, 2024
2210b5b
[recommendation] rename recommendationservice to recommendation (#1865)
puckpuck Dec 23, 2024
19cbfea
[react-native-app] cleanup build instructions (#1860)
puckpuck Dec 23, 2024
7543c59
build(deps): bump the go-production-dependencies group across 2 direc…
dependabot[bot] Dec 24, 2024
c43b84b
Merge remote-tracking branch 'origin/main' into merge-upstream-2
rogercoll Dec 27, 2024
004fdcf
build(deps): bump the go-production-dependencies group across 1 direc…
dependabot[bot] Jan 8, 2025
43c5175
Update dependabot.yml (#1870)
CharlieTLe Jan 8, 2025
5e8133f
build(deps): bump docker/build-push-action from 6.10.0 to 6.11.0 (#1878)
dependabot[bot] Jan 8, 2025
c217f58
build(deps): bump the go-production-dependencies group across 2 direc…
dependabot[bot] Jan 8, 2025
1efe410
Generate proto for C++ (#1871)
CharlieTLe Jan 8, 2025
8cb101d
[product-catalog] rename productcatalogservice to product-catalog (#1…
puckpuck Jan 10, 2025
0a39d44
[checkout] rename checkoutservice to checkout (#1867)
puckpuck Jan 10, 2025
933b7b9
build(deps): bump the nuget-production-dependencies group across 4 di…
dependabot[bot] Jan 10, 2025
9673c12
build(deps): bump the actions-production-dependencies group across 1 …
dependabot[bot] Jan 10, 2025
2f4e30b
build(deps): bump the npm-development-dependencies group across 4 dir…
dependabot[bot] Jan 10, 2025
93991f5
build(deps): bump the composer-production-dependencies group across 1…
dependabot[bot] Jan 10, 2025
1fdc947
Revert "build(deps): bump the composer-production-dependencies group …
julianocosta89 Jan 10, 2025
0c7c104
fix(docker): add workaround for JDK-8345296 on OSX with _JAVA_OPTIONS…
CharlieTLe Jan 13, 2025
d534e42
[chore] drop _SERVICE for dependent service env variables (#1897)
puckpuck Jan 14, 2025
f135bff
build(deps): bump the composer-production-dependencies group across 1…
dependabot[bot] Jan 14, 2025
ea8456f
[frontend-proxy] Rename frontend proxy service (#1910)
puckpuck Jan 14, 2025
b604d28
remove -service and _service suffixes (#1914)
puckpuck Jan 15, 2025
2a73b7f
Merge remote-tracking branch 'origin-otel/main' into merge-upstream-2
rogercoll Jan 15, 2025
b5e2312
fix: docker compose services path
rogercoll Jan 15, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
33 changes: 5 additions & 28 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,40 +8,17 @@ src/*/Dockerfile
src/*/*/Dockerfile

###################################
# currencyservice
./src/currencyservice/client.js
./src/currencyservice/node_modules/
# currency
./src/currency/client.js
./src/currency/node_modules/
###################################

###################################
# featureflagservice
# Common development/test artifacts
./src/featureflagservice/cover/
./src/featureflagservice/doc/
./src/featureflagservice/test/
./src/featureflagservice/tmp/
./src/featureflagservice/.elixir_ls

###################################
# frontend
./src/frontend/node_modules/

###################################
# shippingservice
./src/shippingservice/target
###################################

# Mix artifacts
./src/featureflagservice/_build/
./src/featureflagservice/deps/
./src/featureflagservice/*.ez

# Generated on crash by the VM
./src/featureflagservice/erl_crash.dump

# Static artifacts - These should be fetched and built inside the Docker image
./src/featureflagservice/assets/node_modules/
./src/featureflagservice/priv/static/assets/
./src/featureflagservice/priv/static/cache_manifest.json
# shipping
./src/shipping/target
###################################

118 changes: 59 additions & 59 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ DEMO_VERSION=latest

# Build Args
TRACETEST_IMAGE_VERSION=v1.7.1
OTEL_JAVA_AGENT_VERSION=2.9.0
OPENTELEMETRY_CPP_VERSION=1.17.0
OTEL_JAVA_AGENT_VERSION=2.10.0
OPENTELEMETRY_CPP_VERSION=1.18.0

# Dependent images
COLLECTOR_CONTRIB_IMAGE=otel/opentelemetry-collector-contrib:0.113.0
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.11.4
GRAFANA_IMAGE=grafana/grafana:11.3.0
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.62.0
COLLECTOR_CONTRIB_IMAGE=ghcr.io/open-telemetry/opentelemetry-collector-releases/opentelemetry-collector-contrib:0.116.1
FLAGD_IMAGE=ghcr.io/open-feature/flagd:v0.11.5
GRAFANA_IMAGE=grafana/grafana:11.4.0
JAEGERTRACING_IMAGE=jaegertracing/all-in-one:1.64.0
# must also update version field in src/grafana/provisioning/datasources/opensearch.yaml
OPENSEARCH_IMAGE=opensearchproject/opensearch:2.18.0
POSTGRES_IMAGE=postgres:17.0
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v2.55.1
POSTGRES_IMAGE=postgres:17.2
PROMETHEUS_IMAGE=quay.io/prometheus/prometheus:v3.0.1
VALKEY_IMAGE=valkey/valkey:8.0-alpine
TRACETEST_IMAGE=kubeshop/tracetest:${TRACETEST_IMAGE_VERSION}

Expand All @@ -28,11 +28,11 @@ ENV_PLATFORM=local
# OpenTelemetry Collector
HOST_FILESYSTEM=/
DOCKER_SOCK=/var/run/docker.sock
OTEL_COLLECTOR_HOST=otelcol
OTEL_COLLECTOR_HOST=otel-collector
OTEL_COLLECTOR_PORT_GRPC=4317
OTEL_COLLECTOR_PORT_HTTP=4318
OTEL_COLLECTOR_CONFIG=./src/otelcollector/otelcol-config.yml
OTEL_COLLECTOR_CONFIG_EXTRAS=./src/otelcollector/otelcol-config-extras.yml
OTEL_COLLECTOR_CONFIG=./src/otel-collector/otelcol-config.yml
OTEL_COLLECTOR_CONFIG_EXTRAS=./src/otel-collector/otelcol-config-extras.yml
OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_GRPC}
PUBLIC_OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=http://localhost:8080/otlp-http/v1/traces

Expand All @@ -49,32 +49,32 @@ OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE=cumulative
ACCOUNTING_DOCKERFILE=./src/accounting/Dockerfile

# Ad Service
AD_SERVICE_PORT=9555
AD_SERVICE_ADDR=adservice:${AD_SERVICE_PORT}
AD_SERVICE_DOCKERFILE=./src/adservice/Dockerfile
AD_PORT=9555
AD_ADDR=ad:${AD_PORT}
AD_DOCKERFILE=./src/ad/Dockerfile

# Cart Service
CART_SERVICE_PORT=7070
CART_SERVICE_ADDR=cartservice:${CART_SERVICE_PORT}
CART_SERVICE_DOCKERFILE=./src/cartservice/src/Dockerfile
CART_PORT=7070
CART_ADDR=cart:${CART_PORT}
CART_DOCKERFILE=./src/cart/src/Dockerfile

# Checkout Service
CHECKOUT_SERVICE_PORT=5050
CHECKOUT_SERVICE_ADDR=checkoutservice:${CHECKOUT_SERVICE_PORT}
CHECKOUT_SERVICE_DOCKERFILE=./src/checkoutservice/Dockerfile
CHECKOUT_PORT=5050
CHECKOUT_ADDR=checkout:${CHECKOUT_PORT}
CHECKOUT_DOCKERFILE=./src/checkout/Dockerfile

# Currency Service
CURRENCY_SERVICE_PORT=7001
CURRENCY_SERVICE_ADDR=currencyservice:${CURRENCY_SERVICE_PORT}
CURRENCY_SERVICE_DOCKERFILE=./src/currencyservice/Dockerfile
CURRENCY_PORT=7001
CURRENCY_ADDR=currency:${CURRENCY_PORT}
CURRENCY_DOCKERFILE=./src/currency/Dockerfile

# Email Service
EMAIL_SERVICE_PORT=6060
EMAIL_SERVICE_ADDR=http://emailservice:${EMAIL_SERVICE_PORT}
EMAIL_SERVICE_DOCKERFILE=./src/emailservice/Dockerfile
EMAIL_PORT=6060
EMAIL_ADDR=http://email:${EMAIL_PORT}
EMAIL_DOCKERFILE=./src/email/Dockerfile

# Fraud Service
FRAUD_SERVICE_DOCKERFILE=./src/frauddetectionservice/Dockerfile
FRAUD_DOCKERFILE=./src/fraud-detection/Dockerfile

# Frontend
FRONTEND_PORT=8080
Expand All @@ -85,46 +85,46 @@ FRONTEND_DOCKERFILE=./src/frontend/Dockerfile
FRONTEND_HOST=frontend
ENVOY_PORT=8080
FRONTEND_PROXY_ADDR=frontend-proxy:${ENVOY_PORT}
FRONTEND_PROXY_DOCKERFILE=./src/frontendproxy/Dockerfile
FRONTEND_PROXY_DOCKERFILE=./src/frontend-proxy/Dockerfile

# Image Provider
IMAGE_PROVIDER_HOST=imageprovider
IMAGE_PROVIDER_HOST=image-provider
IMAGE_PROVIDER_PORT=8081
IMAGE_PROVIDER_DOCKERFILE=./src/imageprovider/Dockerfile
IMAGE_PROVIDER_DOCKERFILE=./src/image-provider/Dockerfile

# Load Generator
LOCUST_WEB_PORT=8089
LOCUST_USERS=10
LOCUST_USERS=5
LOCUST_HOST=http://${FRONTEND_PROXY_ADDR}
LOCUST_WEB_HOST=loadgenerator
LOCUST_WEB_HOST=load-generator
LOCUST_AUTOSTART=true
LOCUST_HEADLESS=false
LOAD_GENERATOR_DOCKERFILE=./src/loadgenerator/Dockerfile
LOAD_GENERATOR_DOCKERFILE=./src/load-generator/Dockerfile

# Payment Service
PAYMENT_SERVICE_PORT=50051
PAYMENT_SERVICE_ADDR=paymentservice:${PAYMENT_SERVICE_PORT}
PAYMENT_SERVICE_DOCKERFILE=./src/paymentservice/Dockerfile
PAYMENT_PORT=50051
PAYMENT_ADDR=payment:${PAYMENT_PORT}
PAYMENT_DOCKERFILE=./src/payment/Dockerfile

# Product Catalog Service
PRODUCT_CATALOG_SERVICE_PORT=3550
PRODUCT_CATALOG_SERVICE_ADDR=productcatalogservice:${PRODUCT_CATALOG_SERVICE_PORT}
PRODUCT_CATALOG_DOCKERFILE=./src/productcatalogservice/Dockerfile
PRODUCT_CATALOG_PORT=3550
PRODUCT_CATALOG_ADDR=product-catalog:${PRODUCT_CATALOG_PORT}
PRODUCT_CATALOG_DOCKERFILE=./src/product-catalog/Dockerfile

# Quote Service
QUOTE_SERVICE_PORT=8090
QUOTE_SERVICE_ADDR=http://quoteservice:${QUOTE_SERVICE_PORT}
QUOTE_SERVICE_DOCKERFILE=./src/quoteservice/Dockerfile
QUOTE_PORT=8090
QUOTE_ADDR=http://quote:${QUOTE_PORT}
QUOTE_DOCKERFILE=./src/quote/Dockerfile

# Recommendation Service
RECOMMENDATION_SERVICE_PORT=9001
RECOMMENDATION_SERVICE_ADDR=recommendationservice:${RECOMMENDATION_SERVICE_PORT}
RECOMMENDATION_SERVICE_DOCKERFILE=./src/recommendationservice/Dockerfile
RECOMMENDATION_PORT=9001
RECOMMENDATION_ADDR=recommendation:${RECOMMENDATION_PORT}
RECOMMENDATION_DOCKERFILE=./src/recommendation/Dockerfile

# Shipping Service
SHIPPING_SERVICE_PORT=50050
SHIPPING_SERVICE_ADDR=shippingservice:${SHIPPING_SERVICE_PORT}
SHIPPING_SERVICE_DOCKERFILE=./src/shippingservice/Dockerfile
SHIPPING_PORT=50050
SHIPPING_ADDR=shipping:${SHIPPING_PORT}
SHIPPING_DOCKERFILE=./src/shipping/Dockerfile

# ******************
# Dependent Services
Expand All @@ -134,14 +134,14 @@ FLAGD_HOST=flagd
FLAGD_PORT=8013

# Flagd UI
FLAGD_UI_HOST=flagdui
FLAGD_UI_HOST=flagd-ui
FLAGD_UI_PORT=4000
FLAGD_UI_DOCKERFILE=./src/flagd-ui/Dockerfile

# Kafka
KAFKA_SERVICE_PORT=9092
KAFKA_SERVICE_ADDR=kafka:${KAFKA_SERVICE_PORT}
KAFKA_SERVICE_DOCKERFILE=./src/kafka/Dockerfile
KAFKA_PORT=9092
KAFKA_ADDR=kafka:${KAFKA_PORT}
KAFKA_DOCKERFILE=./src/kafka/Dockerfile

# Valkey
VALKEY_PORT=6379
Expand All @@ -151,14 +151,14 @@ VALKEY_ADDR=valkey-cart:${VALKEY_PORT}
# Telemetry Components
# ********************
# Grafana
GRAFANA_SERVICE_PORT=3000
GRAFANA_SERVICE_HOST=grafana
GRAFANA_PORT=3000
GRAFANA_HOST=grafana

# Jaeger
JAEGER_SERVICE_PORT=16686
JAEGER_SERVICE_HOST=jaeger
JAEGER_PORT=16686
JAEGER_HOST=jaeger

# Prometheus
PROMETHEUS_SERVICE_PORT=9090
PROMETHEUS_SERVICE_HOST=prometheus
PROMETHEUS_ADDR=${PROMETHEUS_SERVICE_HOST}:${PROMETHEUS_SERVICE_PORT}
PROMETHEUS_PORT=9090
PROMETHEUS_HOST=prometheus
PROMETHEUS_ADDR=${PROMETHEUS_HOST}:${PROMETHEUS_PORT}
1 change: 1 addition & 0 deletions .env.arm64
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_JAVA_OPTIONS=-XX:UseSVE=0
8 changes: 4 additions & 4 deletions .env.override
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,14 @@ IMAGE_NAME=ghcr.io/elastic/opentelemetry-demo
# *********************
# Elastic Demo Services
# *********************
AD_SERVICE_DOCKERFILE=./src/adservice/Dockerfile.elastic
FRAUD_SERVICE_DOCKERFILE=./src/frauddetectionservice/Dockerfile.elastic
AD_DOCKERFILE=./src/ad/Dockerfile.elastic
FRAUD_SERVICE_DOCKERFILE=./src/fraud-detection/Dockerfile.elastic
KAFKA_SERVICE_DOCKERFILE=./src/kafka/Dockerfile.elastic

# *********************
# Elastic Collector
# *********************
COLLECTOR_CONTRIB_IMAGE=docker.elastic.co/beats/elastic-agent:8.16.0
OTEL_COLLECTOR_CONFIG=./src/otelcollector/otelcol-elastic-config.yaml
OTEL_COLLECTOR_CONFIG_EXTRAS=./src/otelcollector/otelcol-elastic-config-extras.yaml
OTEL_COLLECTOR_CONFIG=./src/otel-collector/otelcol-elastic-config.yaml
OTEL_COLLECTOR_CONFIG_EXTRAS=./src/otel-collector/otelcol-elastic-config-extras.yaml
ELASTIC_AGENT_OTEL=true
2 changes: 1 addition & 1 deletion .github/component_owners.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0
# this file is used by .github/workflows/assign-reviewers.yml
components:
src/adservice:
src/ad:
- jack-berg
- mateuszrzeszutek
- trask
61 changes: 56 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,68 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
directories:
- "/"
groups:
actions-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
- package-ecosystem: "docker"
directories:
- "/src/**/*"
groups:
docker-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
labels:
- "infra"
- package-ecosystem: "gomod"
directories:
- "/src/checkoutservice"
- "/src/productcatalogservice"
- "/src/**/*"
groups:
go-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
- package-ecosystem: "gradle"
directories:
- "/src/**/*"
groups:
gradle-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
- package-ecosystem: "pip"
directories:
- "/src/**/*"
groups:
pip-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
- package-ecosystem: "nuget"
directories:
- "/src/**/*"
groups:
nuget-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
- package-ecosystem: "composer"
directories:
- "/src/**/*"
groups:
composer-production-dependencies:
dependency-type: "production"
schedule:
interval: "daily"
- package-ecosystem: "npm"
directories:
- "/src/**/*"
groups:
npm-production-dependencies:
dependency-type: "production"
npm-development-dependencies:
dependency-type: "development"
schedule:
interval: "daily"
Loading
Loading