aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
AgeCommit message (Collapse)AuthorFilesLines
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-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.ikram3-81/+80
Change-Id: I05c95912a2f7ed5fef7d76728b8a4c0a6cecca10 Issue-ID: SO-3702 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2021-06-24Updating pom version to 1.9.0-SNAPSHOTwaqas.ikram5-5/+5
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-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-24request db endpoint and bpmn cleanupKULESHOV, ELENA2-0/+16
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-0/+32
2021-03-12Merge "version upgrades plus cleanup"Max Benjamin3-47/+0
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-03-10add new sdnc interactionBOSLET, CORY1-0/+32
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, CORY3-47/+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-02-17Merge "update camunda and spring to latest versions"Steve Smokowski7-121/+14
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)7-121/+14
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-15update the version for the H releaseseshukm5-5/+5
Issue-ID: SO-2765 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I563295123f7f8de7164495a7db3bc58872863098
2021-02-10Merge "Read subnetCapabilities configuration file from SO pod"Seshu Kumar M5-9/+41
2021-02-02Merge "allow RestClient to configure custom headers"Steve Smokowski1-9/+9
2021-02-02Merge "set connection timeout as well as read timeout"Steve Smokowski1-1/+8
2021-02-01allow RestClient to configure custom headersBenjamin, Max (mb388a)1-9/+9
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-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-13added in changes to pom for new cadi dependenciesBenjamin, Max (mb388a)1-1/+19
added in changes to pom for new cadi dependencies moved aaf version to parent pom and pull version manage cadi dependency versions in root pom Issue-ID: SO-3480 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0b3ea6991369573826ee6f2d4260dcb35595cda7
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-10-01Restored methods to pre-java11 stateBenjamin, Max (mb388a)1-4/+44
Methods reverted Required for usage in groovy scripts Issue-ID: SO-3261 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id980f83cc444997e24971f2146b40f98ee6ed668
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-06Merge "requestorId not equal to request header"Steve Smokowski6-11/+17
2020-08-06bump the master to 1.7.1seshukm5-5/+5
Issue-ID: SO-2940 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: I888677f7d32ff35619be0f5bb2b677f56215f2e0
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-08-03Merge "Fix SO Security vulnerabilities"Seshu Kumar M1-0/+4
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>