summaryrefslogtreecommitdiffstats
path: root/sli
AgeCommit message (Collapse)AuthorFilesLines
2020-02-21Springboot-based SLI-APISmokowski, Kevin (ks6305)11-115/+28
Implement SLI-API RESTCONF in springboot Change-Id: I8b9b07e3b1aeb4a5adac977307c6f95c905ea038 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-02-03MdsalHelper testing and logginghSmokowski, Kevin (ks6305)2-316/+701
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-31minor sli provider base changesSmokowski, Kevin (ks6305)21-63/+199
add more unit testing, use constants for success/failure and improve some logging calls Issue-ID: CCSDK-2064 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2c7039c706de1172bd506a20e96eb987cc86f211
2020-01-24Roll versions to next snapshotDan Timoney7-14/+14
Roll CCSDK to next snapshot version Change-Id: I24f5470165522a4311c611785b323c1f81d41a8a Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-23Use released parent pomDan Timoney7-7/+7
Use released version of ccsdk/parent poms Change-Id: Ice9f18ee402e42f8e26c46640aeb0ae79343d105 Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-21Add report aggregatorDan Timoney2-5/+30
For new Sonar scanner, need to add report aggregate so that tests run in sli/provider against classes in sli/provider-base will be counted correctly. Change-Id: I0a73a0a50353f995ea4b90c09649e55b057f024a Issue-ID: CCSDK-2029 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-16Fix issue of converting camel case to lower hyphen formatEnbo Wang2-4/+4
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-12-13Refactor features to separate installerTimoney, Dan (dt5972)5-128/+0
Refactor karaf feature.xml files to separate installer Change-Id: I2afade9862227175853d9fe36c5bc9b113e3d582 Issue-ID: CCSDK-1754 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-12-04Clean up installersTimoney, Dan (dt5972)1-13/+1
Clean up installers to install only ONAP code, not third party dependencies. Third party dependencies should be installed in ccsdk/distribution/dependencies only. Change-Id: I3459d2d5a82899ad21b1b25daae6f6d182d972af Issue-ID: CCSDK-1979 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-12-02Use 1.5.1-SNAPSHOT version of parent pomTimoney, Dan (dt5972)10-10/+10
Fixed version of parent pom to use snapshot version Change-Id: I128d3b55d0ae3adb4a1255a9b00fc129a9c9bc44 Issue-ID: CCSDK-1935 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-18Merge "Minor Logging Changes"Dan Timoney3-58/+56
2019-11-13Use 1.5.0 parent pomTimoney, Dan (dt5972)10-10/+10
Use released 1.5.0 version of parent pom Change-Id: I92e2f71000a7d651f6a20167dd3861942ea27ced Issue-ID: CCSDK-1920 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-12Minor Logging ChangesSingal, Kapil (ks220y)3-58/+56
Change-Id: I3ecefccbd1bd5041b9d9b62fe1a0587e72b26c8a Issue-ID: CCSDK-1915 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-11-01SliProviderBaseUpdatesSmokowski, Kevin (ks6305)7-57/+229
SvcLogicServiceImplBase constructor should have SvcLogicResolver as a parameter,Added HashMapResolver to map svclogic instances without osgi,Added InMemorySvcLogicStore useful for simple demos or junit test Issue-ID: CCSDK-1891 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I3c3cdd33177ef10133db2672ddd4b308becefc90
2019-10-31pom updatesSmokowski, Kevin (ks6305)1-1/+0
inherit version for org.onap.logging-analytics artifacts Issue-ID: CCSDK-1882 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I9ab3e996f5f951dae8a00c9c7cf6fcd054905146
2019-10-30remove ODL/karaf from commonSmokowski, Kevin (ks6305)12-266/+27
Don't let sli common use odl or karaf classes Issue-ID: CCSDK-1723 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I740fa32b9c40a7efdf7ef9ce25b26cf43353c559
2019-10-23Merge "Update metric logger"Dan Timoney2-1/+8
2019-10-17Update metric loggerSmokowski, Kevin (ks6305)2-1/+8
set status during invoke and escape certain characters Issue-ID: CCSDK-1845 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I3928364f480545ccdcce0af67e198d93152cfbd8
2019-10-15Refactor class/instance loading and resolving in the SLI moduleSamuel Kontris6-112/+51
Code from the static class SvcLogicAdaptorFactory is moved to the SvcLogicClassResolver class. Class SvcLogicClassResolver is created as a bean in the blueprint xml file, not as singleton directly in the code. Then is injected via blueprint into the SvcLogicServiceImpl. Methods registerExecutor and unregisterExecutor from the SvcLogicServiceImpl class are removed - are not used anywhere. This change causes compilation error in the northbound repository. Fix for this error is here: https://gerrit.onap.org/r/#/c/ccsdk/sli/northbound/+/95053/ Issue-ID: CCSDK-1688 Change-Id: I26ce01b761ab5d17f1cc19e39af581b1963658a5 Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
2019-09-19Merge "update filters"Dan Timoney3-41/+33
2019-09-19update filtersSmokowski, Kevin (ks6305)3-41/+33
replace legacy filters with common filters Issue-ID: CCSDK-1698 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Id6b1f003f19105956d221d5bfd31390ac096c9bc
2019-09-18ReturnNodeExecutor Fixing Logger StatementSingal, Kapil (ks220y)1-1/+1
Adding third variable to the logger so that Expression prints properly Change-Id: I2e4a74ace199506698abede88778e6314b226e59 Issue-ID: CCSDK-1745 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2019-09-17Merge "prevent duplicate bundle startup"Dan Timoney1-7/+0
2019-09-10Roll version for Frankfurt releaseTimoney, Dan (dt5972)10-20/+20
Roll version in master branch to Frankfurt version (1.5.0-SNAPSHOT) Change-Id: Ic2b3afb65d780360a056d50a1cfd0b32555ae32a Issue-ID: CCSDK-1701 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-09-09prevent duplicate bundle startupSmokowski, Kevin (ks6305)1-7/+0
prevent duplicate bundle startup Issue-ID: CCSDK-1699 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I678845701a0bd2c1756d367fdf1bf3dbe02792d2
2019-09-05logging changesSmokowski, Kevin (ks6305)16-119/+49
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-09-04Merge "remove useless log lines"Dan Timoney8-175/+24
2019-09-04Merge "logging changes"Dan Timoney4-324/+53
2019-08-30remove useless log linesSmokowski, Kevin (ks6305)8-175/+24
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-08-29Revert "Proposal to remove OSGi dependencies from the CCSDK project"Timoney, Dan (dt5972)7-511/+0
This reverts commit 85041dd8795b84a48d0b48dd746bfbcb230c8794. This needs to be reverted due to insufficient testing (no jUnit tests provided) Change-Id: I011f3eb7ab27ba9946f04d4d528dd4d91b593685 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-28logging changesSmokowski, Kevin (ks6305)4-324/+53
Synchronize metric logger with casablanca logging spec Issue-ID: CCSDK-1658 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2d4e6af9eebdd0521792f03bbbaf25736b1b698e
2019-08-28Roll versionsTimoney, Dan (dt5972)11-22/+22
Roll versions in master branch Change-Id: I15535fec1da460f7227b855a4700e7b93aae93ea Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-16Proposal to remove OSGi dependencies from the CCSDK projectMatej Perina7-0/+511
Dependencies on the OSGi frameworks and libraries are removed by integrating the CCSDK project with the lighty.io. It's a toolkit that allows to use ODL services (in this case core services and the Restconf) without the dependency on the Karaf framework and the Blueprint DI. In this change are created the lighty.io modules which initialize and expose same services as the Blueprint DI in the blueprint.xml files. More info about the lighty.io - https://lighty.io Change-Id: I38171e83b018a18bfd8eaec95d4dc2fa2e3f5b36 Signed-off-by: Matej Perina <matej.perina@pantheon.tech> Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
2019-08-14Code changes for OpenDaylight NeonTimoney, Dan (dt5972)12-33/+70
Updated code for OpenDaylight Neon (using ccsdk/parent/tools/fluorine2neon.sh) Change-Id: Ic54b636f691cb2c9dd627dfc3b22b523c0f4f8da Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-09update metric logger name to be consistentSmokowski, Kevin (ks6305)11-21/+21
update metric logger name to be consistent with convention of the other loggers Issue-ID: CCSDK-1601 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I011745376a940822659eb1de5dcd04aea38b692f
2019-08-06Roll version to recreate release artifactsTimoney, Dan (dt5972)10-20/+20
Roll versions to 0.5.1 - need to re-release El Alto early release Change-Id: Id56175e77fe52596059aa072b8a64c35c1ccba06 Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-25Merge "Junit-SvcLogicParserException.java"Dan Timoney1-0/+34
2019-07-25Merge "JUNIT-ExitNodeException.java"Dan Timoney1-0/+27
2019-07-25Merge "JUNIT-ConfigurationException.java"Dan Timoney2-1/+31
2019-07-25Junit-SvcLogicParserException.javaanushadasari1-0/+34
JUNIT for file SvcLogicParserException.java Issue-ID: CCSDK-1525 Change-Id: I64cebc8a692b2c1700a7a28206c30d1ba4e66fc1 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-25JUNIT-ExitNodeException.javaanushadasari1-0/+27
Junit for file ExitNodeException.java Issue-ID: CCSDK-1524 Change-Id: If94b520053f47db083779dd38c7117a978bd6ae5 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-25Merge "JUNIT- DuplicateValueException.java"Dan Timoney1-0/+28
2019-07-25JUNIT-ConfigurationException.javaanushadasari2-1/+31
JUNIT for ConfigurationException.java Issue-ID: CCSDK-1520 Change-Id: I64e50083b9b0fe40fa0ba32723e30adb0dbce08e Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-25JUNIT- DuplicateValueException.javaanushadasari1-0/+28
JUNIT for file DuplicateValueException.java Issue-ID: CCSDK-1523 Change-Id: I08cb7cca1d02cfac5517ec603273b441b7311ff5 Signed-off-by: anushadasari <danush10@in.ibm.com>
2019-07-23Adding a test modelSmokowski, Kevin (ks6305)1-0/+210
This test model will be helpful in unit tests Change-Id: I62f7aa2ed6d1e1ba71c20700a4d29bdca204b4f0 Issue-ID: CCSDK-1521 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2019-07-17Update parent version to 1.3.1Timoney, Dan (dt5972)10-10/+10
Update parent poms to version 1.3.1-SNAPSHOT Change-Id: I822e73287adcf0edca3283264600a2cbcd4f53b6 Issue-ID: CCSDK-1496 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-10Change log level for parameter printTimoney, Dan (dt5972)1-1/+1
Change execute node so that values of parameters are only printed at TRACE level. Change-Id: I458e77819eef2f14a9e56db44544c3fd945a5a44 Issue-ID: CCSDK-1465 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-06-25Merge "support yang enumerations with underscores"Dan Timoney2-0/+4
2019-06-25support yang enumerations with underscoresSmokowski, Kevin (ks6305)2-0/+4
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-06-18Remove versions from project pomsTimoney, Dan (dt5972)3-6/+0
Remove versions from dependencies in project poms and rely instead on dependencyManagement in parent pom. Change-Id: I15a8b25281854dfc84e5dafab79ca522b5dc5c0a Issue-ID: CCSDK-1416 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>