Project

General

Profile

Actions

Feature #10594

open

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

Added by Tom Clegg over 7 years ago. Updated almost 3 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

Actions
Actions #1

Updated by Tom Clegg over 7 years ago

  • Target version set to Arvados Future Sprints
Actions #2

Updated by Ward Vandewege almost 3 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF