Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.2.4, 3.0.0
    • Component/s: karaf-core
    • Labels:
      None

      Description

      Currently, Karaf provides the following MBeans:

      • org.apache.karaf:type=admin,name=$ {karaf.name}
        - org.apache.karaf:type=diagnostic,name=${karaf.name}
      • org.apache.karaf:type=features,name=$ {karaf.name}

        allowing to get information and handles Karaf child instances, dump information files and manipulate features.

        We should add new MBean like:
        - org.apache.karaf:type=config,name=${karaf.name}

        to manipulate ConfigAdmin layer (view the config PID, the config PID entries, etc)

      • org.apache.karaf:type=security,name=$ {karaf.name} to manipulate the Karaf JAAS and security framework
        - org.apache.karaf:type=bundles,name=${karaf.name}

        to manipulate bundles (install/uninstall/start/stop)

      • org.apache.karaf:type=kar,name=$ {karaf.name} to manipulate KAR archive (linked to commands that we should also add)
        - org.apache.karaf:type=scheduler,name=${karaf.name}

        to manipulate the new scheduler embedded in Karaf

        Activity

        Hide
        Jean-Baptiste Onofré added a comment -

        Web MBean added on trunk (revision 1175968).

        Show
        Jean-Baptiste Onofré added a comment - Web MBean added on trunk (revision 1175968).
        Hide
        Jean-Baptiste Onofré added a comment -

        Merged on karaf-2.2.x branch: revision 1175781.

        Show
        Jean-Baptiste Onofré added a comment - Merged on karaf-2.2.x branch: revision 1175781.
        Hide
        Jean-Baptiste Onofré added a comment -

        Services and System MBeans added on trunk (revision 1175765).
        Packages MBean added on trunk (revision 1175768).

        Show
        Jean-Baptiste Onofré added a comment - Services and System MBeans added on trunk (revision 1175765). Packages MBean added on trunk (revision 1175768).
        Hide
        Jean-Baptiste Onofré added a comment -

        Bundles MBean added on trunk (revision 1175568).

        Show
        Jean-Baptiste Onofré added a comment - Bundles MBean added on trunk (revision 1175568).
        Hide
        Jean-Baptiste Onofré added a comment -

        OBR MBean added on trunk (revision 1174985).

        Show
        Jean-Baptiste Onofré added a comment - OBR MBean added on trunk (revision 1174985).
        Hide
        Jean-Baptiste Onofré added a comment -

        Log MBean added on trunk (revision 1174677).

        Show
        Jean-Baptiste Onofré added a comment - Log MBean added on trunk (revision 1174677).
        Hide
        Jean-Baptiste Onofré added a comment -

        HTTP MBean added on trunk (revision 1174535).

        Show
        Jean-Baptiste Onofré added a comment - HTTP MBean added on trunk (revision 1174535).
        Hide
        Jean-Baptiste Onofré added a comment -

        Dev MBean added on trunk.

        Show
        Jean-Baptiste Onofré added a comment - Dev MBean added on trunk.
        Hide
        Jean-Baptiste Onofré added a comment -

        ConfigMBean has been added to the karaf-2.2.x branch: revision 1174071.

        I have to work again on trunk to use the "new" management server bundle.

        Show
        Jean-Baptiste Onofré added a comment - ConfigMBean has been added to the karaf-2.2.x branch: revision 1174071. I have to work again on trunk to use the "new" management server bundle.
        Hide
        Jean-Baptiste Onofré added a comment -

        Revision 1173805: I added a ConfigMBean (org.apache.karaf:type=config,name=$

        {karaf.name}

        ) which manipulate the ConfigAdmin layer and also is able to handle flush to the etc cfg files (as performed by the config:* commands).

        Show
        Jean-Baptiste Onofré added a comment - Revision 1173805: I added a ConfigMBean (org.apache.karaf:type=config,name=$ {karaf.name} ) which manipulate the ConfigAdmin layer and also is able to handle flush to the etc cfg files (as performed by the config:* commands).
        Hide
        Jean-Baptiste Onofré added a comment -

        After rethinking about that, even if the OSGi framework provides a MBean to manipule bundles, in order to "mimic" the Karaf commands via JMX, I will create a Karaf Bundles MBean.

        Show
        Jean-Baptiste Onofré added a comment - After rethinking about that, even if the OSGi framework provides a MBean to manipule bundles, in order to "mimic" the Karaf commands via JMX, I will create a Karaf Bundles MBean.
        Hide
        Jean-Baptiste Onofré added a comment -

        For the bundles, we already have an existing clean MBean provided by the OSGi framework.

        However, for the ConfigAdmin, the current MBean is not very easy to use and doesn't "reflect" the config:* commands. I will provide a config MBean looking like the config:* commands.

        To summarize, the following new MBeans will be available: config, security, kar, scheduler.

        Show
        Jean-Baptiste Onofré added a comment - For the bundles, we already have an existing clean MBean provided by the OSGi framework. However, for the ConfigAdmin, the current MBean is not very easy to use and doesn't "reflect" the config:* commands. I will provide a config MBean looking like the config:* commands. To summarize, the following new MBeans will be available: config, security, kar, scheduler.
        Hide
        Jean-Baptiste Onofré added a comment -

        I'm going to include some refactoring:

        • the current management module is the bootstrap of the MBean server, I'm gonna rename it as a management module (management/server)
        • create a new mbeans module containing a set of modules per scope (config, bundles, etc)
        Show
        Jean-Baptiste Onofré added a comment - I'm going to include some refactoring: the current management module is the bootstrap of the MBean server, I'm gonna rename it as a management module (management/server) create a new mbeans module containing a set of modules per scope (config, bundles, etc)

          People

          • Assignee:
            Jean-Baptiste Onofré
            Reporter:
            Jean-Baptiste Onofré
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development