summaryrefslogtreecommitdiffstats
path: root/ueb-listener
AgeCommit message (Collapse)AuthorFilesLines
2020-01-24Roll versions to next snapshotDan Timoney1-2/+2
Roll CCSDK to next snapshot version Change-Id: I4441d1d1e2ead1912281109dcf7fbb4961198b36 Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2020-01-23Use released parent pomDan Timoney1-1/+1
Use released version of ccsdk/parent poms Change-Id: If15e626db13cf5a0194a3643fb9174a2b9dc88f7 Issue-ID: CCSDK-1963 Signed-off-by: Dan Timoney <dtimoney@att.com>
2019-12-02Use 1.5.1-SNAPSHOT version of parent pomTimoney, Dan (dt5972)1-1/+1
Fixed version of parent pom to use snapshot version Change-Id: Id028def6885e2452c1f1f304d0da62a14e324337 Issue-ID: CCSDK-1935 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-19Fix versions of sli core dependenciesTimoney, Dan (dt5972)1-1/+1
Fix to override ccsdk sli core version from parent pom with current version Change-Id: Ibde08052ea5fe974e3e864fba5578443cdc1bd0f Issue-ID: CCSDK-1944 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-13Use 1.5.0 parent pomTimoney, Dan (dt5972)1-2/+5
Use released 1.5.0 version of parent pom Change-Id: I44ccdbd0f064ddbdb3caaf508fc4c164a26afe9a Issue-ID: CCSDK-1920 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-11-07UEB Listener Final cleanup of deprecated sdc-tosca parser APIslalena.aria13-164/+136
Changes made: Replace references to all deprecated sdc-tosca parser APIs and replace with Entity-based equivalent. Changes are primarily in SdncBaseModel and junit test files. Issue-ID: CCSDK-1880 Change-Id: I5d7f12cdbebcfcb7d2487b6474cd7eb92eb32b9b Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-10-22UEB Listener SdncBaseModel add extractValue for CapabilityAssignmentlalena.aria2-1/+18
Changes made: Add UEB Listener SdncBaseModel add extractValue for extracting properties on CapabilityAssignment objects. Issue-ID: CCSDK-1820 Change-Id: I10bbced5e9279bc8ef2bf48a87b2e2de0cb74942 Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-09-17Migrate SdncVFModel to getEntitylalena.aria3-64/+70
Changes made: Replace deprecated APIs with getEntity for processing VF nodes in a model. Replace nodeTemplate with entityDetails in SdncVFModel. Corresponding changes in SdncVFModelTest. Issue-ID: CCSDK-1425 Change-Id: I2175af818c80f4526e0a57a196d03c9fba73bdbf Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-09-11Roll versions for Frankfurt developmentTimoney, Dan (dt5972)1-2/+2
Roll master version for Frankfurt development Change-Id: I78f77bff5b9b85076cfa85fee883ca9769f71ffc 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)1-1/+1
This reverts commit 7b76725b56304435b01c5b97c3424da0605119ee. This must be reverted due to lack of jUnit test cases. Change-Id: I0a9116e3ed95553505cd7517f8f3aca53d0c9c5d Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-28Roll versionsTimoney, Dan (dt5972)1-2/+2
Roll versions in master branch Change-Id: Idd6c405684fee6eaa860286359493c667a1bf50f Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-26Proposal to remove OSGi dependencies from the CCSDK projectMatej Perina1-1/+1
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: Ieb512990e191bbb5a9403f05cdce0b79640ce474 Signed-off-by: Matej Perina <matej.perina@pantheon.tech> Signed-off-by: Samuel Kontris <samuel.kontris@pantheon.tech>
2019-08-15ASDC lib version updates and 2 bug fixeslalena.aria2-3/+3
Changes made: Added remove dots to normalized VF name in SdncVFModel.insertVFModuleData. Fixed path to use_ipv4 and use_ipv6 in SdncNodeModel. Issue-ID: CCSDK-1424 Change-Id: Ib60fb652ee695025a6b505b750667c9c8ff1ab2d Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-08-15Code changes for NeonTimoney, Dan (dt5972)1-3/+3
Updated code via ccsdk/parent/tools/fluorine2neon.sh script. Change-Id: Ie19b69db481318afa9224d4673f27e74bfc65a81 Issue-ID: CCSDK-1389 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-08-09Use getEntity to populate Complex Resource-Related tableslalena.aria11-310/+357
Changes made: Clean up in SdncBaseModel for unused methods. Fixes in SdncGroupModel. Convert SdncNodeModel to entity. Corrected logging in SdncVFCModel. Corresponding Group-related and logging fixes in SdncVFModel. Corresponding SdncBaseModel changes for getEntity migration. Corresponding junit changes for getEntity migration. Issue-ID: CCSDK-1578 Change-Id: Ic7f7ec38325aeddcad2d86c8f8425ec825512714 Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-08-06Roll version to recreate artifactsTimoney, Dan (dt5972)1-3/+3
Roll version to 0.5.1 to recreate El Alto early drop artifacts Change-Id: I0b516ccc051ca5a08414c653b7631716fafa987e Issue-ID: CCSDK-1563 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-22Use getEntity to populate Group-Related tableslalena.aria4-25/+108
Changes made: Convert SdncGroupModel to entity. Convert SdncVFModel.insertVFCInstanceGroupData to entity. Corresponding SdncBaseModel changes for getEntity migration. Corresponding junit changes for getEntity migration. Issue-ID: CCSDK-1501 Change-Id: I8a8938dc1b1e7bf37212799277aef60ffff5edb1 Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-07-17Update parent version to 1.3.1Timoney, Dan (dt5972)1-1/+1
Update parent poms to version 1.3.1-SNAPSHOT Change-Id: Ia53c92b56e16cdef8a82927513e4ce6cf24862e0 Issue-ID: CCSDK-1496 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-07-09Use getEntity to populate Policy-Related tableslalena.aria5-218/+126
Changes made: Update SdncBaseModel policy data methods to use getEntity. Update SdncVFModel to call updated SdncBaseModel policy data methods. Minor changes in SdncServiceModel.java. Corresponding junit changes for getEntity migration. Issue-ID: CCSDK-1456 Change-Id: Idf000bb48896ca4c57d6d1659730e2aea7f49ec4 Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-06-28Logic change for insertion in to VF_MODULE_TO_VFC_MAPPINGlalena.aria2-49/+80
Changes made: Update SdncVFModel.insertVFModuleData to insert only CVFCs that contain VFC. Add check for empty and string null in SdncBaseModel extractValue methods. Issue-ID: CCSDK-1442 Change-Id: I058154e2e64e7123a13be5542021e7ca0187afe0 Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-06-14Use getEntity to populate VFC and AR tablesAria, Lalena (la505a)8-270/+401
Changes made: Update SdncARModel to use IEntityDetails instead of NodeTemplate. Update SdncVFCModel to use IEntityDetails instead of Group. Small fixes in SdncVFModuleModel. Corresponding junit changes for getEntity migration. Issue-ID: CCSDK-1367 Change-Id: Ifaf57e9fb22ef87be80bad39948f07bb0a78a6bc Signed-off-by: lalena.aria <lalena.aria@att.com>
2019-06-11Update to use standalone pomTimoney, Dan (dt5972)1-25/+19
Update standalone containers dmaap-listener and ueb-listener to use standalone parent poms. This version contains some vulnerability fixes that are not possible to address in containers that install their own third-party library versions. Change-Id: I75a295b331190d87a38002924ccbdd985ca8f494 Issue-ID: CCSDK-1320 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-05-20Use getEntity to populate VF Module tablesAgarwal, Ruchira (ra1926)5-36/+127
Changes made: Update SdncVFModel.insertVFModuleData to use getEntity. Update SdncVFModule to use IEntityDetails instead of Group. Issue-ID: CCSDK-1347 Change-Id: I319d4b56b7d1e9bfb6a2d7601a24cd5c192477d7 Signed-off-by: Aria, Lalena (la505a) <lalena.aria@att.com>
2019-05-16Update to Tosca parser version 1.5.1Timoney, Dan (dt5972)1-1/+1
Tosca parser version 1.5.1 needed for policy deployment Change-Id: I67de4357267b6e46615906c29f34d728a5279299 Issue-ID: CCSDK-1338 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-04-30Roll master to El AltoTimoney, Dan (dt5972)1-2/+2
Roll master version to El Alto versions Change-Id: Ib9fa2945f1d5b58c3f2c0c3c8be5716a6eb8390e 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)1-1/+1
Update to use released 1.2.2 version of parent poms. Change-Id: Ib0aba55743d4f799a2380a36cfbd5fcb9b729172 Issue-ID: CCSDK-1222 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-25Fix jackson versionTimoney, Dan (dt5972)1-2/+2
Use managed version of jackson in ueb-listener instead of our own Change-Id: I1e5608ca4a5da698b48bf1f00bb8be5fca0c4d2f Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-22Merge "Use getEnitity API for ingestion of TOSCA PNF"Dan Timoney4-0/+329
2019-03-21Compile against Fluorine SR2Timoney, Dan (dt5972)1-2/+2
Updated to compile against Fluorine SR2 Change-Id: I7a104f16bfd17d30d925a6cd70dedbd6aa0f0b4c Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-14Prepare for release 0.4.1Timoney, Dan (dt5972)1-1/+1
Prepare to create release version 0.4.1 by using released version of parent pom Change-Id: I9a3c60350913ed816b6db411df0009f4b755e072 Issue-ID: CCSDK-1156 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-03-13Use getEnitity API for ingestion of TOSCA PNFAria, Lalena (la505a)4-0/+329
Changes made: Update SdncUebCallback.processToscaCsar to ingest PNF entities. Add methods in SdncBaseModel.java to support processing of IEntityDetails. Add SdncPNFModel.java to populate VF_MODEL with PNF data. Add SdncPNFModelTest.java junit coverage. Change-Id: I9a82a94e8198d629395a60779f74178e4f8f065e Issue-ID: SDNC-675 Signed-off-by: Aria, Lalena (la505a) <lalena.aria@att.com>
2019-03-05Improve ueb-listener test coverageTimoney, Dan (dt5972)1-0/+1
Add missing initialization code in test case to trigger testing of pre-staged artifacts. Change-Id: I707ad708e461867b1dea79e11df13460262b6818 Issue-ID: CCSDK-1124 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-02-26Use getEntity to populate network_roleUbuntu3-30/+69
Changes made: Update sdc-tosca version to 1.5.0. Replace getCpListByVf with equivalent getEntity call in SdncVFModel.java. Replace policy.getMetaData with getMetaDataObj to work around parser issue. Change-Id: I1d972f75cc5ca1c8dc0e5d58880a3bb306608ca2 Issue-ID: CCSDK-1089 Signed-off-by: Ubuntu <lalena.aria@att.com>
2019-01-11Code changes to sli/northbound for ODL FluorineTimoney, Dan (dt5972)1-2/+2
Code changes needed to support port to ODL Fluorine. Change-Id: If898ed120a3d03773db815f797f1eee633ca77e3 Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2019-01-08Prepare for release buildTimoney, Dan (dt5972)1-146/+145
Prepare for release of early ODL-Oxygen based CCSDK Dublin Change-Id: I7a11b559e32f953bfd5f514a6cd402090005d9eb Issue-ID: CCSDK-870 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-12-28Merge "Sonar fix: SdncGroupModel.java"Dan Timoney1-2/+5
2018-12-28Merge "Sonar fix: SdncVFModuleModel.java"Dan Timoney1-5/+1
2018-12-28Merge "Sonar fix: SdncUebConfiguration.java"Dan Timoney1-12/+12
2018-12-21Sonar fix: SdncGroupModel.javaArundathi Patil1-2/+5
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-865 Change-Id: I29a2badf731506c4abfa908345ccc72c465c8fb0 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-20Sonar fix: SdncVFModuleModel.javaArundathi Patil1-5/+1
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-867 Change-Id: I20c5214ce9ab3c2821e58b0c6e2530a0881ccc1d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-20Sonar fix: SdncUebConfiguration.javaArundathi Patil1-12/+12
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-866 Change-Id: Icac8e0347d068902217e813a302db69b1bf5cc47 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-20Sonar fix: SdncArtifactMap.javaArundathi Patil1-14/+15
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-863 Change-Id: I8c471ab3cdca84427fe88f33a82117200d916b3d Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-12-18Sonar fix: SdncARModel.javaArundathi Patil1-2/+2
Fixed sonar issues/code-smells across this file Issue-ID: CCSDK-855 Change-Id: I5aa4859f2b30fb1efadd6d772cc5d80e00281c42 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-11-27Update sdc-tosca version to 1.4.7lalena.aria4-5/+3
Changes made: Update sdc-tosca version to 1.4.7. Replace org.onap.sdc.tosca.parser.impl.SdcTypes with org.onap.sdc.tosca.parser.enums.SdcTypes. Replace getNodeTemplatePropertyAsObject with getNodeTemplatePropertyValueAsObject. Change-Id: I9482cad49e2baae1c1383afabff9377c72441246 Issue-ID: CCSDK-758 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-11-19Merge "Add logic for ingesting related_network_role data"Dan Timoney4-3/+129
2018-11-19Merge "Replace logic for subinterface_indicator ingestion"Dan Timoney1-3/+12
2018-11-06Add logic for ingesting related_network_role datalalena.aria4-3/+130
Changes made: Add ingestion for related_network_role data at VL, FV and VFC. Add ingestion for trunk_network_indicator on VL. Fix ATTRIBUTE_VALUE_PAIR insertion for VFC Instance Group properties. Change-Id: Ifd46bad5963a430ed55aacad369ab64b723a11fd Issue-ID: CCSDK-649 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-11-06Fix misplaced ifTimoney, Dan (dt5972)1-33/+26
Updated main loop of ueb-listener to recreate client on each iteration rather than using client created outside loop. Change-Id: I5c5b9f26e472dfbffefdd49a870a293159f72b10 Issue-ID: SDNC-472 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-11-06Replace logic for subinterface_indicator ingestionlalena.aria1-3/+12
Changes made: Replace ingestion logic for VFC_TO_NETWORK_ROLE_MAPPING.subinterface_indicator with alternate logic suggested by ASDC. Change-Id: Ied21e9361091c3fe4c05c6d9a2ee35c6491a7e10 Issue-ID: CCSDK-630 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-11-02Explicitly exit on timeoutTimoney, Dan (dt5972)1-3/+10
Previously, when timeout occurs trying to connect successfully to SDC, code just dropped out of loop in main() method, expecting to exit. However, if the SDC client left any threads hanging, that might not cause process to exit. Instead, process should explicitly exit via System.exit(). Change-Id: I28316550cbfc2bbddeaadf080c0afa52a1eae350 Issue-ID: SDNC-472 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>