Commit 71a82c6
committed
Lay groundwork for splitting runtime and static configuration data.
This change paves the way adding further runtime specific data to
configuration objects. An instance of a configuration already contains
such data, such as the mig_server_id property when in use by daemons
and a reference to the logger. With needs arising for further runtime
data, make a clear separation between runtime attributes and the
static configuration data clear.
Opt to do this by making an object which internally keeps a reference
to an underlying configuration object, proxies attribute access to it
and can then be used as a drop-in substitute in ay call stack of logic.
Name this RuntimeConfiguration.
Stop short of moving existing runtime properties as of this commit.1 parent 473e4ce commit 71a82c6
2 files changed
Lines changed: 32 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
39 | 68 | | |
40 | 69 | | |
41 | 70 | | |
42 | 71 | | |
43 | 72 | | |
44 | 73 | | |
45 | | - | |
46 | 74 | | |
47 | 75 | | |
48 | 76 | | |
| |||
65 | 93 | | |
66 | 94 | | |
67 | 95 | | |
68 | | - | |
| 96 | + | |
69 | 97 | | |
70 | 98 | | |
71 | 99 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
39 | | - | |
| 38 | + | |
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
| |||
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
168 | | - | |
| 167 | + | |
169 | 168 | | |
170 | 169 | | |
171 | 170 | | |
| |||
0 commit comments