This is an automated email from the ASF dual-hosted git repository.
masaori335 pushed a change to branch 10.2.x
in repository https://gitbox.apache.org/repos/asf/trafficserver.git
from 95fdf9f8bf [10.2.x] Fix unit test & AuTest (#13341)
add 5a9abc0630 ATS Configuration Reload with observability/tracing - Token
model (#12892) (#13354)
No new revisions were added by this update.
Summary of changes:
doc/appendices/command-line/traffic_ctl.en.rst | 397 ++++++++++-
doc/developer-guide/config-reload-framework.en.rst | 722 +++++++++++++++++++++
doc/developer-guide/index.en.rst | 1 +
doc/developer-guide/jsonrpc/jsonrpc-api.en.rst | 304 ++++++++-
include/iocore/dns/SplitDNSProcessor.h | 7 +-
include/iocore/eventsystem/ConfigProcessor.h | 46 --
include/iocore/net/QUICMultiCertConfigLoader.h | 2 +-
include/iocore/net/SSLSNIConfig.h | 2 +-
include/iocore/net/quic/QUICConfig.h | 2 +-
include/mgmt/config/ConfigContext.h | 195 ++++++
include/mgmt/config/ConfigRegistry.h | 344 ++++++++++
include/mgmt/config/ConfigReloadErrors.h | 53 ++
.../mgmt/config/ConfigReloadExecutor.h | 43 +-
include/mgmt/config/ConfigReloadTrace.h | 367 +++++++++++
include/mgmt/config/FileManager.h | 10 +-
include/mgmt/config/ReloadCoordinator.h | 124 ++++
include/mgmt/rpc/handlers/config/Configuration.h | 33 +
include/proxy/CacheControl.h | 3 +-
include/proxy/IPAllow.h | 4 +-
include/proxy/ParentSelection.h | 2 +-
include/proxy/ReverseProxy.h | 3 +-
include/proxy/http/PreWarmConfig.h | 7 +-
include/proxy/logging/LogConfig.h | 6 +-
include/records/RecCore.h | 11 +-
include/records/YAMLConfigReloadTaskEncoder.h | 69 ++
include/shared/rpc/yaml_codecs.h | 5 +-
src/cripts/CMakeLists.txt | 2 +-
src/iocore/aio/CMakeLists.txt | 2 +-
src/iocore/cache/Cache.cc | 21 +-
src/iocore/cache/CacheHosting.cc | 9 -
src/iocore/cache/P_CacheHosting.h | 38 +-
src/iocore/dns/SplitDNS.cc | 21 +-
src/iocore/eventsystem/CMakeLists.txt | 4 +-
src/iocore/eventsystem/RecProcess.cc | 3 +-
src/iocore/net/P_SSLClientCoordinator.h | 8 +-
src/iocore/net/P_SSLConfig.h | 6 +-
src/iocore/net/QUICMultiCertConfigLoader.cc | 4 +-
src/iocore/net/SSLClientCoordinator.cc | 52 +-
src/iocore/net/SSLConfig.cc | 25 +-
src/iocore/net/SSLSNIConfig.cc | 5 +-
src/iocore/net/quic/QUICConfig.cc | 3 +-
src/mgmt/config/AddConfigFilesHere.cc | 81 ---
src/mgmt/config/CMakeLists.txt | 6 +-
src/mgmt/config/ConfigContext.cc | 159 +++++
src/mgmt/config/ConfigRegistry.cc | 492 ++++++++++++++
src/mgmt/config/ConfigReloadExecutor.cc | 102 +++
src/mgmt/config/ConfigReloadTrace.cc | 397 +++++++++++
src/mgmt/config/FileManager.cc | 42 +-
src/mgmt/config/ReloadCoordinator.cc | 270 ++++++++
src/mgmt/rpc/CMakeLists.txt | 4 +-
src/mgmt/rpc/handlers/config/Configuration.cc | 209 +++++-
src/proxy/CMakeLists.txt | 4 +-
src/proxy/CacheControl.cc | 39 +-
src/proxy/IPAllow.cc | 48 +-
src/proxy/ParentSelection.cc | 28 +-
src/proxy/ReverseProxy.cc | 73 +--
src/proxy/hdrs/CMakeLists.txt | 9 +-
src/proxy/http/PreWarmConfig.cc | 12 +-
src/proxy/http/remap/unit-tests/CMakeLists.txt | 24 +-
src/proxy/http2/CMakeLists.txt | 4 +-
src/proxy/logging/LogConfig.cc | 26 +-
src/records/CMakeLists.txt | 18 +-
src/records/P_RecCore.cc | 6 +
src/records/RecCore.cc | 12 +-
src/records/RecordsConfig.cc | 6 +
src/records/unit_tests/test_ConfigRegistry.cc | 207 ++++++
src/records/unit_tests/test_ConfigReloadTask.cc | 148 +++++
src/traffic_ctl/CtrlCommands.cc | 369 ++++++++++-
src/traffic_ctl/CtrlCommands.h | 9 +
src/traffic_ctl/CtrlPrinters.cc | 285 +++++++-
src/traffic_ctl/CtrlPrinters.h | 47 +-
src/traffic_ctl/TrafficCtlStatus.h | 1 +
src/traffic_ctl/jsonrpc/CtrlRPCRequests.h | 56 +-
src/traffic_ctl/jsonrpc/ctrl_yaml_codecs.h | 101 +++
src/traffic_ctl/traffic_ctl.cc | 60 +-
src/traffic_logstats/CMakeLists.txt | 2 +-
src/traffic_server/CMakeLists.txt | 2 +-
src/traffic_server/RpcAdminPubHandlers.cc | 3 +
src/traffic_server/traffic_server.cc | 65 +-
tests/gold_tests/cache/cache_config_reload.test.py | 72 ++
.../{splitdns.test.py => splitdns_reload.test.py} | 55 +-
.../ip_allow/ip_allow_reload_triggered.test.py | 256 ++++++++
tests/gold_tests/ip_allow/ip_category.test.py | 2 +-
.../gold_tests/jsonrpc/config_reload_dedup.test.py | 160 +++++
.../jsonrpc/config_reload_failures.test.py | 412 ++++++++++++
.../jsonrpc/config_reload_full_smoke.test.py | 165 +++++
.../jsonrpc/config_reload_reserve_subtask.test.py | 134 ++++
tests/gold_tests/jsonrpc/config_reload_rpc.test.py | 397 +++++++++++
.../jsonrpc/config_reload_tracking.test.py | 304 +++++++++
....json => admin_detached_config_reload_req.json} | 0
.../gold_tests/jsonrpc/jsonrpc_api_schema.test.py | 9 +-
.../parent_config/parent_config_reload.test.py | 86 +++
tests/gold_tests/remap/remap_reload.test.py | 4 +-
.../gold_tests/tls/tls_client_cert_plugin.test.py | 2 +-
.../traffic_ctl/traffic_ctl_config_reload.test.py | 192 ++++++
.../traffic_ctl/traffic_ctl_test_utils.py | 137 +++-
96 files changed, 8254 insertions(+), 524 deletions(-)
create mode 100644 doc/developer-guide/config-reload-framework.en.rst
create mode 100644 include/mgmt/config/ConfigContext.h
create mode 100644 include/mgmt/config/ConfigRegistry.h
create mode 100644 include/mgmt/config/ConfigReloadErrors.h
copy example/plugins/c-api/protocol/Protocol.h =>
include/mgmt/config/ConfigReloadExecutor.h (53%)
create mode 100644 include/mgmt/config/ConfigReloadTrace.h
create mode 100644 include/mgmt/config/ReloadCoordinator.h
create mode 100644 include/records/YAMLConfigReloadTaskEncoder.h
delete mode 100644 src/mgmt/config/AddConfigFilesHere.cc
create mode 100644 src/mgmt/config/ConfigContext.cc
create mode 100644 src/mgmt/config/ConfigRegistry.cc
create mode 100644 src/mgmt/config/ConfigReloadExecutor.cc
create mode 100644 src/mgmt/config/ConfigReloadTrace.cc
create mode 100644 src/mgmt/config/ReloadCoordinator.cc
create mode 100644 src/records/unit_tests/test_ConfigRegistry.cc
create mode 100644 src/records/unit_tests/test_ConfigReloadTask.cc
create mode 100644 tests/gold_tests/cache/cache_config_reload.test.py
copy tests/gold_tests/dns/{splitdns.test.py => splitdns_reload.test.py} (59%)
create mode 100644 tests/gold_tests/ip_allow/ip_allow_reload_triggered.test.py
create mode 100644 tests/gold_tests/jsonrpc/config_reload_dedup.test.py
create mode 100644 tests/gold_tests/jsonrpc/config_reload_failures.test.py
create mode 100644 tests/gold_tests/jsonrpc/config_reload_full_smoke.test.py
create mode 100644
tests/gold_tests/jsonrpc/config_reload_reserve_subtask.test.py
create mode 100644 tests/gold_tests/jsonrpc/config_reload_rpc.test.py
create mode 100644 tests/gold_tests/jsonrpc/config_reload_tracking.test.py
rename tests/gold_tests/jsonrpc/json/{admin_config_reload_req.json =>
admin_detached_config_reload_req.json} (100%)
create mode 100644 tests/gold_tests/parent_config/parent_config_reload.test.py
create mode 100644
tests/gold_tests/traffic_ctl/traffic_ctl_config_reload.test.py