[CONTROLLER-1522] config-parent: Substitute properties in the default config file Created: 03/Jun/16  Updated: 14/Nov/16  Resolved: 14/Nov/16

Status: Resolved
Project: controller
Component/s: config
Affects Version/s: Beryllium
Fix Version/s: None

Type: Bug
Reporter: Vratko Polak Assignee: Vratko Polak
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Blocks
blocks INTDIST-37 need mechanism to get ODL version Resolved
External issue ID: 6003

 Description   

Currently, default-config.xml is packaged as is. As version bumping scripts only edit pom.xml files, so version strings in config files are not bumped. But for INTEGRAT-37 automated bumping is necessary.

This Boron Improvement would allow maven to perform "filtering", which means it would replace (strings that look like) references to maven properties with the property values. No config files (other than the distribution one for INTEGRAT-37) currently refer to properties.

The change in config-parent is fairly small, so it could be back-ported to Beryllium easily.



 Comments   
Comment by Vratko Polak [ 03/Jun/16 ]

https://git.opendaylight.org/gerrit/39427
It may take a while for the verify process to avoid all the environment issues.

Comment by Vratko Polak [ 03/Aug/16 ]

New Boron fix attempt (as the previous one was changing API and got -1 on review):
https://git.opendaylight.org/gerrit/#/c/39427/4

Neither Groovy script nor multiple Maven profiles work, so the fix introduces a new parent: config-filtering-parent (child of config-parent).

Comment by Vratko Polak [ 26/Sep/16 ]

Fixed on master (Carbon): https://git.opendaylight.org/gerrit/39427
Waiting for review on stable/boron: https://git.opendaylight.org/gerrit/44561

Comment by Vratko Polak [ 14/Nov/16 ]

> stable/boron

Merged.

Generated at Wed Feb 07 19:55:45 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.