Titanium JIRA Archive
Appcelerator Daemon (DAEMON)

[DAEMON-274] appcd-config: Added support for config layers to be used by plugins

GitHub Issuen/a
TypeImprovement
PriorityHigh
StatusResolved
ResolutionFixed
Resolution Date2019-06-04T17:01:46.000+0000
Affected Version/sAppc Daemon 2.2.0
Fix Version/sAppc Daemon 2.3.0
Componentsappcd-config, appcd-config-service, appcd-plugin
Labelsn/a
ReporterChris Barber
AssigneeChris Barber
Created2019-04-03T20:29:42.000+0000
Updated2019-06-05T15:47:10.000+0000

Description

Plugin configs are loaded and mixed with the global config, but it's merged at a global level and once merged, remains merged until the daemon is stopped. It also doesn't namespace the plugin configs. To solve this, appcd-config needs the ability to define config layers. There is a default root layer, but then each registered config file from plugin is a new layer. These plugin config layers are namespaced so that they don't conflict. Note that this does not affect the user-defined config which overlays everything.

Comments

  1. Chris Barber 2019-04-06

    PR: https://github.com/appcelerator/appc-daemon/pull/367

JSON Source