aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/java/org/onap
AgeCommit message (Collapse)AuthorFilesLines
2022-08-10Multiple PNFs with same ModelInfo but different instance name not able to be ↵Aleem Raja1-0/+69
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
2021-11-26Adjust RelatedInstancesValidation to enable child service requestsJozsef Csongvai1-0/+18
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/+17
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-11SO changes for Service Intenthyu20101-0/+156
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-07-30Support instantiation of same model vnfs/vf-modulesMichael Pruss1-0/+177
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-02-17Merge "update camunda and spring to latest versions"Steve Smokowski2-8/+8
2021-02-16update camunda and spring to latest versionsBenjamin, Max (mb388a)2-8/+8
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 M1-1/+1
2021-01-12Added to filter on internal data is false.Benjamin, Max (mb388a)1-4/+5
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-10Read subnetCapabilities configuration file from SO poddeepikasatheesh1-1/+1
Issue-ID: SO-3372 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I1055ec23b572d4f8b19ba326615248153c895227
2020-10-21so does not capture the vnf namePlummer, Brittany2-1/+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-07Fix 3gppservices URI pathReshmasree1-10/+10
Issue-ID: SO-3275 Signed-off-by: Reshmasree <reshmasree.chamarthi2@wipro.com> Change-Id: I65feaa06927d58fae368aeb42b6cb4ce66d57cf4
2020-09-23removed references to AAIObjectTypeBenjamin, Max3-23/+36
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 Jun1-0/+17
2020-09-10Implement Subnet Capability query functionalitydeepikasatheesh1-0/+17
Issue-ID: SO-3222 Signed-off-by: deepikasatheesh <deepika.s84@wipro.com> Change-Id: I1797aeb1f2b4b461cee627200bda8312a0803524
2020-09-08Populate serviceInstanceId from instanceMap onKuleshov, Elena1-0/+31
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 M1-0/+181
2020-08-30Add new service in API-Handler for 3gpp service instancesReshmasree1-0/+181
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-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 Gajewski4-2/+20
Issue-ID: SO-2836 Signed-off-by: Krzysztof Gajewski <krzysztof.gajewski@nokia.com> Change-Id: Ib37b7972a939cd353a6cbb0370aed126534315d4
2020-07-24Cleanup unit testsKuleshov, Elena1-6/+1
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_dp0011-5/+33
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-08Service level workflow retrieving APIrameshiyer271-4/+49
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-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, Brittany4-12/+12
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-23Capture ids of vfModule and volumegroupsBonkur, Venkat2-4/+142
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, Elena1-3/+25
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-08Added to support to enabling l2 multicastingBoslet, Cory1-1/+2
updated aai dependency Added to support to enabling l2 multicasting for lnterfaces. Issue-ID: SO-2914 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idf34a41777e23b7171bd09c174830a4eeeb79e4b
2020-04-29rename package for external useBenjamin, Max8-14/+14
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-27refactor camunda client in apihPlummer, Brittany3-10/+10
Switched CamundaClient to use restTemplate Combined clients into one CamundaClient Initial setup of exception handling in camundaclient Initial fix of compilation issues Switched CamundaClient constructor Updated how url is set in CamundaClient Updated auth to fix tag mismatch warning Added throwing ClientConnectionException to client Updated ServiceInstancesTest cases Updated error handling for CamundaClient Updated how response is returned Fixed failing unit tests in apih infra Refactored response handler for responseentity Fixed failing unit tests in apih Removed old unit tests for client Import cleanup for unneeded changes Updated to use new CamundaClient Updated CamundaClient and ResponseHandler tests Removed unused RequestHandler Issue-ID: SO-2834 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I82ff489c9c939a7e8ec0e48476daf7e45baa5f20
2020-04-07Add workflowName and operationName to v8 ofKuleshov, Elena2-0/+90
Add workflowName and operationName to v8 of orchestrationRequests response. Fix typo in the schema for infra_active_requests. Change version matching for the new interface fields. Issue-ID: SO-2799 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Icc7f3c6271023a578df2c1d969c807a578cc9577
2020-03-31Merge "fix for getpnfworkflows url"Seshu Kumar M1-1/+1
2020-03-30Add validations to prevent out of order deletesSmokowski, Steven4-0/+297
Add validations to prevent out of order deletes Add additional junits to all validations Remove tests that are not longer needed Issue-ID: SO-2772 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I00b8490691181bc1e95da25c73e0f215e1c2b0e2
2020-03-23fix for getpnfworkflows urltragait1-1/+1
Issue-ID: SO-2756 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: I999d590dd76090a7aaabc84ad49030f24453485f Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-03-18Correct object provider for jerseyBenjamin, Max1-0/+84
Initial setup of aai test for unknown property error updated mapper provider in AAI Client added back support for cxf clients updated aai-schema version to a release version formatted file that was missed moved provider register calls together Issue-ID: SO-2750 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0bf694f39bbab9bcbabd85bb30fb9dbf23f00520
2020-03-12Added check to prevent camunda history lookup onPlummer, Brittany1-0/+53
Added check to prevent camunda history lookup on older requests Issue-ID: SO-2726 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ie8513626f942404241c351313a791098a0708db4
2020-03-10Merge "false positive on network creates"Steve Smokowski1-28/+70
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski2-2/+2
2020-03-10Merge "remove requestorid from instancereferences in get"Steve Smokowski1-0/+2
2020-03-08false positive on network createsBoslet, Cory1-28/+70
Added a new resourceStatusMessage field to the GET orch request API added new column to infra active request table updated openstack adapter to record the resource status added support of v8 on GET orch request API. Issue-ID: SO-2718 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I73b35f1562de4df477bf7e5cef01de13440ba98a
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany2-2/+2
Added annotation for setting up scheduled tasks logs Added new annotation to scheduledTasks Moved annotation setup to logging-library Issue-ID: SO-2713 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7080c4bb289e454f14167631e2601c954389c0ef
2020-03-04remove requestorid from instancereferences in getPlummer, Brittany1-0/+2
Removed requestorId from get orchestration response Added assertion to show that requestorId isn't set Issue-ID: SO-2699 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9f8b8a7619ef54575ab3ee07eee504a5bd57ab29
2020-03-03Added simpleNotTaskInfo format modifierPlummer, Brittany1-0/+51
Added simpleNotTaskInfo format modifier Issue-ID: SO-2697 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifd0c00800e272165885c4a971a3fe5a9beca5686
2020-02-21mso to add tenant name and product family name toKuleshov, Elena2-0/+71
Add productFamilyName and tenantName to requests DB and request status results. Add more JUnits, fix JUnit schema files. Robot test adjustments to create service object in AAI when needed. Update robot tests to verify presence of productFamilyName and tenantName in return data. Add missing return of retrieved productFamilyName in robot test Add checking of tenantName on return to another robot test. Update archiving of infra requests for tenantName and productFamilyName. Issue-ID: SO-2674 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2950b7783ee863dc59360c6124f38bee89cb2140
2020-02-21Merge "SO API extenstion to retrieve all PNF workflow"Seshu Kumar M1-32/+76
2020-02-21use pnfName in custom pnf workflow execution procedureUbuntu1-1/+2
Issue-ID: SO-2071 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: Ia97604b3b3d109d758914c04232256cdb262e121
2020-02-19SO API extenstion to retrieve all PNF workflowtragait1-32/+76
This commit implements SO request handler API onap/so/infra/workflowSpecifications/v[x]/pnfWorkFlows. It is used to get all the pnf workflows exist in catalogdb. Issue-ID: SO-2660 Change-Id: Ieeca8a6afef917b6e3ba927d38ed5509dcaf253c Signed-off-by: tragait <rahul.tyagi@est.tech>
2020-02-18extend query parameter to support pnfModelVersionIdYaoguang Wang1-2/+48
Issue-ID: SO-2559 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I51cb15f6750b378a9de3435951e3ea1644184a55