aboutsummaryrefslogtreecommitdiffstats
path: root/sli/provider/src/main/java/org/onap/ccsdk/sli/core/sli/provider/MdsalHelper.java
AgeCommit message (Collapse)AuthorFilesLines
2020-04-13Add special handling for BGP RouteDistinguisherDan Timoney1-1/+15
Add special case code in MdsalHelper for BGP RouteDistinguisher class - a custom class implemented by OpenDaylight that does NOT follow the pattern of data object classes generated from Yang models by Yangtools Note: this depends on the following ccsdk/parent change to add OpenDaylight BGP dependencies to the dependencyManagement section of our parent poms: https://gerrit.onap.org/r/c/ccsdk/parent/+/105774 Change-Id: Ifebd03091d9ed9225e37c7242ecf7810abca1feb Issue-ID: CCSDK-2307 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-02-03MdsalHelper testing and logginghSmokowski, Kevin (ks6305)1-1/+2
make one log statement quieter and add unit tests for MdsalHelper Issue-ID: CCSDK-2071 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I7af1b2c0dce47c2d5970de4950c951c58fa4fb65
2020-01-16Fix issue of converting camel case to lower hyphen formatEnbo Wang1-2/+2
Fix issue of converting camel case to lower hyphen format when there are continuous capital letters. Issue-ID: CCSDK-2026 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: Ifd10b1e82c1f10476bbc6e15689e6025de57bbf4
2019-09-05logging changesSmokowski, Kevin (ks6305)1-7/+0
remove old logging statements, add a few helpful ones Issue-ID: CCSDK-1665 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2272f54b447647c8beab6d2053413c57e816eeac
2019-08-30remove useless log linesSmokowski, Kevin (ks6305)1-88/+5
delete excess log statements from sli core Issue-ID: CCSDK-1665 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Iccf1e5eec024b5d5ba0a63d4a6a9cc45c931ea8a
2019-06-25support yang enumerations with underscoresSmokowski, Kevin (ks6305)1-0/+3
underscores should be stripeed before Enum.valueOf is called Change-Id: Ie69e16dbf515b9fc8375bb9be2597198ccbd3c65 Issue-ID: CCSDK-1434 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-05-31Mdsalhelper toBuilder performance issueSmokowski, Kevin (ks6305)1-4/+5
Mdsalhelper toBuilder performance issue, no impact Change-Id: I2788352b0f25f970380f15653008026f8a12a233 Issue-ID: CCSDK-1374 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-05-17Make MdsalHelper.getFullPropertiesPath genericSmokowski, Kevin (ks6305)1-1/+2
Make MdsalHelper.getFullPropertiesPath generic and have a default for backwards compatibility Change-Id: I0d5006b895691d2f0fb2b71803324d58c8819956 Issue-ID: CCSDK-1342 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-01-10Code changes to sli/core for ODL FluorineTimoney, Dan (dt5972)1-12/+22
Code changes needed to support port to ODL Fluorine. Change-Id: I539aeaabeab1056cd109b6bee12046d91d61cab1 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-12-20fixed sonar issues in MdsalHelper.javaSandeep J1-10/+12
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I0b77ad983305da8b19fa6e3587da8ea3fe1bca95 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-18fixed sonar issues in MdsalHelper.javaSandeep J1-1252/+1255
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Ia9ae47fea8ea0964b052416a7f2330e7dab5c0d1 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-14fixed sonar issue in MdsalHelper.javaSandeep J1-9/+12
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Iba12983579e9c608ffd3c615f3d3450353724602 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-25mdsalhelper patchSmokowski, Kevin (ks6305)1-1308/+1222
fix mdsalhelper handling of certain types when calling to builder Change-Id: I01c1df75ad71426a891ea885ac3f7631d1b28c1b Issue-ID: CCSDK-626 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-08-01remove static boolSmokowski, Kevin (ks6305)1-10/+17
Don't use static boolean for legacy enumeration mapping, add additional parameter to the function Change-Id: I5d8963a208f3ffdd3af83216aa55f7d34ee39eb9 Issue-ID: CCSDK-396 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-07-25Merge "support legacy enumeration mapping"Dan Timoney1-4/+15
2018-07-25support legacy enumeration mappingSmokowski, Kevin (ks6305)1-4/+15
support legacy enumeration mapping in MdsalHelper Change-Id: I637f5dc368da75e24fb8cc3ebdebd002aae3f025 Issue-ID: CCSDK-396 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-07-25Fix sonar issuesParshad Patel1-5/+7
Fix sonar issues in ccsdk/sli/core Issue-ID: CCSDK-332 Change-Id: I2aee69cf410d8f9cb63f3a22aeb793a99e27d2c7 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-07-12Special handling for inet classesTimoney, Dan (dt5972)1-15/+51
Add special handling for inet POJOs (which have different form then POJOs generated from Yang by yangtools) in toList method. Change-Id: Ie25527e6aacbf683965d7f24018fe066c74fb917 Issue-ID: CCSDK-362 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-27Simplify enumeration handlingSmokowski, Kevin (ks6305)1-2/+7
Use getName() on the java object instead of relying on a mapping file created by yang2props Change-Id: Ie3405903af5211c019c93a9a0b49ba9159b0bbe2 Issue-ID: CCSDK-227 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-03-16Additional enum supportSmokowski, Kevin (ks6305)1-0/+3
support enumerations containing whitespace Change-Id: I91971a111e67e0faf757c954fb6658529e3020d2 Issue-ID: CCSDK-214 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-03-02Favor interfacesKevin Smokowski1-127/+127
Favor using interfaces over concrete implementations Change-Id: Ie7541eeefa69671cc7ed39fba37fdd2e24380770 Issue-ID: CCSDK-189 Signed-off-by: Kevin Smokowski <ks6305@att.com> Favor interfaces Favor using interfaces over concrete implementations Change-Id: Ie3b71833c0f31f67288430c25ca31ca07c0449e0 Issue-ID: CCSDK-189 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2017-12-18Support additional IETF typesDan Timoney1-101/+213
Support additional IETF types in MdsalHelper. Change-Id: I1d0b4ab28645435d1ef72bc30a053d796aea44c8 Issue-ID: CCSDK-155 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-27Refinements to coreGaurav Agrawal1-1/+1
Changes includes: 1. Simplifying the test cases. 2. Critical Sonar issue fix for MdsalHelper 3. Critical sonar issue fix for SvcLogicServiceImpl 4. Use logger in-built formatting. https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=CRITICAL Change-Id: Ib85637fcd2351970f8d96bf6b855db05cf7d9834 Issue-Id: CCSDK-67 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-20Fixes for MdsalHelper utilGaurav Agrawal1-1002/+1062
1. Convert tabs to 4 spaces. 2. Break lines to be less than 120 characters 3. Remove extraneous spaces and parenthesis 4. Fixed blocker/critical sonar issues. https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=BLOCKER%2CCRITICAL Change-Id: I8b40784ecb178409a6fe9a00d28ccd03873044c5 Issue-Id: CCSDK-67 Signed-off-by: Gaurav Agrawal <gaurav.agrawal@huawei.com>
2017-09-14Fix critical issuessurya-huawei1-16/+6
few critical/major issues in core/sli module Issue-Id: CCSDK-87 Change-Id: Ib7ef026ecb7fcf658ea8fc66ad5d9b739f02c55b Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-08-15Fix license headersDan Timoney1-1/+2
Licence headers were accidentally updated incorrectly by previous update. This commit restores the license headers for seed code to the wording from the original seed code Change-Id: Ie73bc836079be7eb1b310c472ee39b58ffeaa01c Issue-ID: CCSDK-31 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-01Refactor dblibDan Timoney1-0/+1185
Changed openecomp references in dblib, filters and sli to onap. Note: these must be committed together to get a clean compile. Issue: CCSDK-11 Change-Id: Ibe0f64fb20f3ae9cdda2f7ea969ca722bbde0d15 Signed-off-by: Dan Timoney <dtimoney@att.com>