Bug 1144514

Summary: [ant bundles] properties contained in property files contained inside a bundle distribution are not replaced in the deployed files
Product: [Other] RHQ Project Reporter: Lukas Krejci <lkrejci>
Component: ProvisioningAssignee: Nobody <nobody>
Status: ON_QA --- QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 4.13CC: hrupp
Target Milestone: ---   
Target Release: RHQ 4.13   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1144518 (view as bug list) Environment:
Last Closed: 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:    
Bug Blocks: 1144518    
Attachments:
Description Flags
reproducer-bundle.zip none

Description Lukas Krejci 2014-09-19 15:49:09 UTC
Created attachment 939388 [details]
reproducer-bundle.zip

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:

Comment 1 Lukas Krejci 2014-09-19 15:57:39 UTC
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.