aboutsummaryrefslogtreecommitdiffstats
path: root/sliapi
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-09-25Roll to 0.3.1-SNAPSHOTTimoney, Dan (dt5972)7-7/+7
Roll to next snapshot version Change-Id: I58ead1293d517f94bacca69407b22533840b0ee6 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-25Create release version0.3.0Timoney, Dan (dt5972)7-9/+56
Update sli/core to create release version Change-Id: I0680e7b4c8bc08f7954b7b87ffc701289acd7893 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-20Update swagger documentationTimoney, Dan (dt5972)1-26/+67
Re-generated converted swagger doc. Note: ideally, it would be good to generate this on the fly based on Yang model. However, ODL yangtools generates swagger 1.2, and readthedocs needs version 2. Currently we convert this using api-spec-converter tool and store converted version. Tried automating this conversion, which works fine in local compiles but does not work on ONAP Jenkins (tool is node.js based). Change-Id: Ic607bcdcc218489a45d616bb1d280675511a760d Issue-ID: CCSDK-476 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-08-15Update sli/core for Oxygen SR3Timoney, Dan (dt5972)1-8/+0
Removed version for yangtools dependency in sliapi so that it is controlled by parent pom to resolve issue caused in Oxygen SR3 upgrade due to hard-coded SR1 version. Also, updated name of utils features directory to match name of artifact (sdnc-slicore-utils renamed to ccsdk-slicore-utils). Change-Id: I32b3822e4ae0fdd4c07d5912e4674b19c8615d54 Issue-ID: CCSDK-453 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-22Add feature aggregatorTimoney, Dan (dt5972)2-3/+3
Add feature aggregator ccsdk-sli-core-all to install all sli-core features. Change-Id: I11174fc693a9275d712312145c03abb0d4f88b41 Issue-ID: CCSDK-280 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-15Update sli/core to ODL OxygenTimoney, Dan (dt5972)2-25/+14
Update sli/core artifacts to compile cleanly against ODL Oxygen version of CCSDK parent poms. Change-Id: I9f3b4c40b1ae62cdda1c35836466f8faf7da3b39 Issue-ID: CCSDK-280 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-06-06Roll versions for Casablanca - sli/coreTimoney, Dan (dt5972)7-14/+14
Update versions for Casablanca development Change-Id: I0b9d30707033706b35afcd016687fc86c8f2a83e Issue-ID: CCSDK-295 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Use version 1.0.4 of parentv0.2.42.0.0-ONAPbeijing2.0.0-ONAPTimoney, Dan (dt5972)7-7/+7
Use released version of parent pom Change-Id: Iaf783c89e2afc6e974ba4ea2b286f380a6b84fd8 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)7-14/+14
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I7dda7fc4a25756e129d75e0a79b4d82f5622144f Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-23Update to release version parent 1.0.3v0.2.3Stilwell, David (stilwelld)7-7/+7
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: Ie9680134a643c7cfec3fd774422d8c62637bdbc3 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-23Roll to the next snapshot and use new parent pomStilwell, David (stilwelld)7-14/+14
Updated version to 0.2.3-SNAPSHOT and 1.0.3-SNAPSHOT parent pom Change-Id: I2ac80137aa409d0d13b4bec12beb2b7e74bdfa40 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-17Update sli/core to use release 1.0.2 parentsTimoney, Dan (dt5972)7-7/+7
Updated pom.xmls to use released version of parent pom. Change-Id: Ib3d1c856691556cbd4c5f51852888f4bfc791a9f Issue-ID: CCSDK-286 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-29Roll versions step 2 : sli/core pomsTimoney, Dan (dt5972)7-14/+14
Roll to next version for next release candidate. Change-Id: I0a76316934afd79f4ecf3588453ed4d6e34fb615 Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-27Add unit tests for sliTimoney, Dan (dt5972)5-64/+327
Added unit tests for ccsdk/sli/core/sli Change-Id: I0d2408c43b9e56a78f3e01e87985aedb6cad5953 Issue-ID: CCSDK-213 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-20Register sliapi RPC implementationTimoney, Dan (dt5972)1-0/+2
When porting sliapi to use blueprints, neglected to update sliapiProvider to register itself as RPC implementor. Change-Id: I653ccf4db737e8745715d5e4b07352045c9c9c5e Issue-ID: CCSDK-217 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-02-15Fix install issuesDan Timoney2-7/+5
Fixed issues in installation scripts Change-Id: I4bd59ab16b55555ded8d9c2b0e8486d3df88fb44 Issue-ID: CCSDK-175 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-02-09Upgrade sli/core to NitrogenDan Timoney14-561/+203
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>
2017-12-19Enhance health checkDan Timoney2-5/+65
In HA environment, different types of health check are needed for load balancers (which care about state of each node in cluster) vs external applications (which case about state of entire cluster). So, separate APIs are needed for these 2 types of needs. Change-Id: I99cd21cef7a7e2b4b8c96c1f22c0d6210bb91e96 Issue-ID: CCSDK-157 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-11-20Bump minor versionJessica Wagantall5-6/+6
Bump minor version in preparation for Amsterdam branching. (part 2) Change-Id: Ib9f7cf7f98feb159ce1b136a3cd792820c99e659 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-08Roll version to 0.1.3-SNAPSHOTDan Timoney5-6/+6
Roll to next snapshot version to prepare for release cut Change-Id: I2a4c8395630b461314291bc8e0f83bf114a21f61 Issue-ID: CCSDK-141 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-11Add readthedocs info to sli/coreDan Timoney2-4/+523
Add additional information to sli/core readthedocs documentation. Change-Id: I9fe5e6185061ed6a05f373b6667f686e11d5f0aa Issue-ID: CCSDK-107 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-09-28SLI-API northbound add to docsBrian Freeman1-0/+1
Issue-ID: CCSDK-107 Change-Id: Ic4a41466288229140ae3cad79e650d14c7877cc9 Signed-off-by: Brian Freeman <bf1936@att.com>
2017-09-11Remove cast to DBResourceManagerDan Timoney5-6/+6
Remove cast to DBResourceManager, which no longer works after DbLibService is advertised via Aries Blueprint and which is no longer needed after DbLibService interface exposes getConnection() method. Updated version number - seems like an older 0.1.1-SNAPSHOT without DbLibService change is being used, so trying to see if bumping version will help. Change-Id: Ia411d1514bca396cc052f4f16eda6c79e0d13648 Issue-ID: CCSDK-86 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-31Add missing implementation codeDan Timoney2-0/+98
Due to an error in .gitignore, code that is initially generated from provider yang, but then customized was not submitted to gerrit. This in turn is causing the UnsupportedOperationException seen when sliapi installs in odlsli container. Change-Id: Iceec13b59e5e2bd6f0b868b548d300b76c7f7a38 Issue-ID: CCSDK-69 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-30Roll version to rule out staging issueDan Timoney5-6/+6
Behavior observed in the odlsli docker container suggests that it might be picking up an old build of 0.1.0-SNAPSHOT version of sli/core. We have observed this problem before due to issues with the Nexus staging plugin. This change bumps the version of sli/core to 0.1.1-SNAPSHOT and comments out the staging plugin from the sli/core pom.xml to make sure that the current build is picked up. There will be a corresponding change in ccsdk/distribution to change which version of sli/core is used in the odlsli container Change-Id: Ie3c2b4ff66191748df14240a69a7d461fc0d4639 Issue-ID: CCSDK-69 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-08-29Cleanup artifactId for ccsdk/sli/coreDan Timoney1-1/+1
ArtifactId for ccsdk/sli/core pom.xml should not be identical to that for sdnc/core, otherwise import to Eclipse of both will be confusing. Update parent tag in each module pom under ccsdk/sli/core to new artifactId Change-Id: Ia78a11dc4f82dfda8fd863167daa8e8f4951b6f5 Issue-ID: CCSDK-70 Signed-off-by: Dan Timoney <dtimoney@att.com>