BUG-2218: Keep existing link augmentations during discovery process

Change-Id: I8328078c79605d1c465afbdc2d7a55c6ddd8a16a
Signed-off-by: Leonid Bogdanov <lbogdanov@mirantis.com>
Bug 2273: Removed unbuilt third-party code.

Change-Id: I0158a970b3ae65e6a0c49c93d96ab71928b25dd0
Signed-off-by: Ed Warnicke <eaw@cisco.com>
Fix checkstyle warnings in netconf-api

Change-Id: I174ea168e5b264cd99c2faa9ab182859806ef12f
Signed-off-by: Marian Dubai <mdubai@cisco.com>
Fix raw references to Iterator

Adds type declarations to fix eclipse warnings.

Change-Id: I33c9303bda2d5dd42632de2ec191e294d496e09b
Signed-off-by: Robert Varga <rovarga@cisco.com>
Fix raw ServiceReferences and ServiceRegistrations

Adding a windcard is enough to reduce the number of eclipse warnings.

Change-Id: I060ce96e2eb4cc6c6ed0e2bf87daabacc33b2d3f
Signed-off-by: Robert Varga <rovarga@cisco.com>
Do not retain NetconfConnectModule reference

Anononymous classes retain a reference to the module, which means we
leak quite a bit of memory if the client is not shut down.

Change-Id: Ifeaeb383afe8ff5c899cee66ea861e30bdf2ae41
Signed-off-by: Robert Varga <rovarga@cisco.com>
Remove unneeded embedded dependency

yangtools:util already embeds the dependency with a different version,
causing a potential clash. Since sal-dom-broker is not a direct user,
this will work just fine.

Change-Id: If92555d6feb15c6ee9495fb789244750a48e9129
Signed-off-by: Robert Varga <rovarga@cisco.com>
Use ImmutableSet/Map in ServiceReferenceRegistry

Rather than wrapping collections in unmodifiable references, perform a
copy to obtain a properly-constant collection. These references are
usually retained for longer time, so opting for memory efficiency is
better than using sparse collections.

Change-Id: I708beaaa9abb13560297a7eb1369322220e87d5a
Signed-off-by: Robert Varga <rovarga@cisco.com>
Fix checkstyle warnings for config-persister-impl

Change-Id: Ife66b5fea7bb6d1fe293d6181d6da7221e296731
Signed-off-by: Marian Dubai <mdubai@cisco.com>
Merge changes Ife66b5fe,I174ea168

* changes:
  Fix checkstyle warnings for config-persister-impl
  Fix checkstyle warnings in netconf-api
Merge "Fix raw ServiceReferences and ServiceRegistrations"
Merge "Fix raw references to Iterator"
Merge "Use ImmutableSet/Map in ServiceReferenceRegistry"
Merge "Do not retain NetconfConnectModule reference"
Merge "Remove unneeded embedded dependency"
Merge "Bug 2273: Removed unbuilt third-party code."
Merge "BUG-2218: Keep existing link augmentations during discovery process"