From 2ccb43bc8cfcb38fc968c83679e7e2aef5bf29cc Mon Sep 17 00:00:00 2001
From: Denis Kirillov <d.kirillov@yadro.com>
Date: Fri, 9 Jun 2023 09:39:40 +0300
Subject: [PATCH] [#59] Update docs

Signed-off-by: Denis Kirillov <d.kirillov@yadro.com>
---
 CHANGELOG.md               | 3 +++
 config/config.env          | 5 +----
 config/config.yaml         | 4 ----
 docs/gate-configuration.md | 2 +-
 4 files changed, 5 insertions(+), 9 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index 11d43e8..ff51ce8 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -20,6 +20,9 @@ This document outlines major changes between releases.
 - Separate integration tests with build tags (#24)
 - Changed values for `frostfs_http_gw_state_health` metric (#32)
 
+### Removed
+- Drop `tree.service` param (now endpoints from `peers` section are used) (#59)
+
 ### Updating from neofs-http-gw v0.26.0
 
 To set system attributes use updated headers
diff --git a/config/config.env b/config/config.env
index 4dc9bb2..debdca2 100644
--- a/config/config.env
+++ b/config/config.env
@@ -93,9 +93,6 @@ HTTP_GW_POOL_ERROR_THRESHOLD=100
 # Enable zip compression to download files by common prefix.
 HTTP_GW_ZIP_COMPRESSION=false
 
-# Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section).
-HTTP_GW_TREE_SERVICE=grpc://s01.frostfs.devenv:8080
-
 HTTP_GW_TRACING_ENABLED=true
 HTTP_GW_TRACING_ENDPOINT="localhost:4317"
-HTTP_GW_TRACING_EXPORTER="otlp_grpc"
\ No newline at end of file
+HTTP_GW_TRACING_EXPORTER="otlp_grpc"
diff --git a/config/config.yaml b/config/config.yaml
index a71c69d..510cb43 100644
--- a/config/config.yaml
+++ b/config/config.yaml
@@ -93,10 +93,6 @@ resolve_order:
 upload_header:
   use_default_timestamp: false # Create timestamp for object if it isn't provided by header.
 
-# Endpoint of the tree service. Must be provided. Can be one of the node address (from the `peers` section).
-tree:
-  service: 127.0.0.1:8080
-
 connect_timeout: 5s # Timeout to dial node.
 stream_timeout: 10s # Timeout for individual operations in streaming RPC.
 request_timeout: 5s # Timeout to check node health during rebalance.
diff --git a/docs/gate-configuration.md b/docs/gate-configuration.md
index 0d0504f..5b4edae 100644
--- a/docs/gate-configuration.md
+++ b/docs/gate-configuration.md
@@ -52,7 +52,7 @@ $ cat http.log
 | `zip`           | [ZIP configuration](#zip-section)                     |
 | `pprof`         | [Pprof configuration](#pprof-section)                 |
 | `prometheus`    | [Prometheus configuration](#prometheus-section)       |
-| `tracing`       | [Tracing configuration](#tracing-section)       |
+| `tracing`       | [Tracing configuration](#tracing-section)             |
 
 
 # General section