You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@karaf.apache.org by "Guillaume Nodet (JIRA)" <ji...@apache.org> on 2011/02/17 15:14:24 UTC

[jira] Created: (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
-----------------------------------------------------------------------------------------------------------

                 Key: KARAF-468
                 URL: https://issues.apache.org/jira/browse/KARAF-468
             Project: Karaf
          Issue Type: Bug
            Reporter: Guillaume Nodet




-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Commented: (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000891#comment-13000891 ] 

Jean-Baptiste Onofré commented on KARAF-468:
--------------------------------------------

To avoid to write:
String value = "default";
if (properties.get("foo") != null)
  default = properties.get("foo");

I'm going to submit a patch in Felix Utils with getProperty(propertyName, defaultValue) method.

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Work started] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on KARAF-468 started by Jean-Baptiste Onofré.

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] Commented: (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000870#comment-13000870 ] 

Jean-Baptiste Onofré commented on KARAF-468:
--------------------------------------------

We have to use Felix Utils (Properties and InterpolationHelper).

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Resolved] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (Resolved JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved KARAF-468.
----------------------------------------

    Resolution: Fixed
    
> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-admin
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-468:
---------------------------------------

      Component/s: karaf-admin
    Fix Version/s: 3.1.0

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-admin
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0, 3.1.0
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13000911#comment-13000911 ] 

Jean-Baptiste Onofré commented on KARAF-468:
--------------------------------------------

I submitted FELIX-2866 bug including a patch to easily migrate/use Felix Utils Properties in place of java.util.Properties.

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027632#comment-13027632 ] 

Christian Schneider commented on KARAF-468:
-------------------------------------------

JB just explained it to me in IRC. The admin service doe not use config admin service as it has to be usable outside of OSGi too

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Christian Schneider (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13027599#comment-13027599 ] 

Christian Schneider commented on KARAF-468:
-------------------------------------------

Shouldn´t it rather use the config admin service?

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13206799#comment-13206799 ] 

Jean-Baptiste Onofré commented on KARAF-468:
--------------------------------------------

Guillaume will cut off Felix Utils 1.1.2. I will update just after.
                
> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-admin
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0, 3.1.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Assigned: (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré reassigned KARAF-468:
------------------------------------------

    Assignee: Jean-Baptiste Onofré

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Updated: (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-468:
---------------------------------------

    Fix Version/s: 3.0.0

> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (Updated JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated KARAF-468:
---------------------------------------

    Fix Version/s:     (was: 3.1.0)
    
> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-admin
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Jean-Baptiste Onofré (Commented JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211988#comment-13211988 ] 

Jean-Baptiste Onofré commented on KARAF-468:
--------------------------------------------

Felix Utils 1.1.2 artifact arrived on the Central repo. I commit the change.
                
> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-admin
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (KARAF-468) The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort

Posted by "Guillaume Nodet (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/KARAF-468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13211992#comment-13211992 ] 

Guillaume Nodet commented on KARAF-468:
---------------------------------------

@Christian, I would strongly advise not using ConfigAdmin as a storage as it was meant to be a read-only source for bundles.  Using it as a storage (i.e. having bundles read and write to it) would basically break management agents the provide centralized configurations and management.
                
> The admin InstanceImpl class should use the util properties for loading / storing rmiRegistryPort , sshPort
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: KARAF-468
>                 URL: https://issues.apache.org/jira/browse/KARAF-468
>             Project: Karaf
>          Issue Type: Bug
>          Components: karaf-admin
>            Reporter: Guillaume Nodet
>            Assignee: Jean-Baptiste Onofré
>             Fix For: 3.0.0
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira