summaryrefslogtreecommitdiffstats
path: root/ueb-listener
AgeCommit message (Collapse)AuthorFilesLines
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>
2018-10-31Fix error handlingTimoney, Dan (dt5972)1-2/+16
Recreate client objects after failure is returned by SDC before retrying. Change-Id: Ib165fc1220a010a0443a7dab4014aaba8c9f29f8 Issue-ID: SDNC-472 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-23Roll to initial Dublin snapshotTimoney, Dan (dt5972)1-2/+2
Roll version to initial Dublin snapshot Change-Id: Ic33e690da810cca17d7ff8cd028bb5028558fd17 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-11Prepare for RC0 releaseTimoney, Dan (dt5972)1-1/+1
Update to prepare for RC0 release build: remove -STAGING tag from release version and use released parent poms. Change-Id: I45e31eca955943ca66ec90db826a50d42f1f1d69 Issue-ID: CCSDK-617 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-09Fix UEB client error handlingTimoney, Dan (dt5972)1-1/+7
Changed ueb-listener to retry start of client if it returns failure Change-Id: Ieda78615a38925824cb78d63939da00818bf4452 Issue-ID: SDNC-472 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-10-09Update to latest Tosca parserTimoney, Dan (dt5972)1-27/+29
Use version 1.4.4 of Tosca parser, since version 1.4.3 does not exist. Change-Id: Ibf90c4fa3f36d783847aca9f30d69b96013e8017 Issue-ID: CCSDK-616 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
2018-09-26Roll to next snapshotTimoney, Dan (dt5972)1-2/+2
Roll to next snapshot release Change-Id: Ied28c6296aa3447926bcc228e867654a460d8455 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-26Prepare for release buildTimoney, Dan (dt5972)1-1/+1
Update for release build : (a) Remove -STAGING tag from release version in version.properties (b) Update to use released version of parent poms (c) Disable single-feature-test (which does not work with released dependencies from ONAP) Change-Id: I77658eeee2f5fcfd0c9eed4047472dff5973a6a2 Issue-ID: CCSDK-597 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-09-17VF Module ingestion add and parser vers updatelalena.aria2-3/+3
Changes made: Add vf_customization_uuid and vf_module_label in VF Module ingestion. Update sdc-tosca dependency version to 1.4.3 in pom.xml. Change-Id: I5b03e8ff72a74448901f1d5f6d9ed8b7688a6f15 Issue-ID: CCSDK-540 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-08-17Increase coverage and qualityGanesh Chandrasekaran1-28/+36
Issue-ID: CCSDK-470 Change-Id: Id847c9a79af795dd80a5fc22341ed2e385e53943 Signed-off-by: Ganesh Chandrasekaran <ganesh.c@samsung.com>
2018-08-09Update sdc-tosca version to 1.4.1lalena.aria1-1/+1
Changes made: Update sdc-tosca dependency version to 1.4.1 in pom.xml. This change will allow new models to pass conformance check. Change-Id: I3e45126839fb2cb1052240afe94d72bbaab3df15 Issue-ID: CCSDK-451 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-07-30Add external policy ingestion for VF nodeslalena.aria2-34/+101
Changes made: Added SdncBaseModel.insertPolicyData for VF nodes. Added call to insertPolicyData from VF node ingestion. Change-Id: I0df1217352354068f11b0cc01923b564c730a149 Issue-ID: CCSDK-404 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-07-25Merge "Fix sonar issues"Dan Timoney1-17/+9
2018-07-25Fix sonar issuesParshad Patel1-17/+9
Fix use try-with-resources issues in ccsdk/sli/northbound Issue-ID: CCSDK-332 Change-Id: Ibc61e6b3ec81e774556172c63c0ca062b6bd6a26 Signed-off-by: Parshad Patel <pars.patel@samsung.com>
2018-07-24Adding junits for refactored UEB Listenerlalena.aria8-45/+343
Changes made: Added null check in SdncBaseModel.java Cleaned up in SdncVFCModel.java Added tests in SdncARModelTest.java, SdncNodeModelTest and SdncVFCModelTest Added files SdncGroupModelTest, SdncServiceModelTest and SdncVFModelTest Change-Id: If0261c94d67a61b0b19db51cbbbff7ae32912d06 Issue-ID: CCSDK-360 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-07-19Refactor for CCSDK UEB Listenerlalena.aria16-354/+1931
Changes made: Moved DB insertions into model classes. Added SdncGroupModel object. Added policy ingestion in SdncBaseModel. Cleanup in SdncUebCallback. Changed sdc.tosca.version to 1.3.5 in pom.xml. Issue-ID: CCSDK-360 Change-Id: If965c38275a1dc7fc63847d3aa944aed1a6bd1f9 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-07-10Sonar issue fix blocker, criticalArindam Mondal1-4/+2
Issue-ID: CCSDK-332 Change-Id: I8741cb5bf68d71f0376105d2b1683ac05534a001 Signed-off-by: Arindam Mondal <arind.mondal@samsung.com>
2018-06-06Roll versions for Casablanca - sli/northboundTimoney, Dan (dt5972)1-2/+2
Roll version to 0.3.0-SNAPSHOT for Casablanca development Change-Id: If71c3945b2da6f64f9eb1b1fdc92ba62c11f1886 Issue-ID: CCSDK-295 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-31Use released parent pomTimoney, Dan (dt5972)1-1/+1
Update to use release parent pom version 1.0.4 Change-Id: I654a95992e0740cfda9339098ed7eb4f32aaab4f Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-30Roll version to 0.2.4Timoney, Dan (dt5972)1-2/+2
Roll version to 0.2.4-SNAPSHOT and version 1.0.4-SNAPSHOT of parent Change-Id: I7b4ad7a2f69e821d91603d2e2a1ae28e0f8e0558 Issue-ID: CCSDK-291 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-25Update ueb-listener VF Model extractionlalena.aria1-2/+2
Changes made: Changed the location of extraction for ecomp_generated_naming when populating VF_MOEL table. Change-Id: I14982b4081013702c5e0023205363015199459f6 Issue-ID: SDNC-325 Signed-off-by: lalena.aria <lalena.aria@att.com>
2018-05-23Update to release version parent 1.0.3Stilwell, David (stilwelld)1-1/+1
Update parent version to remove -SNAPSHOT (1.0.3) Change-Id: I22f2cdbdc194e343dd6b04a371e298294f569477 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-23Roll to next snapshot versionStilwell, David (stilwelld)1-2/+2
Roll to version 0.2.3-SNAPSHOT and update parent to 1.0.3-SNAPSHOT Change-Id: I88e11e78f61099f5b2e69b2161cf7c65b5a860e1 Issue-ID: CCSDK-290 Signed-off-by: Stilwell, David (stilwelld) <stilwelld@att.com>
2018-05-17Update sli/northbound to use 1.0.2 parentTimoney, Dan (dt5972)1-1/+1
Update pom.xmls to use released 1.0.2 version of parent pom Change-Id: Iccb3d5fbc92fd4177220f307178ac8a95ce0e7d5 Issue-ID: CCSDK-286 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-10Merge "Add mapping for vm_type_tag"Dan Timoney1-5/+8
2018-05-09Add mapping for vm_type_tagTimoney, Dan (dt5972)1-5/+8
If vm_type is not found in CSAR, use vm_type_tag value instead. Change-Id: Ifd73029446d465aad2d9d995559be837f29b97a4 Issue-ID: SDNC-305 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-05-08Remove unneeded document from csarTimoney, Dan (dt5972)1-0/+0
Removed unnecessary document with proprietary marking from CSAR test file. Change-Id: I75e3ca5ab75f80bcd9fc21fb9460d833a3c9edb7 Issue-ID: CCSDK-270 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-29Roll versions step 4 : sli/northbound pomsTimoney, Dan (dt5972)1-2/+2
Roll version for next release candidate. Change-Id: I5c564fd2119b3a97433cb03b5678465915d75128 Issue-ID: CCSDK-257 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-04-05Merge "Update versions to resolve security issues"Dan Timoney17-70/+86
2018-04-04Update docker tag conventionJessica Wagantall1-1/+1
Update docker tagging convention to use: v0.17.0-SNAPSHOT-YYYYMMDDTHHMMSSZ (for dev images) v0.17.0-STAGING-YYYYMMDDTHHMMSSZ (for staging images) Change-Id: I4065d25d11e6767903947ebee8c690a0c9ecc804 Issue-ID: CIMAN-132 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2018-03-28Update versions to resolve security issuesTimoney, Dan (dt5972)17-70/+86
Update versions of sdc distribution client and jackson to address security issues. Issue-ID: CCSDK-164 Change-Id: Id02d879e87bb1a957968482578818928b6e3c281 Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
2018-03-28coverage sli-northboundJeremy Wolf5-1/+207
adding junit test files for AsdcApiSliClient, AsdcApiUtil, DataChangeClient, SdncFlatJsonDmaapConsumer, SdncARModel, SdncNodeModel, SdncVFCModel, SdncVFModuleModel, SdncUebCallback Change-Id: Ia7fb307b84957292f9080654c7ae31992434317f Issue-ID: CCSDK-230 Signed-off-by: Jeremy Wolf <jw720x@us.att.com>
2018-03-28coverage SdncAaiDmaapConsumershashikanth.vh1-0/+0
Coverage improvement for SdncAaiDmaapConsumer https://jira.onap.org/browse/CCSDK-213?jql=project%20%3D%20CCSDK%20AND%20text%20~%20coverage Issue-ID: CCSDK-213 Change-Id: Icc9af3a9f27d4bae543525b5651d1f6485ef8857 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-03-27SdncOdlConnection coverageshashikanth.vh1-0/+45
Coverage improvement for SdncOdlConnection https://jira.onap.org/browse/CCSDK-213?jql=project%20%3D%20CCSDK%20AND%20text%20~%20coverage Issue-ID: CCSDK-213 Change-Id: I8045722de77e8884be485bd6f1ed2243c08d2d2b Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2018-02-26Nitrogen port: sli/northboundDan Timoney1-11/+14
Update sli/northbound to compile for ODL Nitrogen Change-Id: Ib14fea5dd3922175bd183afb9f3c85edaa7a2f0c Issue-ID: CCSDK-177 Signed-off-by: Dan Timoney <dtimoney@att.com>
2018-01-09Removed of unused parameterprakash.e1-6/+2
*unused parameter and unused function is removed Change-Id: Ibf0f72d2948ad27313967ecadfb54f2a2bf0060b Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-09Removal of unused variablesprakash.e1-4/+2
*Romoved unused variables and code changes for performance improvement Change-Id: Ibe1993b750653d24379ffcc3638b71f6cefcaa6b Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-08Merge "Exception issue"Dan Timoney1-22/+21
2018-01-08Exception issueprakash.e1-22/+21
*deployList is used before initialization which results in NullPointer Exception. Change-Id: I53d43d7656577368ac35db78ba27c015a2c8ac52 Issue-ID: CCSDK-170 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-06Fixed as per Java Code ConventionsSRINIVAS V1-2/+0
*Removed the commented code of addParameter function *Code optimized Change-Id: Ibd711561d1f94854df464d6e94de6ef2fc8b6cd6 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2018-01-04Removed unused codeSRINIVAS V1-11/+7
*Deleted commented code Change-Id: I03ebfab9d66f2a9e51233ec6312698af7ed91584 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2018-01-04Fixed as per Java Code ConventionsSRINIVAS V1-1/+1
Change-Id: I0b2315c4a48b5c1c267dec10ce22ded559c98192 Issue-ID: CCSDK-151 Signed-off-by: SRINIVAS V <srinivasa.mohan@huawei.com>
2018-01-02Exception issue fixprakash.e1-18/+17
Change-Id: I75eafe5267909dc1102287ef9bc8dffdb1d5dcba Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>
2018-01-02Removal of unused variableprakash.e1-12/+10
Change-Id: Idaf07c98ef0fef3923ddd7a9e185b727cb93b16f Issue-ID: CCSDK-151 Signed-off-by: prakash.e <prakash.e@huawei.com>