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

ValueMap - implement default methods using OSGI Converter

    XMLWordPrintableJSON

Details

    Description

      Implement default methods in the ValueMap interface that leverages the OSGi Converter

      see
      https://osgi.org/specification/osgi.cmpn/7.0.0/util.converter.html

      Once this is implemented, custom implementations of the ValueMap interface can start being removed, where appropriate, so that a consistent and comprehensive conversion of properties occur.  We can then add new Rules to the Converter to allow features to be populated to all ValueMap implementations.

       

      To implement this, the following will also need to happen

      • The Converter bundle will need to be added as a required bundle
        • Various scripts that define the minimum needed set of bundles will need to be updated
      • Communication on the difference in behaviour between the current ValueMap and the ValueMap with Converter
      • Although not within the Maven definition. org.osgi.util.Function needs to be available as well for the Converter to initiate correctly.

       

      Attachments

        Issue Links

          Activity

            People

              radu Radu Cotescu
              jebailey Jason E Bailey
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 3h 20m
                  3h 20m