slapconfiguration: Support unstringifying integers
Support unstringifying integers
When the instance receives xml-stringified parameters because of xml
serialisation and uses slapconfiguration:jsonschema
recipe, it can unstringify stringified integers that are typed as integers in the json schema.
This is useful for migrating xml
instances to jsonschema recipe, and to further ease migration to json-in-xml
serialisation. Integers are in practice the only type of parameters in xml
instances, other than strings.
Friendlier usage
Raise informative error when slapconfiguration:jsonschema
receives a software-type that does not have a corresponding entry in software.cfg.json.
Bug fix
Remove root_instance_short_title
from the parameter dict to avoid spuriously failing to validate jsonschema that forbid additional (unexpected) parameters.
Cleanup
Refactor recipe and tests.
See !1638 (merged) and !1829 (merged) for previous history on slapconfiguration:jsonschema