aboutsummaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src
AgeCommit message (Collapse)AuthorFilesLines
2020-05-15Merge "removed code smells"Steve Smokowski4-7/+0
2020-05-11requestid values have commas audit logPlummer, Brittany1-1/+0
Removed overwriting header with random uuid Removed setting of duplicate headers, updated SOAP logging Re-added setting non-duplicate header Updated version of logging library to get elapsedTime changes Fixed failing unit tests in MSOCommonBPMN Issue-ID: SO-2916 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I6b30d69daf210dd903e6a1c1d832de49bf8119d5
2020-05-11Merge "Added to support to enabling l2 multicasting"Steve Smokowski1-1/+2
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-05-07uri params now available in info objectBenjamin, Max2-28/+30
uri params now available in info object make sure uri keys are retrieved via constants Issue-ID: SO-2908 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieb701c2705ecdb2365d557bc51e4f604d92ec680
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, 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-27refactor camunda client in apihPlummer, Brittany9-527/+204
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, Elena7-2/+121
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-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 Smokowski3-37/+93
2020-03-10Merge "create custom spring aop annotation for logging"Steve Smokowski24-24/+24
2020-03-10Merge "remove requestorid from instancereferences in get"Steve Smokowski3-3/+3
2020-03-08false positive on network createsBoslet, Cory3-37/+93
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, Brittany24-24/+24
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 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 Smokowski7-2/+157
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, Elena7-2/+157
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 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 procedureUbuntu7-43/+64
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 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-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
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 Smokowski4-7/+11
2020-02-07Remove unused paramSmokowski, Steven4-7/+11
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, Brittany10-123/+62
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, Elena3-3/+3
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, Elena2-1/+4
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