Details
-
Architectural Decision
-
Resolution: Done
-
None
-
None
Description
The current structure for the Configuration of CSP can be, in our view, improved a little bit.
The json string has a fairly flat structure, in which all commands sent to an element are placed at or near the upper level.Â
We propose the structure of configuration json reflects the real structure of the target [sub]element.Â
We note the present day and the proposed format can coexist without harming each other. It is so possible to foresee a transition phase in which both forms are present and a not updated sub-element can continue to function also during the period in which the system migrate from a format to another.
Why now? This proposal can simplify the development of both the generation and the handling of json config strings. At present the configuration code is still limited in size. Adopting this change later on means more implementation work.Â
Scope: This proposal has been developed in the TM-CSP communication framework but it can be applied, if appropriate, to others communication frameworks. The advantage arises if the [sub]element is complex or simply has a complex structure.Â
Quality: