summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src
AgeCommit message (Collapse)AuthorFilesLines
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja3-0/+184
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 Rajewski3-1/+160
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 Csongvai3-1/+160
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 Csongvai2-2/+19
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 M10-0/+928
2021-08-11SO changes for Service Intenthyu201010-0/+928
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 Pruss9-27/+472
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-30Reducing org.reflections package loggingwaqas.ikram1-38/+35
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
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 Smokowski3-8/+9
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)3-8/+9
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 M5-9/+41
2021-02-02Merge "set connection timeout as well as read timeout"Steve Smokowski1-1/+8
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-28force not null with default valuesBenjamin, Max (mb388a)1-4/+4
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-12Added to filter on internal data is false.Benjamin, Max (mb388a)3-7/+18
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-12-08software-version fixtragait1-0/+1
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-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 poddeepikasatheesh5-9/+41
Issue-ID: SO-3372 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I1055ec23b572d4f8b19ba326615248153c895227
2020-10-21so does not capture the vnf namePlummer, Brittany3-5/+5
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 M2-19/+19
2020-10-07Fix 3gppservices URI pathReshmasree2-19/+19
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, Max9-89/+122
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 Jun4-12/+81
2020-09-10Implement Subnet Capability query functionalitydeepikasatheesh4-12/+81
Issue-ID: SO-3222 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I1797aeb1f2b4b461cee627200bda8312a0803524
2020-09-08Populate serviceInstanceId from instanceMap onKuleshov, Elena3-12/+64
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 M15-0/+1511
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 instancesReshmasree15-0/+1511
Issue-ID: SO-3189 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: Ieb2d3d36b6a216b00f4c13ebabdf268cf833d267
2020-08-26removed unused variablesKuleshov, Elena1-3/+0
removed unused variables from tests Issue-ID: SO-3107 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I89797c7204990bb5f84f943ff3265c0d8e7d32dc
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-31Merge "[SO] create generic pnf healthcheck workflow"Byung-Woo Jun1-3/+3
2020-07-30[SO] create generic pnf healthcheck workflowtragait1-3/+3
This commit implements workflow for pnf health check and its respective test cases. Issue-ID: SO-3018 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Idffcbf78809c33dd7a059bc87962716d0a9cd81c Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-07-29Bug fix - SO GR Api sends wrong reposnse after service instantiationKrzysztof Gajewski5-8/+28
Issue-ID: SO-2836 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ib37b7972a939cd353a6cbb0370aed126534315d4
2020-07-24Cleanup unit testsKuleshov, Elena4-17/+7
Remove references to systems no longer part of ONAP Issue-ID: SO-3096 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I31f8975e230b04d58ef3c36f198f1cafa508c5b7
2020-07-16[SO] Service Level Workflow Execution APIajay_dp0018-165/+178
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 Jun4-7/+136
2020-07-08Service level workflow retrieving APIrameshiyer274-7/+136
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-18Prepare for java 11Benjamin, Max1-1/+1
final changes for java11 groovy compatibility removed unnecessary dependencies and cleaned up poms added missing jaxws-api dependency to pom.xml java8 profile is now active by default in parent pom update beans to have RemoteResource annotation always use the compiler plugin from parent pom Update external task timeout to longer value to hold lock update remote resource annotation to match catalog db client add remote resource annotation to bean for bowman completely remove bowman from requests db client Issue-ID: SO-2059 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If6f0df36e8077ccd703abce9f64290daed63955b
2020-06-04mso to add validation for vf module instantiationPlummer, Brittany10-19/+19
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