Stephen Shelton
0a9515a94a
Proper support for multiple values @ ConfigDefinition
5 years ago
Stephen Shelton
a6787657be
Refactor config comments to take list of strings
5 years ago
Stephen Shelton
a8671cf9c7
Rename config classes for clarity
...
ConfigDefinition -> OptionDefiniton
Configuration -> ConfigDefinition
5 years ago
Stephen Shelton
9e850705b4
Add 'AssignmentAcceptor' convenience for simple config acceptors
5 years ago
Stephen Shelton
028e55e997
Remove pre-refactor config test
5 years ago
Stephen Shelton
14e7789847
Add padding to config file generated output
5 years ago
Stephen Shelton
18ee23c2a3
Support for comments in config definition
5 years ago
Stephen Shelton
c5ff672c79
Use 'undeclared handler' for multi-valued 'add-node' config option
5 years ago
Stephen Shelton
9a1b7b20de
Add "undeclared value" handler to Configuration
5 years ago
Stephen Shelton
ffc58fcedb
Remove dead code (serverOptions)
5 years ago
Stephen Shelton
2e47262350
Demystify LinksConfig
5 years ago
Stephen Shelton
a44eb73baa
Add config INI output unit tests
5 years ago
Stephen Shelton
69331f1571
Remove multiValued as an argument to ConfigDefinition
5 years ago
Stephen Shelton
f6d000838f
Clarity and convenience for defining config options
5 years ago
Stephen Shelton
02e31f3867
Introduce acceptor function in ConfigDefinition
5 years ago
Stephen Shelton
60d0bf2a9b
Rename function for clarity
5 years ago
Stephen Shelton
8352de7bd4
Config documentation, clarity
5 years ago
Stephen Shelton
105dd30fd9
More ConfigDefinition unit tests, fixes, support std::string as type
5 years ago
Stephen Shelton
25212b929c
Add ConfigDefinition unit tests, fixes
5 years ago
Stephen Shelton
9d71228e74
Replace config visit pattern with explicit lookups
...
This is an initial pass at doing explicit value checks when handling
config parsing, as opposed to using a visiting pattern. The latter
made it difficult to check for conditions such as missing required
values, multiple values, etc.
It was also generally less readable (think declarative) which further
made it difficult to get a grasp for what our actual configuration file
requirements were.
5 years ago
Jason Rhinelander
3bd400f6fe
Fix string_view C++17 compatibility
...
string_view was implicitly convertible to std::string, but
std::string_view is only explicitly convertible. This makes the
`operator std::string` explicit to be more compatible, and re-adds a
bunch of explicit string casts to the code where needed.
(This also fixes the build if changing the standard to c++17)
5 years ago
Jason Rhinelander
74d4afad51
Remove metric config parsing
5 years ago
Jeff Becker
8f891c57b6
fix unit tests
5 years ago
Jeff Becker
c1f33bb1ac
initial mempipe implementation
5 years ago
Michael
91c1ba87cc
Change ConfigParser too
5 years ago
Michael
8fd4ceb55b
Don't use LoadFromString
5 years ago
Michael
3ce90b678e
Allow override of the rest of the config
5 years ago
Michael
fbb83704a0
Allow override of some config via env variables
5 years ago
Michael
f310160065
Fixup and add tests
5 years ago
Michael
a2326efa37
Revert "Merge pull request #679 from tewinget/revert-config-refactor"
...
This reverts commit 2996a7f29c
, reversing
changes made to 10df3bd4b3
.
5 years ago
Thomas Winget
d044d60101
Reverts #678 #677 and #669 with hashes:
...
10df3bd
766ece8
979f095
See those commits for further details
5 years ago
Michael
bd78471dae
Move ini parser as well
5 years ago