summaryrefslogtreecommitdiffstats
path: root/bpmn/MSOCommonBPMN/src
AgeCommit message (Collapse)AuthorFilesLines
2022-10-18Adding CNF Upgrade Code Enhancementssanket123451-19/+39
-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-03Code & Workflow Enhancements for CNF - Upgradesanket123451-7/+49
- 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-09-07Update nf_type for PNF in AAIaleem.raja@t-systems.com7-0/+131
Update nf_type for PNF in AAI to distinguish different PNFs nf_type value will come from SDC properties Issue-ID: SO-3967 Signed-off-by: aleem.raja@t-systems.com <aleem.raja@t-systems.com> Change-Id: I9dd039ac098a60f7cf4d4a9c456c7681f64d9987
2022-08-31Merge "Enable long-running processes in ControllerExecutionBB"Lukasz Rajewski3-8/+130
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja4-3/+24
instantiated When instantiating a service with multiple PNFs, SO differentiates them using ModelCustomizationId. This causes issues when creating multiple instances of same model resource, and each lookup would return the same object. With this patch, Instead of using ModelCustomizationId, we enable SO to use instanceName parameter to differentiate the PNFs. Issue-ID: SO-3948 Signed-off-by: Aleem Raja <aleem.raja@t-systems.com> Change-Id: I9dd039ac786a60f7cf4d4a9c456c7681f64d6786
2022-08-05Merge branch 'recursive-orch'Lukasz Rajewski4-1/+32
Issue-ID: SO-3980 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie0cd0f973800196d5cb1e038db4a49208a6c4a3b
2022-06-29Enable long-running processes in ControllerExecutionBBJozsef Csongvai3-8/+130
Instead of blocking a thread while waiting for controller response, ControllerExecutionBB is now using camunda receive task to support long running processes without increasing the camunda job timeout. A new property was added to configure the gRPC client's keep alive ping mechanism, which will identify connection issues and prevent the process getting stuck when the controller crashes. Issue-ID: SO-3953 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Iaf6438dba76e715dba846bf45ef47b6a91239c4a
2022-04-11Enable complex data types in service instanceParamsJozsef Csongvai2-2/+10
Issue-ID: SO-3923 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ibf371c4ffbedd6548a8e9630a9baeb5e2c43d7f4
2022-03-17AAI Relationship for Parent - Child Services with Composed Resource Nodesanket123451-0/+6
-Code to add Relation between Parent & it's Child Services -Node used to connect parent and child in AAI is ComposedResource -Parent Service can be related with multiple Child Services via composedResource Node. Issue-ID: SO-3832 Change-ID: I73f97f986a817d423f92f8d922dcd9647b8a6adc Signed-off-by: sanket12345 <SX00562924@techmahindra.com> Signed-off-by: Lukasz Rajewski <lukasz.rajewski@orange.com>
2022-03-09Merge "Use cloud configuration from Vnf"Seshu Kumar M2-74/+51
2022-01-27Use cloud configuration from Vnfkuldipr2-74/+51
Vnfs can be part of different clouds and thus cloud configuration is fetched from vnf itself and passed along the flow to create vnf in the correct region. Issue-ID: SO-3423 Change-Id: I1a91486a0bbc6a13aaa292905caeb0c72c4b4885 Signed-off-by: kuldipr <kuldip.rai@amdocs.com>
2022-01-10CNF Healthcheck query based on helm statussreejatechm1-1/+26
-Enhancement of CNFO model with helm upgrade -Included code changes with respect to HealthCheckBB Issue-ID: SO-3814 Signed-off-by: sreejatechm <sg00744975@techmahindra.com> Change-Id: I44f11f156c132d713f42f0a855adb6730b7c6abe
2021-11-26Enable CreateChildServiceBB for Service-Macro-CreateJozsef Csongvai2-0/+23
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I7979082a9f145a84f6f03cf2c44e9ccbca198c5a
2021-11-26Add service composition building blocksJozsef Csongvai1-1/+3
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I1f3eb0b6ae0e6ac1ce90dbd10d3737bb195c673b
2021-08-25Implementation of HealthCheckBBsanket123452-0/+186
Code changes to implement HealthCheckBB Issue-ID: SO-3691 Change-Id: I88d22f125c122d813f42f0b800aeb6530d7c6acf Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2021-08-13Merge "Add new endpoint and macro for service upgrade"Seshu Kumar M3-2/+66
2021-08-13Merge "Enable ControllerExecutionBB for service scope"1.9.0Seshu Kumar M14-48/+234
2021-08-04Add new endpoint and macro for service upgradeJozsef Csongvai3-2/+66
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-08-04Enable WorkflowActionBB to skip last building blockJozsef Csongvai1-0/+3
WorkflowActionBB does not take into account flowmanipulators such as SkipCDSBuildingBlockListener, which increment the current index of building blocks to execute. In the case where ControllerExecutionBB is the last building block and should be skipped, the index would be incremented beyond bounds and cause exception. WorkflowActionBB needs to check if the flow has been completed before it tries to execute the next building block. Issue-ID: SO-3678 Change-Id: I635c12a568c3b98031cbeb37ef521663d96b852b Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-08-04Enable ControllerExecutionBB for service scopeJozsef Csongvai14-48/+234
Also make userParams.service optional to support usecases where it is not being passed. Issue-ID: SO-3627 Change-Id: I7e0abfffe54e11935b32f6c6829400de88fb4bd0 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-08-04Merge "Support instantiation of same model vnfs/vf-modules"Seshu Kumar M14-98/+359
2021-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss14-98/+359
When instantiating a service with multiple vnfs and/or vfmodules SO would differentiate using ModelCustomizationId. This would cause issues when creating multiple instances of same model resource, and each lookup would return the same object. Instead of using ModelCustomizationId, this patch enables SO to use instanceName parameter to differentiate the resources. Validation was added to ensure that instanceNames are provided if there are multiple resources of the same model. If there are no duplicate resources and instanceName is not set, SO will default to previous logic using ModelCustomizationId. In order to properly associate vfmodules with their parent vnfs, the Resource class was augmented with a parent reference which maintains the relationship in further processing. Id generation logic was corrected to ensure that multiple resources of the same model are assigned unique instance ids and references to parent instanceId. Issue-ID: SO-3677 Change-Id: If39a0138f501177e12262f8e911137012e287fca Signed-off-by: Michael Pruss <michael.pruss@bell.ca>
2021-07-28Merge "Fix dateformat for APPC HealthCheck"Lukasz Muszkieta3-12/+56
2021-07-27Fix dateformat for APPC HealthCheckk.kedron3-12/+56
Issue-ID: SO-3719 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I192f78ead998a983ea4db9fb64e6e69093cf0945
2021-06-30Reducing org.reflections package loggingwaqas.ikram1-1/+1
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-28Fixing XML parsers sonar issuewaqas.ikram1-4/+3
Change-Id: Id67c01bbe19057902127e8a66ba0382589789537 Issue-ID: SO-3665 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-18Add VNF-Macro-Create and VNF-Macro-DeleteJozsef Csongvai1-2/+12
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-06-10Fix issues in shared NSI flow in NSMFdeepikasatheesh1-1/+1
Issue-ID: SO-3629 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: Ib67ffb8f0143549177e7b2776b219fab4d7f00eb
2021-03-24request db endpoint and bpmn cleanupKULESHOV, ELENA1-61/+61
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-12Merge "add new sdnc interaction"1.8.1Max Benjamin1-2/+13
2021-03-10add new sdnc interactionBOSLET, CORY1-2/+13
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, CORY1-3/+0
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-05Merge "create post flow manipulator"Max Benjamin3-4/+34
2021-03-04create post flow manipulatorBENJAMIN, MAX3-4/+34
create post flow manipulator Issue-ID: SO-3568 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I8afe9cb0184c1f52754097f9912e123e56cfab98 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com>
2021-03-04create protected method for vf module bb logicBENJAMIN, MAX1-9/+13
create protected method for vf module bb logic Issue-ID: SO-3569 Signed-off-by: AT&T Open Source <g22940@att.com> Change-Id: I66076655781c8593a78da380f74c028e635b4d5b
2021-02-02corrected static class usage when readingBenjamin, Max (mb388a)1-6/+4
corrected static class usage when reading properties Issue-ID: SO-3511 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I78b65f5227af6dc238079695407100f4a1b6f841
2021-02-02Merge "allow RestClient to configure custom headers"Steve Smokowski1-4/+5
2021-02-02Merge "updated line of business query to use nodes only"Steve Smokowski1-1/+2
2021-02-02Merge "set connection timeout as well as read timeout"Steve Smokowski1-0/+6
2021-02-01allow RestClient to configure custom headersBenjamin, Max (mb388a)1-4/+5
allow RestClient to configure custom headers always load the first implementation on the classpath Issue-ID: SO-3495 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9c433cdaed33a7db6182af259421676c088a1fae
2021-02-01set connection timeout as well as read timeoutBenjamin, Max (mb388a)1-0/+6
set connection timeout as well as read timeout correct dependency version in openstack pom limit timeout test to a single retry add connection timeout property for A&AI client Issue-ID: SO-3491 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I576c143822ba45fc79648fd0a1edb6ccd3aff8b2
2021-02-01updated line of business query to use nodes onlyBenjamin, Max (mb388a)1-1/+2
updated line of business query to use nodes only Issue-ID: SO-3510 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8b43970795cf4dab6c9af48f3563857399761260
2021-01-28force not null with default valuesBenjamin, Max (mb388a)1-1/+1
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-11added in null check for vf module in case itBenjamin, Max (mb388a)1-1/+2
added in null check for vf module in case it doesnt exist Issue-ID: SO-3474 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9204340d72e7163f60be82427ae2fd8333c07d77
2020-12-21Merge "Fix healthcheck preload"Seshu Kumar M2-7/+15
2020-12-09added in support for delete instance cnfKalkere Ramesh, Sharan1-0/+5
Issue-ID: SO-3404 Change-Id: I1dccebefdeea8f53c4889cc7c61108462de0bf9c Signed-off-by: Kalkere Ramesh, Sharan <sk720x@att.com>
2020-12-04Fix healthcheck preloadk.kedron2-7/+15
Issue-ID: SO-3410 Signed-off-by: Krystian Kedron <k.kedron@partner.samsung.com> Change-Id: I7a345ebd23a8a9bb9cb0834b3be50f7987f44b42
2020-11-30changed cloud region query to A&AI to depth 1Benjamin, Max2-4/+4
changed cloud region query to A&AI to depth 1 nodes only Issue-ID: SO-3407 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I08b3de3de2a0308b623fa52756c8fb42c767e011
2020-11-30Merge "add caching to graph inventory client"Steve Smokowski1-0/+19
2020-11-26fixed nssmf init and update ResourceOperationStatus failhetengjiao1-3/+4
Issue-ID: SO-2963 Signed-off-by: hetengjiao <hetengjiao@chinamobile.com> Change-Id: I2a4749d462db92149cc5edf3c5a413c741740d29