Commit aebef45
authored
records.config to records.yaml (#9264)
This commit contains:
* records.yaml - Rename records that will have issues when migrated to
yaml.
To avoid issues with fields which the main root key holds value and also children fields I had to rename them in order to make it compatible with YAML.
So fields like this:
proxy.config.exec_thread.autoconfig INT 1 << can’t have value and children fields
proxy.config.exec_thread.autoconfig.scale FLOAT 1.0
So this now looks like this:
proxy.config.exec_thread.autoconfig.enabled INT 1
So when migrated to YAML it will looks like this:
exec_thread:
autoconfig:
enabled: 1 << new field.
scale: 1.0
* records.yaml: replace records.config configuration file and use YAML
format instead.
- This change keeps the original internals and only adds a new layer for parsing YAML instead of records.
- YAML nodes are converted to record names (dot(.) separated) and use the same internal features.
- traffic_ctl still works with record names.
- All the internal API to query and set records remains unchanged.
* record.yaml - Add basic unit test for some specific cases.
* Add test for fields with multipliers
* Docs update.1 parent 15c39da commit aebef45
File tree
152 files changed
+3994
-1638
lines changed- ci/jenkins
- configs
- contrib
- doc
- .tx
- admin-guide
- configuration
- transparent-proxy
- files
- logging
- monitoring
- performance
- plugins
- security
- appendices
- command-line
- developer-guide
- api/functions
- cache-architecture
- debugging
- design-documents
- documentation
- plugins
- getting-started
- plugin-management
- ext
- getting-started
- locale/ja/LC_MESSAGES
- admin-guide
- configuration
- transparent-proxy
- files
- monitoring
- logging
- performance
- plugins
- security
- transparent-proxy
- appendices
- command-line
- developer-guide
- api/functions
- architecture
- debugging
- plugins
- getting-started
- plugin-management
- troubleshooting-tips
- getting-started
- include
- records
- tscore
- iocore
- aio
- eventsystem
- hostdb
- net
- lib/perl/lib/Apache
- TS/Config
- mgmt
- config
- rpc
- proxy
- http3
- http
- logging
- src
- records
- traffic_crashlog
- traffic_server
- tests
- gold_tests
- autest-site
- cache
- cont_schedule
- pluginTest
- traffic_dump
- records
- gold
- legacy_config
- shutdown
- thread_config
- tls_hooks
- tls
- tools/records
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
152 files changed
+3994
-1638
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
| 55 | + | |
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
| 21 | + | |
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
This file was deleted.
0 commit comments