summaryrefslogtreecommitdiffstats
path: root/ueb-listener/src/test
AgeCommit message (Collapse)AuthorFilesLines
2020-12-01Migrate sli-northbound repoJessica Wagantall17-1184/+0
Migrate sli-northbound repo files into new directory "northbound". Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2019-11-07UEB Listener Final cleanup of deprecated sdc-tosca parser APIslalena.aria9-25/+27
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-09-17Migrate SdncVFModel to getEntitylalena.aria1-7/+16
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-08-09Use getEntity to populate Complex Resource-Related tableslalena.aria4-14/+165
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-07-22Use getEntity to populate Group-Related tableslalena.aria1-1/+2
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-09Use getEntity to populate Policy-Related tableslalena.aria1-1/+3
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-14Use getEntity to populate VFC and AR tablesAria, Lalena (la505a)2-9/+23
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-05-20Use getEntity to populate VF Module tablesAgarwal, Ruchira (ra1926)1-3/+4
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-03-13Use getEnitity API for ingestion of TOSCA PNFAria, Lalena (la505a)1-0/+102
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>
2018-07-24Adding junits for refactored UEB Listenerlalena.aria6-19/+327
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.aria5-14/+41
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-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-03-28Update versions to resolve security issuesTimoney, Dan (dt5972)6-17/+17
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>
2017-10-09Add retry to ueb-listenerDan Timoney1-0/+1
Added retry mechanism to ueb-listener to handle case where ueb-listener comes up before DMaap or SDC. Change-Id: I0d96bd1fe4d3d0fdb5e01d9f42304b54bea0a550 Issue-ID: CCSDK-112 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-04Test TOSCA table insertionDan Timoney3-1/+133
Add code to create TOSCA tables in test driver to test TOSCA table insertion in ueb-listener TOSCA parser test. Change-Id: Ib8c3fcdb25fbdba39b4700553d8c01b684efa384 Issue-ID: CCSDK-102 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Improve ueb-listener testsDan Timoney2-0/+73
Use Maria4JDB to improve test coverage of ueb-listener. Change-Id: Ifb88916434bb1b293b4bbd6fae069cd1e88c9d8d Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add ueb-listener test caseDan Timoney1-0/+1
Add test case for license-model parsing in ueb-listener. Change-Id: I279e269f7ba3c6f37c09f71b99b20d4e9e661e23 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add ueb-listener unit testDan Timoney4-22/+81
Enhance ueb-listener unit test to verify TOSCA parse Change-Id: Iedc675ead3ef69e4fa7151c8c4c500990c0ee6a7 Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>
2017-10-03Add unit test for ueb-listenerDan Timoney2-0/+49
Add unit test case for ueb-listener. Change-Id: Ia61f8e5bc0e817aa0f4a042d8e05b02ec9e2013b Issue-ID: CCSDK-106 Signed-off-by: Dan Timoney <dtimoney@att.com>