[jboss-jira] [JBoss JIRA] (AS7-3727) Arq: Make mgmt address and port available in the @Deployment method.

Stuart Douglas (JIRA) jira-events at lists.jboss.org
Fri Feb 24 00:08:37 EST 2012


    [ https://issues.jboss.org/browse/AS7-3727?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12670645#comment-12670645 ] 

Stuart Douglas commented on AS7-3727:
-------------------------------------

I have come up with a solution to the problem of management changes that have to be made before the deployment:

https://github.com/jbossas/jboss-as/commit/5bbdbb1f7428300982aeafc8e73864e817246ac7

Basically you just annotate your classes with @ServerSetup(MySetupClass.class), and then use the setup(ManagementClient) and tearDown(ManagementClient) method on MySetupClass to run any pre-deployment actions that need to be run.

This should remove the need to access this information in the deployment method, as the @Deployment method should really just be used to build the deployment, not to perform setup.
                
> Arq: Make mgmt address and port available in the @Deployment method.
> --------------------------------------------------------------------
>
>                 Key: AS7-3727
>                 URL: https://issues.jboss.org/browse/AS7-3727
>             Project: Application Server 7
>          Issue Type: Feature Request
>          Components: Test Suite
>            Reporter: Ondrej Zizka
>            Assignee: Ondrej Zizka
>             Fix For: 7.1.2.Final
>
>   Original Estimate: 3 days
>  Remaining Estimate: 3 days
>


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

        


More information about the jboss-jira mailing list