Bug 610876 - be able to have ant recipe specify URL based bundle files
Summary: be able to have ant recipe specify URL based bundle files
Keywords:
Status: CLOSED DUPLICATE of bug 609154
Alias: None
Product: RHQ Project
Classification: Other
Component: Provisioning
Version: 3.0.0
Hardware: All
OS: All
medium
medium
Target Milestone: ---
: ---
Assignee: John Mazzitelli
QA Contact: Corey Welton
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-02 16:24 UTC by John Mazzitelli
Modified: 2010-12-13 18:12 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-12-13 18:12:39 UTC
Embargoed:


Attachments (Terms of Use)

Description John Mazzitelli 2010-07-02 16:24:04 UTC
some ant recipe's might not want bundle files stored in RHQ uploaded by a user. There might be bundle files that already exist in a user's existing infrastructure (like a apache server or a code repository) accessible via a URL.

Be able to specify in the recipe archive and raw files that come from a URL. Be able to have ${var} notation in the URL.

example:

<rhq:deployment-unit>
    <rhq:url-file url="http://foo/${user.config.prop}.properties"
                  destinationFile="subdir/${user.config.prop}.properties"
                  replace="true"/> 
    <rhq:url-archive url="http://${server.host.prop}/file.zip">
    ...

Notice that <rhq:url-file> has the same semantics as <rhq:file> - with the name attribute replaced with a "url" attribute - it just gets the content of the file from the URL rather than the local disk at ${basedir}.

Notice that <rhq:url-archive> has the same semantics as <rhq:archive> - with the name attribute replaced with a "url" attribute - it just gets the content of the archive from the URL rather than the local disk at ${basedir}.

An optional further enhancement would be to support credentials of the URL is secured.

Comment 1 John Mazzitelli 2010-07-02 16:30:15 UTC
bumping to medium priority - this would be a helpful feature

Comment 2 John Mazzitelli 2010-07-02 16:36:25 UTC
side note: I would like to add url-type commands to the file template bundle type's recipe as well.

Comment 3 Corey Welton 2010-09-28 12:54:10 UTC
Triaged 24-Sept

Comment 4 John Mazzitelli 2010-12-13 18:12:39 UTC

*** This bug has been marked as a duplicate of bug 609154 ***


Note You need to log in before you can comment on or make changes to this bug.