[CONTROLLER-1564] cm:property-placeholder update-strategy not honored Created: 11/Nov/16  Updated: 25/Jul/23  Resolved: 14/Nov/16

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

Type: Bug
Reporter: Alexis de Talhouët Assignee: Unassigned
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 7155

 Description   

Blueprint ComponentProcessor.java should honor the update-strategy property of cm:property-placeholder and not ignore it.

If update-strategy is "none":
Expected behavior: do not reload the blueprint container when the .cfg file is modified
Actual behavior: the blueprint container is reloaded as this property is ignored.



 Comments   
Comment by Alexis de Talhouët [ 11/Nov/16 ]

https://git.opendaylight.org/gerrit/#/c/48263/

Comment by Alexis de Talhouët [ 14/Nov/16 ]

See https://wiki.opendaylight.org/view/Using_Blueprint#Using_property-placeholder, specifically "It is recommended to use restart-dependents-on-updates in lieu of the reload update-strategy". So it is intended for update-strategy to be set to none if restart-dependents-on-updates is set. restart-dependents-on-updates is set on the blueprint element b/c we can't extend property-placeholder. We also can't extend the update-strategy enum.

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