summaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2022-10-18Adding CNF Upgrade Code Enhancementssanket123451-1/+2
-Code Enhanced for CNF- Upgrade. -Code changes Deactivate older version of VfModule & VNFs while upgradation by giving older version inputs to SDNC. -Enabled onap-model-info true for Deactivate, which can be now seen in logs while Deactivation of VfModule/VNF. -New changes enable to fetch data from UserParams instead of RelatedInstanceList, which will further simplify the payload. Issue-ID: SO-3857 Change-Id: I99f71f025d813b413f82f1a802bab8867d0a9cbb Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2022-10-03Merge "Code & Workflow Enhancements for CNF - Upgrade"Lukasz Rajewski1-9/+11
2022-10-03Rollback Scenario for recursive orchestrationsreeja gattagouni1-1/+2
-Child Services may fail in any of the BB's while creation of composite services, to handle in efficient manner, it is complied with existing rollback logic. -In case of Child Services >1 , when Workflow fails, the instantiated child remains in COMPLETED status, thus rollback changes ensure that such services are Deleted by triggering DeleteChildSvcBB. -Parent Service is ROLLED-BACK in case of any child service failing in the workflow. Instantiated child services are Deleted from AAI as well. Issue-ID: SO-3982 Change-ID:I73f97f986a817d423f92f8d922dcd9647b8a2503 Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
2022-10-03Code & Workflow Enhancements for CNF - Upgradesanket123451-9/+11
- Adding New Building Block : VfModuleUpgradeBB, which delgates Workflow to next BB by just changing AAI Orch_status, else WF fails during Orchestration flow validation DB lookup. - Adding changes to BB Inputs to take new version VNF & VFM model details and pass to BBs, as done for Service-Macro-Upgrade. - Adding new operations in CDS to skip execution,when SDC Model has skipCDS=True. - Calling CNF Adapter with existing heatStackID & passing it for CNF-Upgrade with new customization details. Issue-ID: SO-3857 Change-Id: I69f71f825b812d423f82f1a902dcb8567d8a6adb Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2022-08-05Merge branch 'recursive-orch'Lukasz Rajewski1-37/+43
Issue-ID: SO-3980 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie0cd0f973800196d5cb1e038db4a49208a6c4a3b
2022-07-21Merge "RequestsBean, Jira issue use correc type of Assert"Md Irshad Sheikh3-4/+9
2022-07-21RequestsBean, Jira issue use correc type of AssertGanesh3-4/+9
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I1a38e7da39ef5062336031c805a4195932a9a786 Issue-ID: SO-3966
2022-07-20Remove this useless eq(...) invocationGanesh2-4/+4
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I0bf810edff3d058d5d29f2b84b7e6ae76e682ef2 Issue-ID: SO-3966
2022-07-15jira issue, Use assertThat(actual).contains(expected) instead.Ganesh2-2/+4
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I7c485cab044b3b9ade9afc688f2ef67c92ec6ff6 Issue-ID: Issue-ID: SO-3966
2022-07-15Jira issue, Swap these 2 arguments so they are in the correct order: ↵Ganesh1-7/+8
expected value, actual value. Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I241dfab988432f0474cf77ed2ac2056b89b25a11 Issue-ID: Issue-ID: SO-3966
2022-07-15sonar issue, MsoMulticloudUtilsTest Use assertSame insteadGanesh1-6/+6
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: Ic931821356c77ca07b4a03a23593d3c767288520 Issue-ID: Issue-ID: SO-3966
2022-07-15sonar issue, AuthenticationMethodTest use assertNotEquals insteadGanesh1-5/+6
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I737a0cfe04bcb2018120d897267c4fc8fb695fd2 Issue-ID: SO-3966
2022-07-12sonar issue, Use assertNotEquals insteadGanesh1-4/+3
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: If257a5d048e0305112f66b2ee1be76714eadabf2 Issue-ID: SO-3966
2022-07-12sonar issue, Use assertEquals insteadGanesh1-12/+14
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I0729dc6a28e2da7613e014dcd1609fc6b3ef445b Issue-ID: SO-3966
2022-07-12sonar issue, Change the assertion arguments to not compare a primitive valueGanesh1-1/+2
Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I1710ada880155d30582c0b9bcceb5f8152a32527 Issue-ID: SO-3966
2022-06-27sonar bug, Change the assertion arguments to not compare a primitive value ↵Ganesh1-1/+0
with null Signed-off-by: Ganesh <ganesh.c@samsung.com> Change-Id: I72e255d016d3c08ceb6c075cfc6b9e710e5acfa0 Issue-ID: SO-3966
2022-05-30Enable DeleteChildService functionalitymamed.mamedov1-16/+18
Issue-ID: SO-3830 Change-Id: I5cf8b1a998839813fd59576eb70eb79c72f2c2fe Signed-off-by: mamed.mamedov <mamed.mamedov@telekom.com>
2022-05-09Switch over BBRollback to use DB lookups.Oleg Mitsura2-0/+32
Issue-ID: SO-3793 Use feature provided by SO-3720. Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com> Change-Id: I31f2c00df738c37d04e5ad901dd94c9c6d4b147e
2022-04-20VNF-Payload support for CNF HealthChecksreeja gattagouni1-0/+1
-CNF HealthCheck feature currently supports for Create-Service-Instance Payload. -Addition of requestAction in catalogDB in vnf_recipe will now support for VNF- Payload format while triggering requests for CNF HealthCheck. Issue-ID: SO-3927 Change-Id:I99b33f225a132d943f42f0d808bcd4510d9c8adf Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
2022-04-10Add nullcheck to HeatbridgeUtils.extractPciIdsFromVserverJozsef Csongvai1-0/+4
It throws a NullPointerException when vserver has no l-interfaces Issue-ID: SO-3924 Change-Id: I5e4116ead0775dd53b92414b9badfa09fe58779e Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2022-03-02CNF- Upgrade Functionality - CatalogDBsanket123452-4/+20
-Catalog DB Changes with new macro action. Issue-ID: SO-3859 Change-Id: I99f33f225d114d713f42f0a900aeb6532d7c6afe Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2022-02-03Hard-coded cloud owner in mariadb-galera for VNF-Macro-Modify actionMD IRSHAD SHEIKH1-3/+3
Issue-ID: SO-3836 Signed-off-by: MD IRSHAD SHEIKH <md.irshad.sheikh@huawei.com> Change-Id: I07dc6c8073197aae2aac5ff3ea3429563b3cbb38
2022-01-20CNF Healthcheck Workflow broken after macro sql file refactoringsanket123451-2/+6
Re-added Macro DB Entries in below tables - orchestration_flow_reference - building_block_detail Issue-ID: SO-3834 Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Change-Id: I33f12f156c122d723f52f0a855adb9430b7c6ade
2021-11-26Enable CreateChildServiceBB for Service-Macro-CreateJozsef Csongvai1-22/+26
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I7979082a9f145a84f6f03cf2c44e9ccbca198c5a
2021-10-06Merge "Clean R_MacroData.sql file"Seshu Kumar M1-505/+346
2021-10-04Clean R_MacroData.sql fileSebastien Premont-Tendland1-505/+346
Updated file to only have one INSERT statement for each macro table instead of multiple INSERT/UPDATE statements across the file making it difficult to work with. Change-Id: I6ff934befbd4f54e6338388cdb3e11b2a8b8de63 Issue-ID: SO-3706 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca>
2021-08-26SO-3720 BuildingBlockRollback lookup tableOleg Mitsura3-0/+79
Issue-ID: SO-3720 BuildingBlockRollback lookup table will indicate the rollback BB to take; this is the first part for simplifying WorkflowActionBBTasks logic: instead of doing string matching, we just do a lookup of a block to call to perform the rollback operation. In some cases, the Action is set as well - this would be needed for certain BBs, in that case, there is a corresponding rollbackAction as well. Change-Id: I072a2ada894cf4672f5a1cdce762605757cb1d14 Signed-off-by: Oleg Mitsura <oleg.mitsura@amdocs.com>
2021-08-25Expose HealthCheck Northbound API of SOsanket123452-1/+20
Code changes in CNFO to Create Workflow and Expose if over Northbound API of SO Issue-ID: SO-3716 Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Change-Id: I88f55f115c112d613f42f0b800aeb5491d7c6ace
2021-08-13Merge "SO changes for Service Intent"Seshu Kumar M1-0/+8
2021-08-11SO changes for Service Intenthyu20101-0/+8
This update contains the SO changes for the CCVPN extension to support Intent Based Networking (REQ-719). The SO is responsible for providing the Service Intent orchestration, as well as providing the Service Intent APIs which are consumed by the IBN use-case. The changes on the SO are technology-agnostic and are relatively simple. i.e., Technology specific network configurations are carried out by the SDNC. Issue-ID: SO-3714 Signed-off-by: hyu2010 <hyu2010b@gmail.com> Change-Id: Iec9d2fc80adc79faaeeaf811bd0d02c9d7611d61 Signed-off-by: hyu2010 <hyu2010b@gmail.com>
2021-08-04Add new endpoint and macro for service upgradeJozsef Csongvai1-0/+8
This enables upgrading an existing service instance by updating its model UUID's in AAI and md-sal. Issue-ID: SO-3636 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ic5f067a1267053a61f46e2d9563ca4e4ac869bdf
2021-06-30Fixing XML parsers security bugwaqas.ikram2-12/+24
Change-Id: I1fbf2b2bd42669d9a3c059c32bb39278bd483d60 Issue-ID: SO-3668 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-30Reducing org.reflections package loggingwaqas.ikram6-169/+171
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-29Fixing XML parsers security bugwaqas.ikram1-4/+3
Change-Id: I8a4f156196af47272a2732b1fbddafb6f0eb1f4d Issue-ID: SO-3668 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-29Fixing XML parsers security bugwaqas.ikram1-6/+13
Change-Id: I6c25dd87f393bbeca016a651d68afa11e60f3d94 Issue-ID: SO-3662 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-25Fixing gating catalogdb pod failurewaqas.ikram1-6/+6
Change-Id: I128b802e46532a30490c46afd1a6546783c92193 Issue-ID: SO-3688 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-24Updating pom version to 1.9.0-SNAPSHOTwaqas.ikram8-8/+8
Change-Id: Idb3e497148225d4158390b944f74e82ff9f771c8 Issue-ID: SO-3688 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-18Add VNF-Macro-Create and VNF-Macro-DeleteJozsef Csongvai1-0/+35
These macros enable creation and deletion of a vnf with vfmodules for an existing service instance using building blocks. Also: - No longer force alaCarte=true for these use cases - Fix broken vfModule sorting logic for baseFirst/baseLast - Minor refactoring replacing String literals with constants Issue-ID: SO-3635 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I16975f3561f2d978dede20679927ac3531def900
2021-05-05Fix typo DESACTIVATE to DEACTIVATESebastien Premont-Tendland1-3/+3
Issue-ID: SO-2798 Signed-off-by: Sebastien Premont-Tendland <sebastien.premont@bell.ca> Change-Id: I6b6334704fc4e7398ed785a99459a67c48def928
2021-04-21Added logging statements for skip post inst conf classKalkere Ramesh, Sharan (sk720x)2-6/+6
Issue-ID: SO-3626 Change-Id: I618b6b6b6049f94bc6c9bfe6be893ac022f2449e Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2021-03-26Merge "request db endpoint and bpmn cleanup"Max Benjamin1-0/+11
2021-03-24request db endpoint and bpmn cleanupKULESHOV, ELENA1-0/+11
added new request db adapter endpoint use bpmn constants when available allow bpmn input setup parameter to be extended Issue-ID: SO-3606 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: Ibde4d82cc7432ea3cdd9a75aef0dc695ebbf9a1b
2021-03-17remove network soap and dead codeBOSLET, CORY34-4579/+194
Removed the remaining SOAP interfaces for tenant and network Updated the network adapter impl unit test to account for changes. Issue-ID: SO-3593 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I9c3dbd221ffbf9efcb67bf8490fbef81a3b010ae
2021-03-15update swagger to v3 open api versionBOSLET, CORY7-64/+68
Upgraded all projects and services to use the new v3 swagger, discontinued use of old swagger. Updated unit test to account for swagger change and removed apis Issue-ID: SO-3587 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: Iddcfe92f8ab240691f92ce2bf23e1ab2ad159780
2021-03-12Merge "add new sdnc interaction"1.8.1Max Benjamin5-0/+278
2021-03-12Merge "version upgrades plus cleanup"Max Benjamin7-80/+3
2021-03-11correct string comparison operatorBENJAMIN, MAX1-6/+6
correct string comparison operator Issue-ID: SO-3583 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I2c5754e4ca8ba7e303385c4eaf88dee2f0498d1a
2021-03-10add new sdnc interactionBOSLET, CORY5-0/+278
Added Cors auth support option for sdnc interaction Issue-ID: SO-3580 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I54d17ea5e02a20114f5857940cc4dabc72854dea
2021-03-09version upgrades plus cleanupBOSLET, CORY7-80/+3
Removed over 125 dependencies and added to dependency management Added in a few dependencies and removed some Change the swagger version to so pom Removed version property reference in the pom Added in missing dependency for bpmn blocks Added in missing dependecy for common bpmn Updated the camunda-bpm-assert to use a version that is compatible with assertj-core 3.11. The camunda-bpm-assert namespace group also changed. This fixes the no method found error. Updated unit test to account for class name change Updated the unit test to account for lib change Fixed unit test for software upgrade stuff Exclude older versions of javassist to fix null pointer caused by incompatible javassist version with hibernate and bowman Added in missing dependency for task test Added missing dependency and fixed formatting Remove files that got added back in by merge conflict Use the new namespace for the swagger annotations Need to exclude swagger annoatations from the old namespace Updated to fix compilation error due to use of legacy swagger and cxf swagger Use the swagger v3 plugin for gen resources Use the openapi v3 swagger in all bpmn packages Fix null pointer to create the OpenApiFeature in cxf Issue-ID: SO-3578 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I7093376b2d8271e9c5b911b901133e01b957da84
2021-03-10Merge "remove vnfadaptercreate vnfadaptercreatevfmodule"Max Benjamin15-1110/+72