-
Notifications
You must be signed in to change notification settings - Fork 819
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
152 changed files
with
3,994 additions
and
1,638 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.