aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2020-11-25Release ccsdk/sli/core1.1.0jenkins-releng36-72/+72
2020-11-17Fix NPE in toJsonString()Dan Timoney1-1/+5
Fixed SvcLogicContext.toJsonString() to return the empty string () if it cannot find the requested prefix in the service logic context. Change-Id: I5e36864f961b36b6c82a3db8d20483df6686ed15 Issue-ID: CCSDK-2990 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-11-10Handle properties file reference outside OSGiDan Timoney2-25/+33
Update properties file resolves for OSGi to handle ClassNotFoundError exception correctly. Change-Id: I511213e447d07576c9a44654956b207174ed6638 Issue-ID: CCSDK-2976 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-21Fix pattern validationDan Timoney2-4/+4
Pattern validation incorrectly disallows period as part of file name Change-Id: I3b3692093e16c41c312b326246a5dee83f674ee0 Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-19Add file path validationDan Timoney7-4/+8
Add file path validation for EnvVarFileResolver. Refactored PathValidator to org.onap.ccsdk.sli.core.utils so it can be used here. Change-Id: Ibb50df0ad020cf376c1ce20e7b598f7ad7223d48 Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-10-16Add code to validate path names.Dan Timoney5-7/+40
Added code to validate path names to avoid possible attacks due to hidden/special characters and/or embedded new lines. Change-Id: I53d7266e44fbada1d9d5f458dfcdbc452801672c Issue-ID: CCSDK-2918 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-09Roll to initial Honolulu release versionDan Timoney39-106/+106
Roll master branch to initial Honolulu release version Change-Id: I5abee4ba661e665251e7d03e7705096ff9103b5d Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-09Merge "Release M4 version of sli/core"Dan Timoney1-0/+5
2020-09-09Release M4 version of sli/coreDan Timoney1-0/+5
Release M4 version (1.0.1) of sli/core Change-Id: I3c2c839bfc88b3795eebdfb97396ab3b53eb9698 Issue-ID: CCSDK-2742 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-03Update lifecycle stateDan Timoney1-1/+1
Update lifecycle state to Mature Change-Id: I98504f658e58d10185b3c781b77bec1176ec1831 Issue-ID: CCSDK-2660 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-09-02secure printer changesSmokowski, Kevin (ks6305)1-9/+41
add method to print properties alphabetically Issue-ID: CCSDK-2721 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I3bcb46a1f45dc74a2bc97acff08fa8c2c29d0ba7
2020-08-31Add jaxb implementation dependenciesDan Timoney3-43/+51
Add JAXB implementation dependencies (needed for Java 11). Issue-ID: CCSDK-2710 Signed-off-by: Dan Timoney <dtimoney@att.com> Change-Id: I27b5c50425aa9c2091486e087542de16cb254e0c
2020-08-19fix for J11Michael Dürre1-8/+12
add missing dependency in J11 Issue-ID: CCSDK-2669 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: Iea66c3658e3d7e847bdb996567402c66ab2ab9a3
2020-08-11add new print methodsKevin Smokowski4-1/+133
create filtered print method for svclogic context Issue-ID: CCSDK-2643 Change-Id: I59261b1e581130d0fbe7d6735f96ee4c6e90ae75 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com>
2020-08-07Roll to next snapshotDan Timoney39-93/+92
Roll to snapshot version 1.0.1-SNAPSHOT Change-Id: Ifd7092ac65b40311336f1e696d2198576c5fba85 Issue-ID: CCSDK-2635 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-08-06Release version 1.0.0 of ccsdk/sli/coreDan Timoney1-0/+5
Release initial Guilin version of ccsdk/sli/core Change-Id: Ia7cb35209964905348529730e4f8ec870459afec Issue-ID: CCSDK-2635 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-07-10upgrade core to sodiumMichael Dürre1-1/+2
fixed unit test due changes in sodium Issue-ID: CCSDK-2543 Signed-off-by: Michael Dürre <michael.duerre@highstreet-technologies.com> Change-Id: I65b725686b480554cec974c05a6b2814901d1d5e
2020-06-19Implement new method to convert SvcLogicContext to JSONDan Timoney15-282/+906
Added new method toJsonString() to SvcLogicContext class to write out service logic context properties as a JSON string Refactored static method SliPluginUtils.writeJsonToCtx to SvcLogicContext.mergeJson method Change-Id: I4fe134976f93c7d116bc54ad2bae6e486c6fac2c Issue-ID: CCSDK-1760 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-18Merge "Add sliapi-model-yang to sliapi installer"Dan Timoney2-152/+156
2020-06-18Add sliapi-model-yang to sliapi installerDan Timoney2-152/+156
Add sliapi-model-yang as dependency to installer so that jar will be included in distribution bundle. Change-Id: I6b20e8bb13fb786c92a73d4149125a8e7082570a Issue-ID: CCSDK-2453 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-06-17MetricLogger MDC changesSmokowski, Kevin (ks6305)2-15/+51
Generate RequestID if not previously set. Generate a unique InvocationID for each request. Issue-ID: CCSDK-2455 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I3bd8f90efbf98b4bf2a6464d94682bcd80cdd948
2020-06-04Refactor sliapi springbootDan Timoney40-1930/+890
Move springboot implementation of sliapi from sli/core to apps repository. Change-Id: I6e1dfdc39704935ba7e46d047149071defc101a6 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-04-27metric logger changeSmokowski, Kevin (ks6305)3-15/+52
fix elapsed time in metric logger Issue-ID: CCSDK-2337 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I81c27bbead8614e2927aa9eddef3621559eb7cc0
2020-04-24Merge "Add special handling for BGP RouteDistinguisher"Dan Timoney2-2/+24
2020-04-13Add special handling for BGP RouteDistinguisherDan Timoney2-2/+24
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-04-09set auth perm for AAF RealmAgarwal, Ruchira (ra1926)1-1/+7
set spring SLI container shiro filter perms for authorization Issue-ID: CCSDK-2304 Signed-off-by: Agarwal, Ruchira (ra1926) <ra1926@att.com> Change-Id: Ib99223ba1921f656a0e64f62745271bc6aa0bdf7
2020-04-01SliPluginUtils jsonStringToCtx fixSmokowski, Kevin (ks6305)5-7/+15
Support null values in jsonStringToCtx in Slipluginutils Issue-ID: CCSDK-2250 Signed-off-by: Smokowski, Kevin (ks6305) <kevin.smokowski@att.com> Change-Id: I3316fa9e80c9e684fc27d83356bbfad9b1151992
2020-04-01Added code for decoding base64 encoded valueRahul_cool2-0/+41
Issue-ID: SDNC-899 Signed-off-by: Rahul_cool <rahul.tamrkar@huawei.com> Change-Id: I231f891118dabf59518bcf4dbe456df97cd3e5b2
2020-03-26Use MariaDB instead of DerbyDan Timoney17-49/+336
Use MariaDB instead of Derby as backing store for sliboot Change-Id: Ib9fa4abaaf88bcb1eac2276bc974474f067a06d3 Issue-ID: CCSDK-2188 Signed-off-by: Dan Timoney <dtimoney@att.com>
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