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

Cleanup code duplication between admin / main or testing / main

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • None
    • None
    • None
    • None

    Description

      For example the subsitution code is duplicated in several locations:

      • org.apache.felix.karaf.testing.Helper
      • org.apache.felix.karaf.main.Main
      • org.apache.felix.karaf.admin.internal.InstanceImpl

      The AdminServiceImpl contains duplicate infromation related to the storage file ...

      It would be nice to have a separate maven module which would hold the necessary classes to access karaf information (loading properties, pid file, shutdown socket, etc...) so that it would be easier to interact with a karaf instance

      Attachments

        Activity

          People

            Unassigned Unassigned
            gnodet Guillaume Nodet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated: