Uploaded image for project: 'Karaf'
  1. Karaf
  2. KARAF-5300

FeaturesService should use more specific classes for model

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • karaf
    • None

    Description

      Currently the feature service uses strings for many different purposes:

      • feature name
      • feature name glob
      • feature version
      • feature version range

      It is difficult to tell what purpose such a string has.

      I would like to create a type FeatureReq(name, VersionRange) that describes better what we do. This should make the code a lot easier to understand.

      Ideally we would also reflect this in the service interface but the stay backwards compatbile I will only use the new types internally.

      Attachments

        Issue Links

          Activity

            People

              cschneider Christian Schneider
              cschneider Christian Schneider
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: