aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/main
AgeCommit message (Collapse)AuthorFilesLines
2020-05-06removed code smellsRupinder4-7/+0
Issue-ID: SO-2804 Change-Id: I53d80ba69119009429fec29e5545301bbfe2b585 Signed-off-by: Rupinder <rupinsi1@in.ibm.com>
2020-04-29rename package for external useBenjamin, Max9-36/+36
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, Brittany5-515/+192
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 smellsRupinder3-4/+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, Elena2-0/+25
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-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-01Added scriptName for deallocation of NSSI.isaac.manuelraj1-0/+12
Added scriptName for deallocation of NSSI. scriptName will be passed to NSSMF Adapter. Issue-ID: SO-2723 Signed-off-by: Isaac Manuel Raj <isaac.manuelraj@huawei.com> Change-Id: I69a5445f6ad0870b7aa855fc3ca80ac8e3cf3879
2020-03-30Add validations to prevent out of order deletesSmokowski, Steven8-7/+183
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-18Correct object provider for jerseyBenjamin, Max1-2/+1
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, Brittany2-6/+30
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-9/+21
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski22-22/+22
2020-03-10Merge "remove requestorid from instancereferences in get"Steve Smokowski1-2/+0
2020-03-08false positive on network createsBoslet, Cory1-9/+21
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, Brittany22-22/+22
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-2/+0
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-6/+9
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 Requestzm3302-0/+157
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-27Merge "Add API for commit and abort OrchestrationTask"Chuanyu Chen1-0/+91
2020-02-24Merge "mso to add tenant name and product family name to"Steve Smokowski3-2/+80
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, Elena3-2/+80
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-51/+67
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 Chen1-0/+19
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 procedureUbuntu4-23/+16
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 Huang1-0/+19
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-19SO API extenstion to retrieve all PNF workflowtragait1-51/+67
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-18extend query parameter to support pnfModelVersionIdYaoguang Wang1-10/+51
Issue-ID: SO-2559 Signed-off-by: Yaoguang Wang <sunshine.wang@huawei.com> Change-Id: I51cb15f6750b378a9de3435951e3ea1644184a55
2020-02-12Fix Sonar issue - Refactor nested for if while if..Tomasz Wrobel4-246/+135
Issue-ID: SO-1841 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I65380661dc11cd0e5d77b59a72aa5a25a955a638
2020-02-10Merge "Remove unused param"Steve Smokowski3-6/+10
2020-02-07Remove unused paramSmokowski, Steven3-6/+10
Remove unused param from request parameters Issue-ID: SO-2651 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1c9a8e05aa329ee65f9910ab25319a0a61d54675
2020-02-06optimize camunda process instance historyPlummer, Brittany3-18/+30
Set buinessKey to requestId. Added plugin to pass businessKey to subprocesses Updated process-instance and activity-instance lookups to filter response Removed duplicate tests and updated att history lookup Updated businessKey to be set to mso-request-id Updated snapshot version to fix build issues Removed query param from properties. added uribuilder Updated to use uriBuilder.build().toString() Updated unit tests to lookup by procesInstanceId to fix build failure Issue-ID: SO-2650 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I357053c52a75ee5149a56392ce866dbb654b541d
2020-02-05Fix Sonar issue with throw generic exception on apihandlerinfraTomasz Wrobel5-22/+50
Issue-ID: SO-2645 Signed-off-by: Tomasz Wrobel <tomasz.wrobel@nokia.com> Change-Id: I111ca7c7bef271386bd075e2b948f29d7c2b4516
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena1-1/+1
Initial Manual Handling addition to Rainy Day BB handling. Reenable task API, add task variable setup. TaskTimeout will come from the configuration settings. Update the base path for the APIH manual tasks junit. Additional JUNIT tests for manual handling Add Manual as a primary policy for Change Management BBs. Error handling changes and robot tests for manual handling. Correct failure data retrieval when serviceSubscription is unavailable. Correct failure data retrieval when serviceSubscription is unavailable. Keep WorkflowException when manual pause gets invoked; improved error reporting. Issue-ID: SO-2616 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I98a84c1a489bb7b24b68e567f604aeb074fd7bf9
2020-01-101911 create appc adapter micro serviceKuleshov, Elena1-1/+2
Added new appc adapter micro service. Made required code changes to use the new adapter. Issue-ID: SO-2596 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I880ecace64ec85ca4094a82bc1210798fd3bb85d
2020-01-07consolidated security configurationBenjamin, Max3-238/+0
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2020-01-06Merge "Remove references to AIC"Steve Smokowski3-3/+3
2020-01-03Remove references to AICBhatt, Prema3-3/+3
Removed AIC prefix from java files, wherever column AIC_CLOUD_REGION was referenced. Removed AIC prefix from test data files, wherever column AIC_CLOUD_REGION was referenced. Issue-ID: SO-2572 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib380bc39eedf61fff27daa74132d1df20a3ae4b7
2020-01-02SO API to support custom PNF workflowYulian Han5-12/+138
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064418 Issue-ID: SO-2071 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M5-12/+194
2019-12-16Fix requestId returned in GetPlummer, Brittany1-2/+6
Set requestId to be returned to requestId sent on incoming request Issue-ID: SO-2573 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7ac20400f2b5f4dc9abff81b263acef5ad52a2fa