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 about 2 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
Story points:
0.5
Release:
Release relationship:
Auto

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 filesClosedActions
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 #3

Updated by Peter Amstutz about 1 year ago

  • Release set to 60
Actions #4

Updated by Peter Amstutz about 2 months ago

  • Target version set to Future
Actions

Also available in: Atom PDF