[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 |
||
| Issue Links: |
|
||||||||
| 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 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 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 |
| Comment by Vratko Polak [ 03/Aug/16 ] |
|
New Boron fix attempt (as the previous one was changing API and got -1 on review): 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 |
| Comment by Vratko Polak [ 14/Nov/16 ] |
|
> stable/boron Merged. |