You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficcontrol.apache.org by GitBox <gi...@apache.org> on 2018/12/11 15:21:46 UTC
[GitHub] mitchell852 opened a new issue #3106: ATS config file content
ordering
mitchell852 opened a new issue #3106: ATS config file content ordering
URL: https://github.com/apache/trafficcontrol/issues/3106
The following ATS "config" files are generated from TO:
https://github.com/apache/trafficcontrol/blob/master/traffic_ops/app/lib/API/Configs/ApacheTrafficServer.pm#L344
ip_allow.config (GET /api/$version/servers/#id/configfiles/ats/ip_allow.config)
parent.config (GET /api/$version/servers/#id/configfiles/ats/parent.config)
hosting.config (GET /api/$version/servers/#id/configfiles/ats/hosting.config)
remap.config (GET /api/$version/servers/#id/configfiles/ats/remap.config)
astats.config (GET /api/$version/profiles/#id/configfiles/ats/astats.config)
cache.config (GET /api/$version/servers/#id/configfiles/ats/cache.config)
drop_qstring.config (GET /api/$version/profiles/#id/configfiles/ats/drop_qstring.config)
logging.config (GET /api/$version/profiles/#id/configfiles/ats/logging.config)
plugin.config (GET /api/$version/profiles/#id/configfiles/ats/plugin.config)
records.config (GET /api/$version/profiles/#id/configfiles/ats/records.config)
storage.config (GET /api/$version/profiles/#id/configfiles/ats/storage.config)
url_sig_*.config (GET /api/$version/profiles/#id/configfiles/ats/url_sig_*.config)
uri_signing_*.config (GET /api/$version/profiles/#id/configfiles/ats/uri_signing_*.config)
volume.config (GET /api/$version/profiles/#id/configfiles/ats/volume.config)
bg_fetch.config (GET /api/$version/cdns/#id/configfiles/ats/bg_fetch.config)
hdr_rw_*.config (GET /api/$version/cdns/#id/configfiles/ats/hdr_rw_*.config)
regex_remap_*.config (GET /api/$version/cdns/#id/configfiles/ats/regex_remap_*.config)
regex_revalidate.config (GET /api/$version/cdns/#id/configfiles/ats/regex_revalidate.config)
set_dscp_*.config (GET /api/$version/cdns/#id/configfiles/ats/set_dscp_*.config)
ssl_multicert.config (GET /api/$version/cdns/#id/configfiles/ats/ssl_multicert.config)
to_ext_*.config (GET /api/$version/servers/#id/configfiles/ats/to_ext_*.config)
For some, the order of the file contents may be important. In this case it is important that multiple calls to the API endpoint that generates the config file returns a consistent content order.
For others, the order of the file contents may NOT be important, however, to utilize diff tools for testing purposes, a consistent content order will help eliminate false positives associated with diffs caused by ordering differences.
The ask of this issue is to make the order of all of these ATS config files predictable and deterministic while still preserving the generated order if important.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services