Separate out schemaless mountpoints (NETCONF-669)

[NETCONF-912] Remove generics from sal.connect.api Created: 11/Nov/22  Updated: 05/Dec/22  Resolved: 05/Dec/22

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: 5.0.0

Type: Sub-task Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

We have a ton of generics in these APIs, coming from the time when we have had multiple specializations, perhaps (but I will not dig into long-past history).

The core point is:

We support only NETCONF and therefore we should specialize for that.

At some point netconf.git hosts both NETCONF and RESTCONF, so we should have a common API for both, but RESTCONF also has different lifecycle. Once we get around to servicing both protocols:

  • the API may become slightly different
  • they definitely live a different Java package
  • they may even live in mdsal.git

So let's stop play-pretend and specialize the generics to their only user – which means PREF means NetconfSessionPreferences, M means NetconfMessage, etc.

 

 


Generated at Wed Feb 07 20:16:13 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.