aboutsummaryrefslogtreecommitdiffstats
path: root/sli/provider/src/main/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2018-12-03refactor sli-providerSmokowski, Kevin (ks6305)29-2986/+82
split sli-provider into sli-provider and sli-provider-base Change-Id: I7b7edb767c04c9a6caf72a9172f49518655e33b7 Issue-ID: CCSDK-778 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-11-30Fixed Sonar issue in DeleteNodeExecutor.javaezhil1-3/+4
Replaced litrals with constant Issue-ID: CCSDK-776 Change-Id: I58c02ec0ee78e9e4b852aa11266dc720fffbd172 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-28Merge "Add DG name to debug"Dan Timoney1-2/+2
2018-11-28Merge "Fixed Sonar issue in SvcLogicServiceImpl"Dan Timoney1-8/+6
2018-11-28Add DG name to debugBrandon, Bruce (bb2697)1-2/+2
Add DG name to debug line giving node ID execution Change-Id: I95ef74982694ab53068339cce88ec3ea8ccf2258 Issue-ID: SDNC-538 Signed-off-by: Brandon, Bruce (bb2697) <bb2697@att.com>
2018-11-27Fixed Sonar issue in SvcLogicServiceImplezhil1-8/+6
Removed unused imports and duplicate literals Issue-ID: CCSDK-754 Change-Id: I797475aec7519928f3676af189a45790a9b84a29 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-27Sonar fix in SvcLogicNodeExecutorezhil1-4/+0
Remove unused imports Issue-ID: CCSDK-753 Change-Id: I790c095924d35f2be6fcb92c8fcfbbb43464b9c5 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-11-09Fix node id / type in log entry0.3.2Timoney, Dan (dt5972)1-2/+4
Node id and type in log entries are not correct for nodes within a block, for example. Change-Id: I4023de08215ba6de5bfdd2a561048d9fe84201e5 Issue-ID: CCSDK-657 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-01SetNode patchSmokowski, Kevin (ks6305)1-14/+15
Support nested array removal with setnode Change-Id: Ie70ef2ff7b84d35c9352c7597aef0f636128439b Issue-ID: CCSDK-643 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.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-10-05Merge "callnode handling updates"Dan Timoney2-26/+18
2018-10-05callnode handling updatesSmokowski, Kevin (ks6305)2-26/+18
throw an exception if graph isnt found when executing a call node Change-Id: I10158cbcd5ba5787e710bfb6161e7e04cbf46577 Issue-ID: CCSDK-609 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-10-04implement exit nodeSmokowski, Kevin (ks6305)2-10/+77
exit node functions similar to a return statement in most programming languages Change-Id: I2991590fb700b03a9f3d72ae0bc7b5dd9bb25f74 Issue-ID: CCSDK-611 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-10-04throw an exception if an executor is missingSmokowski, Kevin (ks6305)1-22/+2
If trying to execute a node of a type which has no registered executor throw an exception instead of continuing to execute Change-Id: Ic0a785e97ad85eb886f822e87a78347d9ea6563a Issue-ID: CCSDK-610 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2018-09-04Restore registering break nodeSmokowski, Kevin (ks6305)1-1/+1
Restore registering break node, it was removed by accident Change-Id: Ifd7fa68fae39c83e397105d84435be91cebada35 Issue-ID: CCSDK-513 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@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 Patel2-6/+8
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-06-12Reset root array length when using setnodeSmokowski, Kevin (ks6305)1-0/+5
Reset root array length when using setnode shortcut to support backwards compatibility Change-Id: I0a51e396a9c75a632759cefd82ef4c6c6ca3a384 Issue-ID: CCSDK-302 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-05-03SetNodeExecutor nulling feature enhancementSmokowski, Kevin (ks6305)1-2/+9
Add special handling for clear a single array element or an entire array Change-Id: Ica73e2af32f4a566219e1487504753276bc98aa2 Issue-ID: CCSDK-265 Signed-off-by: Smokowski, Kevin (ks6305) <ks6305@att.com>
2018-04-10URGENT : Add node executorsTimoney, Dan (dt5972)1-39/+32
Need to register node executors on SvcServiceImpl start up. This was broken inadvertantly during move to Aries blueprint. NOTE : This is a sev 1 fix for APP-C. Please review and merge ASAP. Change-Id: Ic4ff7c91f2b46ed81fd78a35bf8ea9d37c098c68 Issue-ID: CCSDK-236 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-16Add test cases for sliTimoney, Dan (dt5972)3-71/+64
Added test cases for sli in sli/core Change-Id: Ic8614f199ae843a46ec3441f0ae247f065b33322 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-02fix setnode null featureKevin Smokowski1-149/+118
short prefixes could cause bad behavior in the setnode null feature Change-Id: I3876eaece8b8d695b0a98d8b5d69f955f2149402 Issue-ID: CCSDK-190 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-03-02Favor interfacesKevin Smokowski26-385/+399
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>
2018-02-09Reset MDC after invoking nodeKevin Smokowski12-761/+450
collapse get node into a common metho, reset MDC right before getting next node for certain executor Change-Id: I85b1cf0dfd595deee42dc93f4095ecbc6c831998 Issue-ID: CCSDK-187 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2018-02-09Upgrade sli/core to NitrogenDan Timoney5-218/+265
Use Apache derby for dblib SingleFeatureTest Change-Id: I6b41f7ede1a98b33824fceea9100e75c1ce8dda4 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com> Generalization of CCSDK core/utils framework Changes made: * Created generalized version of core/utils/dblib as core/utils/common * Deprecated core/utils/dblib package Change-Id: I0992c43910278fbe254674d1e39d7e4fcad0a592 Issue-ID: CCSDK-168 Signed-off-by: Rich Tabedzki <richard.tabedzki@att.com> Use Apache derby for dblib test Use Apache derby for dblib SingleFeatureTest Change-Id: Ie497557f162e203fa5c5c82c17ddc55ba0c11b38 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-09CallNodeExecutor patchKevin Smokowski1-13/+10
Merging an old change that prevents a nullpointerexception when calledgraph is null Change-Id: I936afec383fcf4ba98e1d9d0a00c0d1e492766ca Issue-ID: CCSDK-185 Signed-off-by: Kevin Smokowski <ks6305@att.com>
2017-12-18Support additional IETF typesDan Timoney3-102/+222
Support additional IETF types in MdsalHelper. Change-Id: I1d0b4ab28645435d1ef72bc30a053d796aea44c8 Issue-ID: CCSDK-155 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-12-05SLI parser improvementsDan Timoney1-33/+0
Update SLI parser to remove validation based on NODE_TYPE table, which is no longer needed (was introduced prior to use of XSD schema validation). Also, use checksums to avoid needless recompilation if version being loaded already exists in database. Change-Id: Idfcba94de8fb71b17d5e0c5e69e04dee266988b1 Issue-ID: CCSDK-152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-27Refinements to coreGaurav Agrawal2-46/+20
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-25Fixes for SvcLogicActivatorGaurav Agrawal1-150/+141
1. Convert tabs to 4 spaces. 2. Break lines to be less than 120 characters 3. Remove extraneous spaces/parenthesis & redundant assignments. 4. Use logger built-in string format. 5. Fix critical sonar issues. https://sonar.onap.org/component_issues/index?id=org.onap.ccsdk.sli.core%3Accsdk-sli-core#resolved=false|severities=CRITICAL Change-Id: Idb348f125e92f0e9be30847c41b385411220fd96 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-19Remove mysql dependencies in sli/coreDan Timoney1-24/+22
Remove lingering mysql dependencies in sli/core, which prevented odlsli container from starting up clean. Note: tested this using bareodl container and verified that these changes install clean AFTER changing incorrect driver property name in dblib.properties. This patch is fine, but a second patch to ccsdk/distribution is needed to fix that property file. Change-Id: I6a900d1c29998867bfbae29d5e113c4e392a8bb9 Issue-ID: CCSDK-95 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-15Merge "Log current DG & NodeId using MDC"Dan Timoney1-216/+221
2017-09-14Log current DG & NodeId using MDCMarcus G K Williams1-216/+221
Uses MDC.put to add current directed graph and current nodeId to MDC context which is then logged into the standard karaf log. Issue-Id: CCSDK-71 Change-Id: Ieeeea6a89761cdf0ee7a3e63f4e58e182f37ff28 Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2017-09-14Merge "Fix critical issues"Dan Timoney1-16/+6
2017-09-14Clean up public interfacesRyan Goulding1-41/+41
The Java programming language assigns certain defaults for methods and constants defined in interfaces. This change removes the unnecessary redundant modifiers appropriately. For example: * interface methods are public by default * interface constants are public by default * interface methods are abstract unless "default" is specifically used (as of JDK8+). This is really just to get rid of annoying warnings present in IDE(s). Issue-Id: SDNC-79 Change-Id: I2e6b3e4fa02bad1beee2cbb49d3766722eff1ba0 Signed-off-by: Ryan Goulding <ryandgoulding@gmail.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 Timoney27-27/+54
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-11Compile against CarbonDan Timoney1-2/+2
Update sli/core to compile against OpenDaylight Carbon SR1 Change-Id: Ibb4a3a4cfa64f0539b520f56f11d7bf1fce62357 Issue-ID: CCSDK-23 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-11Remove remaining references to openecompDan Timoney1-12/+12
Remove remaining references to openecomp from properties and sample files Change-Id: I985bae5e80ae130ffb512c9574f13172252bf6f8 Issue-ID: CCSDK-11 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-01Refactor dblibDan Timoney27-0/+4895
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>