diff --git a/docker-compose.minimal.yml b/docker-compose.minimal.yml index d36e6b7988..15a7c32b18 100644 --- a/docker-compose.minimal.yml +++ b/docker-compose.minimal.yml @@ -36,6 +36,7 @@ services: - "${AD_SERVICE_PORT}" environment: - AD_SERVICE_PORT + - FLAGD_HOST - OTEL_EXPORTER_OTLP_ENDPOINT=http://${OTEL_COLLECTOR_HOST}:${OTEL_COLLECTOR_PORT_HTTP} - OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE - OTEL_RESOURCE_ATTRIBUTES @@ -64,6 +65,7 @@ services: - "${CART_SERVICE_PORT}" environment: - CART_SERVICE_PORT + - FLAGD_HOST - REDIS_ADDR - OTEL_EXPORTER_OTLP_ENDPOINT - OTEL_RESOURCE_ATTRIBUTES @@ -348,6 +350,7 @@ services: - "${PRODUCT_CATALOG_SERVICE_PORT}" environment: - PRODUCT_CATALOG_SERVICE_PORT + - FLAGD_HOST - OTEL_EXPORTER_OTLP_ENDPOINT - OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE - OTEL_RESOURCE_ATTRIBUTES @@ -403,6 +406,7 @@ services: - "${RECOMMENDATION_SERVICE_PORT}" environment: - RECOMMENDATION_SERVICE_PORT + - FLAGD_HOST - PRODUCT_CATALOG_SERVICE_ADDR - OTEL_PYTHON_LOG_CORRELATION=true - OTEL_EXPORTER_OTLP_ENDPOINT diff --git a/src/flagd/demo.flagd.json b/src/flagd/demo.flagd.json index fadf02425a..5234fcce55 100644 --- a/src/flagd/demo.flagd.json +++ b/src/flagd/demo.flagd.json @@ -51,6 +51,24 @@ "off": false }, "defaultVariant": "off" + }, + "paymentServiceFailure": { + "description": "Fail payment service charge requests", + "state": "ENABLED", + "variants": { + "on": true, + "off": false + }, + "defaultVariant": "off" + }, + "paymentServiceUnreachable": { + "description": "Payment service is unavailable", + "state": "ENABLED", + "variants": { + "on": true, + "off": false + }, + "defaultVariant": "off" } } }