Extend the feature of supporting values in manifests and support for variable substitution based on prior processed manifests (implied dependency, in this case)
Describe the benefit of this proposed enhancement
Allows the implementation of some manifests that set some variable values to re-use those values in other manifests.
Code examples, pseudo code or any other technical description of the proposal
General parsing rule:
The final result must be a str type value. Therefore, if the following conversions should be done:
For values of type dict or list: convert to a string with the JSON representation
For encoded strings, decode the string
For int or Decimal values, convert to string
For other objects, call the __str__ method (use str(value))
None will be converted to an empty string
If the variable is not found, the final result will be an empty string
Brief Description of the Enhancement
Extend the feature of supporting values in manifests and support for variable substitution based on prior processed manifests (implied dependency, in this case)
Describe the benefit of this proposed enhancement
Allows the implementation of some manifests that set some variable values to re-use those values in other manifests.
Code examples, pseudo code or any other technical description of the proposal
General parsing rule:
str
type value. Therefore, if the following conversions should be done:dict
orlist
: convert to a string with the JSON representationint
orDecimal
values, convert to string__str__
method (usestr(value)
)None
will be converted to an empty stringBasic example: