[CONTROLLER-2066] Do not use BindingReflections Created: 13/Dec/22 Updated: 22/Jan/24 |
|
| Status: | Confirmed |
| Project: | controller |
| Component/s: | blueprint |
| Affects Version/s: | None |
| Fix Version/s: | 9.0.1 |
| Type: | Task | Priority: | Medium |
| Reporter: | Robert Varga | Assignee: | Unassigned |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | pt | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||
| Epic Link: | AOT friendliness | ||||||||||||
| Description |
|
We have following uses of BindingReflections: opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/BindingContext.java:85: bindingQName = BindingReflections.findQName(appConfigBindingClass); opendaylight/blueprint/src/main/java/org/opendaylight/controller/blueprint/ext/RpcUtil.java:34: final var moduleName = BindingReflections.getQNameModule(service); We want to ditch BindingReflections completely, hence these calls should be migrated to use mdsal-binding-dom-codec – which might need a small update to cater to the queries being made by blueprint. |