You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ace.apache.org by "Bram de Kruijff (Created) (JIRA)" <ji...@apache.org> on 2012/03/19 12:57:37 UTC

[jira] [Created] (ACE-232) Make Management Agent self contained

Make Management Agent self contained
------------------------------------

                 Key: ACE-232
                 URL: https://issues.apache.org/jira/browse/ACE-232
             Project: ACE
          Issue Type: Improvement
    Affects Versions: 0.8.0
            Reporter: Bram de Kruijff


The Management Agent introduced by ACE-91 I (no longer?) self contained as it does not embed its dependencies. As a result, deploying the management agent in an OSGi container requires deploying all its dependencies as well. This will then export all kinds off packages and expose all kinds off services to the environment that may seriously complicate things. 

The Launcher solves this problem by embedding all the dependencies in the launcher jar providing a controlled way of managing what is (not) exposed into the container.

My suggestion is to move the embedding to the Management Agent itself providing the same level of control, but now we can deploy the Management Agent into any OSGi container without being forced to use the launcher.

Eg. This idea triggered cause I want to be able to deploy the Management Agent into a Pax Exam 2 test


--
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] (ACE-232) Make Management Agent self contained

Posted by "Bram de Kruijff (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/ACE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13239306#comment-13239306 ] 

Bram de Kruijff commented on ACE-232:
-------------------------------------

Right now the launcher is broken. Seems part of this patch was committed under ACE-167 in r1304246 nut not all. Specifically the diff to pom/pom.xml is missing.
                
> Make Management Agent self contained
> ------------------------------------
>
>                 Key: ACE-232
>                 URL: https://issues.apache.org/jira/browse/ACE-232
>             Project: ACE
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Bram de Kruijff
>         Attachments: ACE-232-selfContainedMA.patch
>
>
> The Management Agent introduced by ACE-91 I (no longer?) self contained as it does not embed its dependencies. As a result, deploying the management agent in an OSGi container requires deploying all its dependencies as well. This will then export all kinds off packages and expose all kinds off services to the environment that may seriously complicate things. 
> The Launcher solves this problem by embedding all the dependencies in the launcher jar providing a controlled way of managing what is (not) exposed into the container.
> My suggestion is to move the embedding to the Management Agent itself providing the same level of control, but now we can deploy the Management Agent into any OSGi container without being forced to use the launcher.
> Eg. This idea triggered cause I want to be able to deploy the Management Agent into a Pax Exam 2 test

--
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] (ACE-232) Make Management Agent self contained

Posted by "Bram de Kruijff (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ACE-232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Bram de Kruijff updated ACE-232:
--------------------------------

    Attachment: ACE-232-selfContainedMA.patch

Attached a simple patch that seems to do the job. Needs testing. Note that I had to do a few import/export tweaks that may or may not make sense eg. excluding condperm 1.1
                
> Make Management Agent self contained
> ------------------------------------
>
>                 Key: ACE-232
>                 URL: https://issues.apache.org/jira/browse/ACE-232
>             Project: ACE
>          Issue Type: Improvement
>    Affects Versions: 0.8.0
>            Reporter: Bram de Kruijff
>         Attachments: ACE-232-selfContainedMA.patch
>
>
> The Management Agent introduced by ACE-91 I (no longer?) self contained as it does not embed its dependencies. As a result, deploying the management agent in an OSGi container requires deploying all its dependencies as well. This will then export all kinds off packages and expose all kinds off services to the environment that may seriously complicate things. 
> The Launcher solves this problem by embedding all the dependencies in the launcher jar providing a controlled way of managing what is (not) exposed into the container.
> My suggestion is to move the embedding to the Management Agent itself providing the same level of control, but now we can deploy the Management Agent into any OSGi container without being forced to use the launcher.
> Eg. This idea triggered cause I want to be able to deploy the Management Agent into a Pax Exam 2 test

--
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