summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
AgeCommit message (Collapse)AuthorFilesLines
2020-04-29rename package for external useBenjamin, Max17-50/+50
rename package for external use Issue-ID: SO-2852 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Id883f0c847c24a260dbf8c63ce5e1330c045d6de
2020-04-28move aai-client into its own projectBenjamin, Max1-0/+5
move aai-client into its own project Issue-ID: SO-2837 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I20b700d160efbdf81ff22c9ca0fab73b28d3649b
2020-04-27refactor camunda client in apihPlummer, Brittany22-1434/+503
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-13lowered code smellsRupinder4-12/+0
removed unused imports Issue-ID: SO-2804 Change-Id: I85b8b35be12bad9183261183c490ee90702db9af Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
2020-04-07Add workflowName and operationName to v8 ofKuleshov, Elena11-8/+154
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-04-06Merge "Added logic to update the requests DB when a"Steve Smokowski1-4/+4
2020-04-04mso to add additional validation for alacarteSmokowski, Steven2-2/+29
Initial check in for querying AAI via DSL remove code which is not needed from validator Issue-ID: SO-2781 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I2828d9c107e747bac4dad02c46c2b505ca96a214
2020-04-04Added logic to update the requests DB when aBoslet, Cory1-4/+4
Added logic to update the requests DB when a Create or Delete BB is silent success and updated enum Updated regrex and add junit test for orch validator and formatted files Formatted pom files that were not formatted correctly. Removed use of ternary operator if statement and moved enum to static final. Updated equals method to include resource status message for mockito verify Removed resourceStatusMessage from equals and used argument capture instead Issue-ID: SO-2782 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I3a292f57d2771200ce85a99e845e776e2f3bd600
2020-03-31Merge "fix for getpnfworkflows url"Seshu Kumar M1-1/+1
2020-03-30Add validations to prevent out of order deletesSmokowski, Steven12-7/+480
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, Max4-2/+218
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, Brittany5-9/+86
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 Smokowski6-48/+117
2020-03-10Merge "Enable date span filtering for getOrchestrationFiltersFromInfraActive"Steve Smokowski3-23/+34
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski27-27/+27
2020-03-10Merge "remove requestorid from instancereferences in get"Steve Smokowski3-3/+3
2020-03-08false positive on network createsBoslet, Cory6-48/+117
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-06Enable date span filtering for getOrchestrationFiltersFromInfraActiveJozsef Csongvai3-23/+34
Issue-ID: SO-2715 Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca> Change-Id: I9cfeacce1e82eeacd2c6267523e5f3b950a68d3d
2020-03-05create custom spring aop annotation for loggingPlummer, Brittany27-27/+27
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, Brittany3-3/+3
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, Brittany2-6/+60
Added simpleNotTaskInfo format modifier Issue-ID: SO-2697 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifd0c00800e272165885c4a971a3fe5a9beca5686
2020-02-29Add Slice Service Activate Requestzm3303-0/+171
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: Id9d0b295b115e3639ebdbcf5287ea240ceb9eca7
2020-02-28Get service model uuid from AAI in delete E2EServiceInstanceszm3301-6/+16
Issue-ID: SO-2368 Signed-off-by: zm330 <zhangminyj@chinamobile.com> Change-Id: I1208da1ed2bd534172c3ab996a9767cae484befb
2020-02-28Merge "Modification of VFC adapter code to make it SOL005 compliant"Seshu Kumar M2-0/+151
2020-02-27Modification of VFC adapter code to make it SOL005 compliantSambasiva K2-0/+151
Change-Id: Ife06298197bed8c1e3766083c7bec39132610f84 Issue-ID: SO-1579 Signed-Off-by: Sambasiva K<sambasiva.kokkirala@verizon.com>
2020-02-27Merge "Add API for commit and abort OrchestrationTask"Chuanyu Chen1-0/+91
2020-02-26bump the versions for all the SO to 1.6.0seshukm5-5/+5
Issue-ID: SO-2519 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: Id0993b244b0978375ff8476e4bf8ef79e1bb9e68
2020-02-24Merge "mso to add tenant name and product family name to"Steve Smokowski10-6/+188
2020-02-24Add API for commit and abort OrchestrationTaskHarry Huang1-0/+91
Issue-ID: SO-2368 Add methods for commit and abort an OrchestrationTask Change-Id: I4646e00e6aa2e04e0b44ee860906da64c6e162fc Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-24Add DELETE API for OrchestrationTaskHarry Huang1-0/+33
Issue-ID: SO-2368 Add method for delete a OrchestrationTask Change-Id: Ic0d480f8e8d05f5f2dcbdc729f2c825bc348ca32 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-24Merge "Add PUT API for OrchestrationTask"Chuanyu Chen1-0/+35
2020-02-21mso to add tenant name and product family name toKuleshov, Elena10-6/+188
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 M5-85/+186
2020-02-21Add PUT API for OrchestrationTaskHarry Huang1-0/+35
Issue-ID: SO-2368 Add method for update a OrchestrationTask Change-Id: I96cc8354d070ec64e61ca6aa23129ef6f9880e7a Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-21Merge "Modify JerseyConfig"Chuanyu Chen1-0/+1
2020-02-21Merge "Add POST API for OrchestrationTask"Chuanyu Chen1-0/+22
2020-02-21Merge "Add method to send message to Camunda engine"Chuanyu Chen2-0/+23
2020-02-21Modify JerseyConfigHarry Huang1-0/+1
Issue-ID: SO-2368 Add Register for OrchestrationTask Change-Id: If57a9fca62e90616fef6d23b0f6b1561265db0f3 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-21Add POST API for OrchestrationTaskHarry Huang1-0/+22
Issue-ID: SO-2368 Add methods for create a OrchestrationTask Change-Id: I0d049b4e60ead8dbb4e524ae4081f17433ac78bd Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-21use pnfName in custom pnf workflow execution procedureUbuntu11-67/+88
Issue-ID: SO-2071 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: Ia97604b3b3d109d758914c04232256cdb262e121
2020-02-21Add method to send message to Camunda engineHarry Huang2-0/+23
Issue-ID: SO-2368 Modify CamundaRequestHandler to add method to send message to Camunda engine. Use non-blocking webclient considering workflow may take long time to finish. Change-Id: I70a8b38881ac40b4d65a3d7305f57a56829e6f1d Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-20Merge "Add Get API for OrchestrationTask"Chuanyu Chen1-0/+119
2020-02-20Merge "Add test for OrchestrationTaskRepository"Chuanyu Chen1-0/+75
2020-02-19SO API extenstion to retrieve all PNF workflowtragait5-85/+186
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-19Add Get API for OrchestrationTaskHarry Huang1-0/+119
Issue-ID: SO-2368 Add methods for get all orchestrationTask and get an specific one by querying id. Change-Id: I9fb444def7640a4d70357681637a924cf546314b Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-19Modify requestDbClient to add methods for OrchestrationTaskHarry Huang1-0/+38
Issue-ID: SO-2368 Add methods to handle OrchestrationTask Change-Id: I4595c5a1099977e5dba259bfbf77d666b1db699c Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-19Add test for OrchestrationTaskRepositoryHarry Huang1-0/+75
Issue-ID: SO-2368 Add test class for OrchestrationTaskRepository Change-Id: Ib709e992604a889422943be117c98bbe913a0166 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-19Merge "Add test for OrchestrationTaskRepository"Chuanyu Chen1-1/+12
2020-02-18extend query parameter to support pnfModelVersionIdYaoguang Wang5-12/+165
Issue-ID: SO-2559 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I51cb15f6750b378a9de3435951e3ea1644184a55