summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main
AgeCommit message (Collapse)AuthorFilesLines
2023-03-31Code changes in SO api-handler for RAN SliceAbhishek Patil3-0/+572
Issue-ID: SO-4038 Change-Id: Ifad4e0a65dc810a753d30741a84c08081bcfd258 Signed-off-by: Patil <Abhishek.Patil@t-systems.com>
2023-02-17[SO] SO changes to support Delete ASraviteja.karumuri1-0/+19
Issue-ID: SO-4084 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ib75076bdd98291b48149a9ad859fd383a551cd45
2023-02-10[SO] Create changes for SO-API and BPMN-INFRA to support CNF's through ASDraviteja.karumuri4-5/+39
Issue-ID: SO-4069 Signed-off-by: raviteja.karumuri <raviteja.karumuri@est.tech> Change-Id: Ia8defe62c70e126df683ca523b10efe55a26db87
2023-01-11Add or Delete a PNF to an Active Servicesreeja gattagouni2-6/+58
-This feature Enables adding or deleting a PNF to an active Service. Issue-ID: SO-4046 Change-ID:I73f97f986a817d423f92f8d925dcd0947b8a2503 Signed-off-by: sreeja gattagouni <sg00744975@techmahindra.com>
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja1-0/+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 Rajewski1-1/+4
Issue-ID: SO-3980 Signed-off-by: Lukasz Rajewski <lukasz.rajewski@t-mobile.pl> Change-Id: Ie0cd0f973800196d5cb1e038db4a49208a6c4a3b
2022-05-09Update error handling for mapInfraActiveRequestToRequestMichael Pruss1-10/+1
Malformed instantiation requests persisted in requestdb causing orchestrationRequests API to throw ValidateException error when returning status on malformed requests. This causes the endpoint to not return any entries. To fix this, request body of malformed requests is not returned in the payload. The request status is still returned. Issue-ID: SO-3762 Change-Id: I693a81020d4f3544c915d9f431913a02849805dd Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2022-04-11Enable complex data types in service instanceParamsJozsef Csongvai1-1/+8
Issue-ID: SO-3923 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: Ibf371c4ffbedd6548a8e9630a9baeb5e2c43d7f4
2022-02-22CNF - Upgrade Functionality - API Handlersanket123452-1/+20
-Added new endpoint in API-Handler -upgradeCnf as new action Issue-ID: SO-3856 Change-Id: I49f12f215c312b712f32f0a700beb8590b7c6dfe Signed-off-by: sanket12345 <SX00562924@techmahindra.com>
2021-11-26Adjust RelatedInstancesValidation to enable child service requestsJozsef Csongvai1-1/+4
Issue-ID: SO-3811 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I135353f99896f1c64529adac1aa2b096388fd6e6
2021-11-15Disable VnfDeleteValidator for non-alacarte requests.Jozsef Csongvai1-1/+2
The validator will fail if there are active vf-modules for the vnf. The downstream vnf-delete macro will delete these vf-modules so the validator should not apply for this flow. Change-Id: If45c872e3b06d9dbb925bff21f7643694503c481 Issue-ID: SO-3801 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
2021-08-25Expose HealthCheck Northbound API of SOsanket123452-0/+19
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 M6-0/+705
2021-08-11SO changes for Service Intenthyu20106-0/+705
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 Csongvai2-0/+19
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-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss1-6/+57
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-06-18Add VNF-Macro-Create and VNF-Macro-DeleteJozsef Csongvai1-2/+1
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-03-11Update NSI selection process support shared NSI and add sst parameterzm3301-0/+11
Issue-ID: SO-3381 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I84f76e4e32fabc35fbd448ed1234d3427f89279d
2021-02-17Merge "update camunda and spring to latest versions"Steve Smokowski1-0/+1
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)1-0/+1
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-02-10Merge "Read subnetCapabilities configuration file from SO pod"Seshu Kumar M3-28/+24
2021-02-01set connection timeout as well as read timeoutBenjamin, Max (mb388a)1-1/+8
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-01-12Added to filter on internal data is false.Benjamin, Max (mb388a)1-2/+2
Added to filter on internal data is false. Filter out internal data on multiple results api Issue-ID: SO-3478 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6da466bd68c2ced33aa5ad1ad2ffeb7f22b6dc64
2020-11-19add caching to graph inventory clientBenjamin, Max1-0/+20
add caching to graph inventory client updated properties files to read cache properties Issue-ID: SO-3398 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib3e67ae014b6668c9b004aae1e8b5d49b9ce6b06
2020-11-11added configurable read timeout value for A&AIBenjamin, Max1-0/+7
added configurable read timeout value for A&AI Issue-ID: SO-3370 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1216608a09f6a8649a57aa4b320fbea4982a7efe
2020-11-10Read subnetCapabilities configuration file from SO poddeepikasatheesh3-28/+24
Issue-ID: SO-3372 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I1055ec23b572d4f8b19ba326615248153c895227
2020-10-21so does not capture the vnf namePlummer, Brittany1-4/+0
Add requestid to return headers to audit filter Added catch for exceptions from validators Removed unused test file Updated validation unit test Updated transactionId header assertion in failing test Updated assertion as validator order changes Updated assertions to check for requestId Issue-ID: SO-3325 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I246d9e371346639b4c4ea2b99add1d891af96b8e
2020-10-15Merge "Fix 3gppservices URI path"Seshu Kumar M1-9/+9
2020-10-07Fix 3gppservices URI pathReshmasree1-9/+9
Issue-ID: SO-3275 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: I65feaa06927d58fae368aeb42b6cb4ce66d57cf4
2020-10-07Add missing fields to the validation error record.Kuleshov, Elena4-11/+22
Add missing fields to the validation error record. Fix the variable name for service scope check. Correct the usage of the requestInfo variable. Issue-ID: SO-3286 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I67f5dd043c0ab8ee879a9e2e43f5544bb49ea275
2020-09-23removed references to AAIObjectTypeBenjamin, Max6-66/+86
removed references to AAIObjectType and AAIObjectPlurals additional corrections for removal of aai object type corrected additional java files updated groovy files to match aai fluent builder style Issue-ID: SO-3259 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifdf12fcacb34cc648548eb18b638afd06dad67a9
2020-09-17Merge "Implement Subnet Capability query functionality"Byung-Woo Jun3-12/+64
2020-09-10Implement Subnet Capability query functionalitydeepikasatheesh3-12/+64
Issue-ID: SO-3222 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I1797aeb1f2b4b461cee627200bda8312a0803524
2020-09-08Populate serviceInstanceId from instanceMap onKuleshov, Elena2-12/+33
Populate serviceInstanceId from instanceMap on validation error. Use Optional for return value for serviceInstanceId assist methods. Issue-ID: SO-3224 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I36a44ae42bb89d621dec5a2f85266458ea0e0766
2020-09-07Merge "Add new service in API-Handler for 3gpp service instances"Seshu Kumar M8-0/+1219
2020-08-31Set serviceInstanceId on failed validationKuleshov, Elena4-10/+23
Set serviceInstanceId on failed validation requests in the DB. Issue-ID: SO-3211 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ie4232dfd7caa2cc2661ce56b1b14863ac02628fc
2020-08-30Add new service in API-Handler for 3gpp service instancesReshmasree8-0/+1219
Issue-ID: SO-3189 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: Ieb2d3d36b6a216b00f4c13ebabdf268cf833d267
2020-08-05requestorId not equal to request headerKalkere Ramesh, Sharan6-11/+17
pull requestorId from MDC Issue-ID: SO-3126 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I619be7ed480f40ba880499c418c6078681cbd77c
2020-07-29Bug fix - SO GR Api sends wrong reposnse after service instantiationKrzysztof Gajewski1-6/+8
Issue-ID: SO-2836 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ib37b7972a939cd353a6cbb0370aed126534315d4
2020-07-16[SO] Service Level Workflow Execution APIajay_dp0015-160/+100
This commit implements - New SO Service level workflow execution API - Code refactoring on class InstanceManagement.java Issue-ID: SO-2930 Signed-off-by: ajay_dp001 <ajay.deep.singh@est.tech> Change-Id: Iabeeddab3ac47d257e25af0f3e43d8e857c70037
2020-07-08Merge "Service level workflow retrieving API"Byung-Woo Jun1-3/+26
2020-07-08Service level workflow retrieving APIrameshiyer271-3/+26
This commit implements the below API in SO. Get /workflowSpecifications/v1/workflows?resourceTarget={service} It adds functionality to query the workflows using resourceTarget as query param - Modified existing workflow API to accommodate resourceTarget queryParam Issue-ID: SO-2929 Signed-off-by: zrrmmua <ramesh.murugan.iyer@est.tech> Change-Id: I785cdd588b6094387906edb495e53b01596f5046
2020-06-30correct the query elementBonkur, Venkat1-1/+1
correct the query element Issue-ID: SO-3010 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Iadf496858a7ee3fd9f7ceddb0637b726da1a1c80
2020-06-04mso to add validation for vf module instantiationPlummer, Brittany6-7/+7
Updated validator to accept action on validate Added VnfInServiceValidator and unit tests Issue-ID: SO-2975 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5e1d7a40dab6a447588cac55edade5e2823e7dac
2020-05-27Merge "Added scriptName for deallocation of NSSI."Seshu Kumar M1-0/+12
2020-05-23Capture ids of vfModule and volumegroupsBonkur, Venkat2-2/+64
Capture ids of vfModule and volumegroups Issue-ID: SO-2951 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ibe8af16c899a66ef007f74eb2c4e42afb0c2b42f
2020-05-20Add Spring Component markup to rest validatorKuleshov, Elena5-3/+20
Add Spring Component markup to rest validator classes. Do not invoke serviceInstanceDeleteValidator for macro deletes. Issue-ID: SO-2945 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0eb501bccb016d5d5fed43c3f5d1bd39c7d4fd72
2020-05-15Merge "removed code smells"Steve Smokowski4-7/+0
2020-05-11requestid values have commas audit logPlummer, Brittany1-1/+0
Removed overwriting header with random uuid Removed setting of duplicate headers, updated SOAP logging Re-added setting non-duplicate header Updated version of logging library to get elapsedTime changes Fixed failing unit tests in MSOCommonBPMN Issue-ID: SO-2916 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6b30d69daf210dd903e6a1c1d832de49bf8119d5
2020-05-07uri params now available in info objectBenjamin, Max2-28/+30
uri params now available in info object make sure uri keys are retrieved via constants Issue-ID: SO-2908 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieb701c2705ecdb2365d557bc51e4f604d92ec680