[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 |
||
| 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": |
| Comments |
| Comment by Alexis de Talhouët [ 11/Nov/16 ] |
| 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. |