PortMapping Refactoring step 2 82/97682/4
authorguillaume.lambert <guillaume.lambert@orange.com>
Wed, 29 Sep 2021 08:57:03 +0000 (10:57 +0200)
committerGuillaume Lambert <guillaume.lambert@orange.com>
Thu, 30 Sep 2021 14:21:46 +0000 (14:21 +0000)
commit182376521d1e85e82b633f541e5166d9c3a974f8
tree5ede0bb0bf0e249e56c1029715fb8dbea6535131
parent9d8ca4c07245ca21921b6c5f1330394cb08a48eb
PortMapping Refactoring step 2

This refactoring intends to optimize some parts of the code
and to fix sonar issues about cyclomatic complexity.
It introduces intermediate functions, sometimes by reevaluating log
levels and messages content.

JIRA: TRNSPRTPCE-355 TRNSPRTPCE-356
Signed-off-by: guillaume.lambert <guillaume.lambert@orange.com>
Change-Id: I625598fd935c296f59c9ad42966d5353c21a59d8
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingUtils.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion121.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion221.java
common/src/main/java/org/opendaylight/transportpce/common/mapping/PortMappingVersion710.java