Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-8935

Support serializing primitive arrays and Collections from Feature Model Configurations

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Feature Model IO 1.1.0
    • Feature Model IO 1.2.0
    • Feature Model
    • None

    Description

      Currently the serialization of feature models only supports Arrays of objects. But the OSGi spec at https://osgi.org/specification/osgi.cmpn/7.0.0/service.configurator.html#d0e131765 as well as the configuration admin allow also

      • Collections and
      • arrays of primitive types

      IMHO Reading/Deserializing those is already supported via https://github.com/apache/felix/blob/trunk/configurator/src/main/java/org/apache/felix/configurator/impl/json/JSONUtil.java.

      Attachments

        Issue Links

          Activity

            People

              kwin Konrad Windszus
              kwin Konrad Windszus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: