Feature #10594

[API] [Workbench] Error out when unrecognized keys appear in config files

Added by Tom Clegg over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Start date:
11/22/2016
Due date:
% Done:

0%

Estimated time:
Story points:
0.5

Description

Currently, if a configuration key is misspelled or misplaced in a configuration file, it is silently ignored.

In source:services/api/config/initializers/load_config.rb and source:apps/workbench/config/initializers/load_config.rb, stash $application_config.deep_dup (or even just $application_config.keys) after reading the default config file. Then, after reading site config, error out if any new keys have appeared.


Related issues

Related to Arvados - Bug #10282: [Go programs]Warn or error when unrecognized keys appear in config filesClosed

History

#1 Updated by Tom Clegg over 2 years ago

  • Target version set to Arvados Future Sprints

Also available in: Atom PDF