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

FeaturesService should use more specific classes for model

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: karaf
    • Labels:
      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

              • Assignee:
                chris@die-schneider.net Christian Schneider
                Reporter:
                chris@die-schneider.net Christian Schneider
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: