summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-03-25Add env var for svclogic propsDan Timoney1-1/+10
Added system property serviceLogicProperties to specify location of svclogic.properties. If unset, check environment variable SVCLOGIC_PROPERTIES for the same. If both are unset, defaults to src/main/resources/svclogic.properties Change-Id: I8c31a58b69131b08c95a673e0071976f013f941a Issue-ID: CCSDK-2179 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-19Springboot integration with AAFDavid Stilwell5-4/+96
Changes made: pom.xml updates, App.java add Beans for realm and filterchain Issue-ID: CCSDK-2178 Change-Id: I29aa242ceff6a2f840b93a8d18ca5385190ca6d2 Signed-off-by: David Stilwell <stilwelld@att.com>
2020-03-18update sliapi-springbootSmokowski, Kevin (ks6305)5-47/+109
add base plugins to spring boot sli Issue-ID: CCSDK-2179 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I1e80e3a8b67ced5c2ff72c9569d6aac970c72ddf
2020-03-12Add data persistenceDan Timoney10-16/+388
Add code to persist MD-SAL data (test-results) Change-Id: I2c6d3e94e9e46ccbfad479c6d89507ec37939496 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-05update sliapi-springbootSmokowski, Kevin (ks6305)9-5/+365
add sample log4j2 config for spring boot sli api Issue-ID: CCSDK-2161 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: If24315ad6cad1061d1e65e080f4122605b05df47
2020-03-05Roll master to GuilinDan Timoney36-115/+93
Roll versions of master for early Guilin development Change-Id: I9ad7859eb294120542bce6faadb83b383e963fa7 Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-04Release 0.7.1 version of sli/coreDan Timoney1-0/+5
Release Frankfurt M4 version of sli/core Change-Id: Id3b0e3bf00287288a55fccb94ea841d8f7e80c3e Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-04Use released 1.5.2 CCSDK parentDan Timoney35-125/+137
Update to use released version of CCSDK parent pom Change-Id: I573d5c30a799c1bf828b195aa0dff1b85c9a44ad Issue-ID: CCSDK-2152 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-03-04update sliapi-springbootSmokowski, Kevin (ks6305)7-227/+269
organize sli api spring boot project Issue-ID: CCSDK-2154 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: Ic1690b8addf0134220b49a01d04e41eaeabf7bb6
2020-02-28Support merge JSON to SvcLogicContextDan Timoney6-47/+89
Add support for merging JSON into SvcLogicContext Change-Id: If13fd6328a36ccff6393d0829319bbd99cd2a1f0 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-02-28Adding missing parent relativePath and name tagSingal, Kapil (ks220y)2-2/+5
Change-Id: Id093df2ca432b91f7003196bdeceb928caf60010 Issue-ID: CCSDK-2128 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>
2020-02-27Fixed junit testingDan Timoney2-27/+12
Fixed junit testing (was incorrectly mocking the class to be tested) Change-Id: I275a6aca53b9a14fb151b020d1b7287f3e234417 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-02-27Add execute-graph and vlbcheck to swagger-codegen codeDan Timoney9-132/+387
Add implementation for execute-graph and vlbcheck RPCs. Also, added junit tests. Change-Id: Id2a31c033d25ef12c455bfee98c5aea8439fc2f9 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-02-26update sliapi-springbootSmokowski, Kevin (ks6305)4-280/+298
format source, use provider base and minor changes Issue-ID: CCSDK-2121 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I4066ce5e15b1fa298b6e3de6ed8d7d1794b12013
2020-02-24minor logging updatesSmokowski, Kevin (ks6305)5-22/+198
create error logger, integrate with record node and improve slf4jrecorder Issue-ID: CCSDK-2115 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I857ce0fac070278a195204195eaae0c53d2d0d52
2020-02-21Support updating JSON object string for sliPluginUtilsEnbo Wang3-0/+97
Issue-ID: CCSDK-2111 Signed-off-by: Enbo Wang <wangenbo@huawei.com> Change-Id: Ide6bb06a05fcbb3b88e73cc0fbec6fd46bd29033
2020-02-21Merge "Springboot-based SLI-API"Dan Timoney25-102/+707
2020-02-21Springboot-based SLI-APISmokowski, Kevin (ks6305)25-102/+707
Implement SLI-API RESTCONF in springboot Change-Id: I8b9b07e3b1aeb4a5adac977307c6f95c905ea038 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-02-19unit test for MdsalHelperSmokowski, Kevin (ks6305)1-0/+14
add testToLowerHyphen to MdsalHelper Issue-ID: CCSDK-2106 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I851c3887d61ec2ce520a7fa187a1b65dc3616e6c
2020-02-17Refactoring deprecated lang3.StringEscapeUtilsSingal, Kapil (ks220y)3-58/+62
Replace deprecated org.apache.commons.lang3.StringEscapeUtils with org.apache.commons.text.StringEscapeUtils Change-Id: Ib0303919d883a577effbb6fa15ddeb289cb936fc Issue-ID: CCSDK-2104 Signed-off-by: Singal, Kapil (ks220y) <ks220y@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)31-90/+225
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 Timoney36-71/+71
Roll CCSDK to next snapshot version Change-Id: I24f5470165522a4311c611785b323c1f81d41a8a Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-24Release CCSDK version 0.7.0Dan Timoney1-0/+5
Release version 0.7.0 of CCSDK maven artifacts. Change-Id: Iebe198f06a3f09c0743c3191939a891b15220f9e Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-23Use released parent pomDan Timoney35-35/+35
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-18enhance SliPluginUtilsSmokowski, Kevin (ks6305)12-141/+510
writeJsonToCtx now supports top level json arrays, add urlDecode to SliStringUtils, rename CheckParametersTest and move unrelated methods into another test class and Add test cases to improve test coverage Issue-ID: CCSDK-2006 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: If1f654ea9c7046b00c977434f87740e54f15b7d3
2019-12-13Refactor features to separate installerTimoney, Dan (dt5972)32-393/+85
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-10Generate dependency listTimoney, Dan (dt5972)2-2/+45
Generate list of direct dependencies for repository and publish to Nexus. Change-Id: Ibce710d925b127353a7ca502809514c286969350 Issue-ID: CCSDK-1986 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-12-04Clean up installersTimoney, Dan (dt5972)3-28/+4
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)47-47/+48
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-19Add id for KapilTimoney, Dan (dt5972)1-0/+5
Add Kapil's ATT id as committer Change-Id: I429f58b13c9e38e6522ce1b3733af1a7baa78321 Issue-ID: CCSDK-1934 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-18Merge "Minor Logging Changes"Dan Timoney3-58/+56
2019-11-15Fix merge buildTimoney, Dan (dt5972)1-0/+1
Added missing <version> tag to correct build error Change-Id: I5bb431f52a6e0336cf1e55675955c1a9894da9a6 Issue-ID: CCSDK-1935 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-15Add new committers Kevin and KapilTimoney, Dan (dt5972)1-0/+16
Add new committers Kevin Smokowski and Kapil Singal Change-Id: I2cd5cf5a50b9927dfd7c3e752fb90758aac66f31 Issue-ID: CCSDK-1934 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-13Use 1.5.0 parent pomTimoney, Dan (dt5972)47-47/+47
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-05minor updates to clean up codeAgarwal, Ruchira (ra1926)2-7/+21
clean up code to sync with internal Issue-ID: CCSDK-1873 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: I1043e3f34176aebf2531bf0581b207694264d6f2
2019-11-01SliProviderBaseUpdatesSmokowski, Kevin (ks6305)8-57/+234
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)2-2/+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-30Merge "remove EncShellCommand"Dan Timoney5-162/+0
2019-10-30Merge "remove ODL/karaf from common"Dan Timoney12-266/+27
2019-10-30remove EncShellCommandSmokowski, Kevin (ks6305)5-162/+0
remove EncShellCommand to separate dblib from karaf and odl Issue-ID: CCSDK-1848 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: If43abeceb556b4075d2866a18b8c9e92765e14a2
2019-10-30SliStringUtilsSmokowski, Kevin (ks6305)4-29/+153
additional functions in SliStringUtils added Issue-ID: CCSDK-1847 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I2e38258abe57d4fcd49cf226877cd38e9dd947d6
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 Kontris7-114/+54
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-27Removing Extra space from POMSingal, Kapil (ks220y)1-1/+1
SLI Filters Provider POM having space before XML Tag, which will cause issue in maven set:version goal Change-Id: Icbe00187ac9f6730f43d5359c16ce364b5627348 Issue-ID: CCSDK-1761 Signed-off-by: Singal, Kapil (ks220y) <ks220y@att.com>