Bug 1144518

Summary: [ant bundles] properties contained in property files contained inside a bundle distribution are not replaced in the deployed files
Product: [JBoss] JBoss Operations Network Reporter: Lukas Krejci <lkrejci>
Component: ProvisioningAssignee: RHQ Project Maintainer <rhq-maint>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: high Docs Contact:
Priority: unspecified    
Version: JON 3.3.0CC: hrupp, mfoley, mmahoney, rhq-maint
Target Milestone: ER04   
Target Release: JON 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1144514 Environment:
Last Closed: 2014-12-11 14:03:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1144514    
Bug Blocks: 873471    

Description Lukas Krejci 2014-09-19 15:58:08 UTC
+++ This bug was initially created as a clone of Bug #1144514 +++

Description of problem:
A property file that contains properties for replacement in deployed files can be included as a part of the bundle distribution zip itself.

If that is the case, the properties from that file weren't properly replaced in the templatized deployed files.

Version-Release number of selected component (if applicable):
4.13.0-SNAPSHO

How reproducible:
always

Steps to Reproduce:
1. try to deploy the attached bundle



Actual results:
The "deployed.file" contains tokens that correspond to the properties in the "in-bundle.properties" file that are not replaced with the corresponding values.

Expected results:
the "deployed.file" file should have the tokens replaced with the values of the properties from the in-bundle.properties file contained in the bundle zip file.

Additional info:

--- Additional comment from Lukas Krejci on 2014-09-19 11:57:39 EDT ---

in master:
commit db424208f58580cee5e5edc53485e4240f4afe2a
Author: Lukas Krejci <lkrejci>
Date:   Fri Sep 19 17:51:25 2014 +0200

    [BZ 1144514] No need to remove non-deployed property files from bundle
    temporary location before deployment.
    
    This was a remnant of an abandoned approach to the functionality that is
    not needed anymore.

Comment 2 Lukas Krejci 2014-09-19 21:11:44 UTC
release/jon3.3.x:

commit 2c056844ea22bc3aff1752c870aed9e8a098f2b5
Author: Lukas Krejci <lkrejci>
Date:   Fri Sep 19 17:51:25 2014 +0200

    [BZ 1144514] No need to remove non-deployed property files from bundle
    temporary location before deployment.
    
    This was a remnant of an abandoned approach to the functionality that is
    not needed anymore.
    
    (cherry picked from commit db424208f58580cee5e5edc53485e4240f4afe2a)

Comment 3 Simeon Pinder 2014-10-01 21:33:01 UTC
Moving to ON_QA as available for test with build:
https://brewweb.devel.redhat.com/buildinfo?buildID=388959