[wildfly-dev] How to add deployment information

Harald Pehl hpehl at redhat.com
Thu Oct 10 04:28:18 EDT 2013


Thanks for your input. Suggestions, ideas and feedback on how to improve the console are always welcome! Please find my answers below.

Am 10.10.2013 um 03:04 schrieb Claudio Miranda <claudio at claudius.com.br>:

> Hi, I would like to add more information to deployments artifacts to
> be displayed at CLI/GUI (hash, date, time, download link, etc), but
> examing the DeploymentData and ModelNode interface they do not have
> those information.

When displaying data about the deployments we rely on the information provided by the management API. For standalone mode this is the node "/deployment=<deployment-name>" and for domain "/host=<host-name>/server=<server-name>/deployment=<deployment-name>/". Each deployment contains subsystems holding the actual data or subdeployments which in turn contain the subsystems. I suggest you to deploy an artifact and use the model browser in the console to see the actual hierarchy of model nodes. These nodes are mapped to instances of DeploymentData by org.jboss.as.console.client.shared.deployment.DeploymentStore. 

> What is the wildfly sub project that have the information to change
> the deployment information to make it available to CLI/GUI ?
> 
> Example: At hal/core class
> org.jboss.as.console.client.domain.groups.deployment.ContentRepositoryPanel
> it uses DeploymentRecord for each deployment. I want to enhance this
> to display more information. But where should I look into to begin
> understanding these design ?
> 
> First I want to understand it, then discuss it with developers to see
> what are acceptable and submit the PR.

I suggest you file a JIRA issue (https://issues.jboss.org/browse/WFLY) describing what data should be displayed for what kind of deployment artifact. This is always a good starting point to discuss implementation details.

> 
> Thanks.
> 
> -- 
>  Claudio Miranda
> 
> claudio at claudius.com.br
> http://www.claudius.com.br
> _______________________________________________
> wildfly-dev mailing list
> wildfly-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/wildfly-dev

.: Harald

--- 
Harald Pehl
JBoss by Red Hat
http://hpehl.info


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/wildfly-dev/attachments/20131010/46d779bd/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
Url : http://lists.jboss.org/pipermail/wildfly-dev/attachments/20131010/46d779bd/attachment-0001.bin 


More information about the wildfly-dev mailing list