----- Original Message -----
From: "Heiko W.Rupp" <hrupp(a)redhat.com>
To: rhq-devel(a)lists.fedorahosted.org
Sent: Monday, March 5, 2012 8:35:53 AM
Subject: Re: Confusing AS4 Plugin Functionality
Am 05.03.2012 um 15:26 schrieb Jay Shaughnessy:
> +1 to total removal. The one-off feature doesn't make sense, and
> if used will likely break or generate unexpected results.
This was well received in the past and is for most admins that
manually do
$ mv app.war app.war.bak
$ cp /.../appv2.war app.war
a lot more intuitive than going to the content tab, investigating
what a content repository may be etc to get the software in place
After all the recent content system updates, users can now use the CLI to backup
application server content.
Here is a code snippet:
appResource = ProxyFactory.getResource(14932)
appResource.retrieveBackingContent("/apps/backup/original.war.bak")
appResource.updateBackingContent("/apps/new/newcontent.war","1.2")
Content subsystem may be the canonical way to do stuff. And with
Stefan's fixes it may even work. But last I've looked, it was still
a lot too complicated to use.
I agree the content tab is not very intuitive but the CLI is intuitive and easy to use. In
two lines of code you can backup content from the app server.
>
> Also, I'm not sure the revert feature is needed at the content
> level. And as an aside, Bundle provisioning already supports
> revert.
Using a bundle to replace cp ~/my-app.war $DEPLOY/ is much too
complicated.
Also we should perhaps think on how to better integrate bundles and
content, so that they do not provide two times similar
functionality, which is slightly different.
Heiko
--
Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
Handelsregister: Amtsgericht München HRB 153243
Geschaeftsführer: Mark Hegarty, Charlie Peters, Michael Cunningham,
Charles Cachera
_______________________________________________
rhq-devel mailing list
rhq-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/rhq-devel