summaryrefslogtreecommitdiffstats
path: root/sliapi
AgeCommit message (Collapse)AuthorFilesLines
2020-08-06Release ccsdk/sli/core1.0.0jenkins-releng6-12/+12
2020-06-18Add sliapi-model-yang to sliapi installerDan Timoney1-152/+155
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-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-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-03-26Use MariaDB instead of DerbyDan Timoney15-48/+334
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 Timoney5-14/+13
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-04Use released 1.5.2 CCSDK parentDan Timoney5-95/+107
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 Timoney2-40/+18
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)1-1/+2
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 Timoney8-131/+386
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-21Springboot-based SLI-APISmokowski, Kevin (ks6305)12-0/+686
Implement SLI-API RESTCONF in springboot Change-Id: I8b9b07e3b1aeb4a5adac977307c6f95c905ea038 Issue-ID: CCSDK-2096 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-24Roll versions to next snapshotDan Timoney4-8/+8
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 Timoney4-4/+4
Use released version of ccsdk/parent poms Change-Id: Ice9f18ee402e42f8e26c46640aeb0ae79343d105 Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2019-12-13Refactor features to separate installerTimoney, Dan (dt5972)4-90/+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-02Use 1.5.1-SNAPSHOT version of parent pomTimoney, Dan (dt5972)7-7/+7
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-13Use 1.5.0 parent pomTimoney, Dan (dt5972)7-7/+7
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-10-15Refactor class/instance loading and resolving in the SLI moduleSamuel Kontris1-2/+3
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-10Roll version for Frankfurt releaseTimoney, Dan (dt5972)7-14/+14
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-08-29Revert "Proposal to remove OSGi dependencies from the CCSDK project"Timoney, Dan (dt5972)4-719/+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-28Roll versionsTimoney, Dan (dt5972)8-16/+16
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 Perina4-0/+719
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-36/+61
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)7-14/+14
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)7-14/+14
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-17Update parent version to 1.3.1Timoney, Dan (dt5972)7-7/+7
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-04-30Roll master to El AltoTimoney, Dan (dt5972)7-14/+14
Roll master version to El Alto versions Change-Id: If761a69b069ab05a6aa598cd583ac4275665e425 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-24Update to use released 1.2.2 parent0.4.2Timoney, Dan (dt5972)7-7/+7
Update to use released 1.2.2 version of parent poms. Change-Id: I2edaa726e871ec3ad3bf1aa1cc3d592c79ca6c92 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-19Compile against Fluorine SR2Timoney, Dan (dt5972)7-14/+14
Compile against ODL Fluorine SR2 Change-Id: I9554aaa76d76f7ba7efb961e5ee1cbbb2b1768d5 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-14Prepare for release 0.4.10.4.1Timoney, Dan (dt5972)7-7/+7
Prepare to create release version 0.4.1 by using released version of parent pom Change-Id: If211c26cdbb7caa9033b511a9719851f9edcfcdc Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-05Add junit test casesTimoney, Dan (dt5972)2-1/+54
Add junit test cases for sli/core repository. Change-Id: Ifcec596cf9f835249a7967c9c7830253b53d2ef6 Issue-ID: CCSDK-1128 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-13Restore default vlbcheck RPCTimoney, Dan (dt5972)1-275/+278
Restore default implementation of vlbcheck in case where no DG exists. Change-Id: I6371e8e26e14e66bf252ee8d1f08d18101b290f5 Issue-ID: CCSDK-1064 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-05Add dummy inputTimoney, Dan (dt5972)1-0/+13
Fluorine version of restconf does not handle RPCs with no input correctly. So, need to work around that by defining dummy input for SLI-API vlbcheck and healthcheck APIs Change-Id: I6a78a899937e1bb9bd7674530166a493875ca3bf Issue-ID: CCSDK-1035 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-10Code changes to sli/core for ODL FluorineTimoney, Dan (dt5972)11-232/+176
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>
2019-01-08Prepare for release buildTimoney, Dan (dt5972)7-80/+95
Prepare for release of early ODL-Oxygen based CCSDK Dublin Change-Id: Ia1fb4b7211619be726857b0333c1f75985ff1a64 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-12-21fixed sonar issues in sliapiProvider.javaSandeep J1-1/+1
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: I4f2c19ea603782730866772687f338757e72612e Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-19fixed sonar issues in sliapiProvider.javaSandeep J1-4/+4
fixed sonar issues Issue-ID: CCSDK-525 Change-Id: Ia021b4b3d46251e5316e72cabae75a38cb0b00bc Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-12-03refactor sli-providerSmokowski, Kevin (ks6305)2-21/+26
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-10-22Roll to first Dublin snapshotTimoney, Dan (dt5972)7-14/+14
Roll to first Dublin snapshot Change-Id: I7066b4c4359f6c700c2b8036fd67a1a3bd66cf1e Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-10Prepare sli/core for RC0 release3.0.0-ONAP0.3.1Timoney, Dan (dt5972)7-7/+7
Remove -STAGING tag and update parent poms to correct release version (1.1.1) Change-Id: I16d4a5c07fe6e3e2bf997fff417242aa6184f89e Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-04Merge "added test case to TestSlipapiprovider"Dan Timoney1-10/+15
2018-10-02added test case to TestSlipapiproviderSandeep J1-10/+15
to increase code coverage Issue-ID: CCSDK-595 Change-Id: If835e05bfd08db9c60ae15e924a9750c78d67763 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-10-02added tes file to cover SliapiHelperSandeep J1-0/+35
to incrase code coverage Issue-ID: CCSDK-595 Change-Id: I5c15bb14e8d101873e70dcd057e2e8fc7bead344 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>