summaryrefslogtreecommitdiffstats
path: root/adapters/mso-catalog-db-adapter/src
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-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-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-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-30Reducing org.reflections package loggingwaqas.ikram1-41/+42
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 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-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-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)1-15/+18
Updated camunda to 7.14 and updated spring boot camunda to 3.4 Started to clean up duplicate maven dependencies Issue-ID: SO-3521 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ic65b04772b91dd989e41d6b6b93872978bc4e4e2
2021-01-28force not null with default valuesBenjamin, Max (mb388a)2-0/+26
force not null with default values update JUnit test setting default value update NULL fields before altering column sync beans with flyway changes updating test schema.sql files Issue-ID: SO-3494 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I53f000531cfb653a20bfdfae274622553420cdc8
2021-01-12updated post skip instantiation to non primitiveKalkere Ramesh, Sharan1-1/+2
updated post skip instantiation to non primitive set default Issue-ID: SO-3477 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Icbc5bf21592237cf04f2653313fb69a3ff9bf8b6
2021-01-06Fix for globalSubscriberId and requestIdtragait1-2/+4
Issue-ID: SO-3401 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I33a71dffe7c63a50c807aa206d638a6aea5f1210
2020-12-30Added new column to the identity service.Benjamin, Max (mb388a)1-0/+3
Added new column to the identity service. Issue-ID: SO-3448 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5151016d1b4874cb77eecddc17169c04f59dc9a5
2020-12-08software-version fixtragait1-0/+6
In this commit software_versions added to the pnf customization table. A test case is also written to verify if the software_versions of type string is added to the pnfcustomization. Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Id07fe79e67ac96e71e6fe3775cce801edd81a42a Signed-off-by: tragait <rahul.tyagi@est.tech> Issue-ID: SO-3119 Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-11-30Merge "add queryparam to catalog db api to filter"Steve Smokowski4-25/+168
2020-11-18Merge "Update SO Reference for scaling"Max Benjamin1-0/+5
2020-11-16add queryparam to catalog db api to filterMnushkin, Dmitry4-25/+168
init add filter to serviceResources and junit filter vnf query, update rest test methods Issue-ID: SO-3377 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I77cc1c5d028eba68e34bf487a0cd57ca5bfaab03
2020-11-13bring back the config deploy to actionseshukm1-3/+3
Issue-ID: SO-3346 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I1a83418675f4061c659fdc92317b1b5bd96edbc2
2020-11-11Update SO Reference for scalingLukasz Rajewski1-0/+5
Update SO reference table for some Macro flows changing their execution with ControllerExecutionBB and dedicated action + scope Issue-ID: SO-3023 Change-Id: I030c1da04f02c3cf268fa9ba140b9b7920757d7c Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2020-11-09comment the pnf entry in to test gatingseshukm1-2/+3
Issue-ID: SO-3369 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Ic2a72407fab753a52635ed9db29b8b616b6e8f4e
2020-11-05Support for PNF config deployKrzysztof Gajewski1-11/+13
Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Issue-ID: SO-2647 Change-Id: I109da542258f7e038159868c9b65fcd3057716b9
2020-11-04Revert "Update SO Reference for scaling"Seshu Kumar M1-10/+0
This reverts commit fc381bbd38fc1106b713eaa87b7972ab240c5911. Reason for revert: Revert this change to make the macro flow to get rid of the controller_execution BB in the inst flow Issue-ID: SO-3346 Change-Id: I8a3d29dfcb1a96ec692ddb75510abd5173e42df1 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2020-09-16update service queryzm3301-4/+6
Issue-ID: SO-2963 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I7489dd5b02fa19b25eec0162dd239c1d40e943d3
2020-09-07Merge "Add new service in API-Handler for 3gpp service instances"Seshu Kumar M1-0/+10
2020-08-30Add new service in API-Handler for 3gpp service instancesReshmasree1-0/+10
Issue-ID: SO-3189 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: Ieb2d3d36b6a216b00f4c13ebabdf268cf833d267
2020-08-22Implement ModifyConfig SO Work flow (Day 2 configuration)aleemraja2-0/+18
- Added custom method to support ModifyConfig Issue-ID: SO-3151 Signed-off-by: aleemraja <ar00500721@techmahindra.com> Change-Id: I99dc4e53dbec1879a76ae184fe4b94afe1a999db Signed-off-by: aleemraja <ar00500721@techmahindra.com>
2020-08-07Add support for configAssignmharazin1-11/+14
Issue-ID: SO-2646 Signed-off-by: Mateusz Harazin <mateusz.harazin@nokia.com> Change-Id: Id69b3afd2bbb22607782d7d63409e381a1a23255
2020-07-31Create DeactivatePnfBB and include it into Service-Macro-Delete flow.Mateusz Gołuchowski1-10/+12
- created DeactivatePnfBB which changes orchestration status to inventoried when invoked - included BB into flow in R_MacroData script which initializes database - added support for mapping of service relations to PNFs - changed version of logging-analytics to 1.6.7 Issue-ID: SO-3111 Change-Id: I375db2014887f1f634adac31d4d1af3675f5911c Signed-off-by: Mateusz Goluchowski <mateusz.goluchowski@nokia.com>
2020-07-24Implement getAllProcessingFlags rest query toKuleshov, Elena2-0/+63
Implement getAllProcessingFlags rest query to catalog DB. Remove debug printout from the JUnit test. Issue-ID: SO-3097 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Icc2f7de1600a39d0c2d2a964e9df84ec9237a157
2020-07-08Update SO Reference for scalingLukasz Rajewski1-0/+10
Update SO reference table for some Macro flows changing their execution with ControllerExecutionBB and dedicated action + scope Issue-ID: SO-3023 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com> Change-Id: Ib46691b802a201c437e3c5257e586c3cfc039cd1
2020-06-29Replace lambda with a method referencemarcinrzepeckiwroc1-3/+3
Issue-ID: SO-1841 Signed-off-by: marcinrzepeckiwroc <marcin.rzepecki@nokia.com> Change-Id: Idafac15166c6077895f645d1b9df1be7409ba5f1
2020-05-06updated code with parallel streams to normalKalkere Ramesh, Sharan1-4/+3
updated code with parallel streams to normal streams Issue-ID: SO-2904 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifb9c3644b1129f593acde31b57b0bb3ec24074d2