[jira] Created: (FELIX-1850) Expose additional isRoot attribute on AdminServiceMBean

View: New views
4 Messages — Rating Filter:   Alert me  

[jira] Created: (FELIX-1850) Expose additional isRoot attribute on AdminServiceMBean

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Expose additional isRoot attribute on AdminServiceMBean
-------------------------------------------------------

                 Key: FELIX-1850
                 URL: https://issues.apache.org/jira/browse/FELIX-1850
             Project: Felix
          Issue Type: Task
    Affects Versions: karaf-1.0.0
            Reporter: Eoghan Glynn
             Fix For: karaf-1.2.0


Currently determining if an instance is the root instance depends on the karaf.name not having been over-ridden from "root" to some other value.

It would be useful to provide this information explicitly via a new isRoot attribute

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1850) Expose additional isRoot attribute on AdminServiceMBean

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/FELIX-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773968#action_12773968 ]

David Grigglestone commented on FELIX-1850:
-------------------------------------------

The method implementation should be "isRoot", the resulting JMX attribute name would then be "Root" (with boolean value true/false).

> Expose additional isRoot attribute on AdminServiceMBean
> -------------------------------------------------------
>
>                 Key: FELIX-1850
>                 URL: https://issues.apache.org/jira/browse/FELIX-1850
>             Project: Felix
>          Issue Type: Task
>    Affects Versions: karaf-1.0.0
>            Reporter: Eoghan Glynn
>             Fix For: karaf-1.2.0
>
>
> Currently determining if an instance is the root instance depends on the karaf.name not having been over-ridden from "root" to some other value.
> It would be useful to provide this information explicitly via a new isRoot attribute

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-1850) Expose additional isRoot attribute on AdminServiceMBean

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


    [ https://issues.apache.org/jira/browse/FELIX-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776979#action_12776979 ]

Eoghan Glynn commented on FELIX-1850:
-------------------------------------

Fixed by patch for FELIX-1849 (https://issues.apache.org/jira/secure/attachment/12424718/felix_1849.patch)

> Expose additional isRoot attribute on AdminServiceMBean
> -------------------------------------------------------
>
>                 Key: FELIX-1850
>                 URL: https://issues.apache.org/jira/browse/FELIX-1850
>             Project: Felix
>          Issue Type: Task
>    Affects Versions: karaf-1.0.0
>            Reporter: Eoghan Glynn
>             Fix For: karaf-1.2.0
>
>
> Currently determining if an instance is the root instance depends on the karaf.name not having been over-ridden from "root" to some other value.
> It would be useful to provide this information explicitly via a new isRoot attribute

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (FELIX-1850) Expose additional isRoot attribute on AdminServiceMBean

by JIRA jira@apache.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


     [ https://issues.apache.org/jira/browse/FELIX-1850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved FELIX-1850.
------------------------------------

    Resolution: Fixed
      Assignee: Guillaume Nodet

Sending        karaf/admin/core/src/main/java/org/apache/felix/karaf/admin/Instance.java
Sending        karaf/admin/core/src/main/java/org/apache/felix/karaf/admin/internal/AdminServiceImpl.java
Sending        karaf/admin/core/src/main/java/org/apache/felix/karaf/admin/internal/InstanceImpl.java
Sending        karaf/admin/management/src/main/java/org/apache/felix/karaf/admin/management/AdminServiceMBean.java
Sending        karaf/admin/management/src/main/java/org/apache/felix/karaf/admin/management/codec/JmxInstance.java
Sending        karaf/admin/management/src/test/java/org/apache/felix/karaf/admin/management/codec/JmxInstanceTest.java
Sending        karaf/admin/management/src/test/java/org/apache/felix/karaf/admin/management/internal/AdminServiceMBeanImplTest.java
Sending        karaf/main/src/main/java/org/apache/felix/karaf/main/Main.java
Transmitting file data ........
Committed revision 880721.


> Expose additional isRoot attribute on AdminServiceMBean
> -------------------------------------------------------
>
>                 Key: FELIX-1850
>                 URL: https://issues.apache.org/jira/browse/FELIX-1850
>             Project: Felix
>          Issue Type: Task
>    Affects Versions: karaf-1.0.0
>            Reporter: Eoghan Glynn
>            Assignee: Guillaume Nodet
>             Fix For: karaf-1.2.0
>
>
> Currently determining if an instance is the root instance depends on the karaf.name not having been over-ridden from "root" to some other value.
> It would be useful to provide this information explicitly via a new isRoot attribute

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.