summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers
AgeCommit message (Collapse)AuthorFilesLines
2020-02-24Merge "mso to add tenant name and product family name to"Steve Smokowski10-6/+188
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
2020-02-17Merge "Add repository for OrchestrationTask"Seshu Kumar M1-0/+33
2020-02-14Merge "Fix Sonar issue - Refactor nested for if while if.."Lukasz Muszkieta4-246/+135
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-12Add repository for OrchestrationTaskHarry Huang1-0/+33
Issue-ID: SO-2368 OrchestrationTask will be used to store the slicing options which can be reviewed by the maintainer. OrchestrationTask itself is designed to be generic and parameters stored inside can be customized based on different use cases. Change-Id: I42c0639a62bf18f5d0c8bece746cd8e831dd88e8 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-12Merge "Add table for OrchestrationTask in requestDB"Seshu Kumar M1-0/+143
2020-02-11Add test for OrchestrationTaskRepositoryHarry Huang1-1/+12
Issue-ID: SO-2368 Add schema for create OrchestrationTask table Change-Id: I163c9a9ff7d1ec15eb9c0061b4a0eac6f6e8fc08 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2020-02-10Merge "Remove unused param"Steve Smokowski4-7/+11
2020-02-10Add table for OrchestrationTask in requestDBHarry Huang1-0/+143
Issue-ID: SO-2368 OrchestrationTask will be used to store the slicing options which can be reviewed by the maintainer. OrchestrationTask itself is designed to be generic and parameters stored inside can be customized based on different use cases. Change-Id: Iec1cb31ea93659b498b30d098879a9acb711c1ee Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
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
2020-01-08Merge "consolidated security configuration"Steve Smokowski3-238/+0
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-07Merge "Bug fix for Multi-result row data order"Chuanyu Chen1-2/+2
2020-01-06Merge "Removed CLIENT_ID from tests that was removed from"Steve Smokowski4-11/+11
2020-01-06Merge "Remove references to AIC"Steve Smokowski15-26/+26
2020-01-06Bug fix for Multi-result row data orderYulian Han1-2/+2
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064419 Issue-ID: SO-2071 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2020-01-03Remove references to AICBhatt, Prema15-26/+26
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-01Removed CLIENT_ID from tests that was removed fromPlummer, Brittany4-11/+11
Removed CLIENT_ID from tests that was removed from logging library Fixed formatting and imports on tests Issue-ID: SO-2579 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If886afdb6cc5154055a7e3821e4a24b4458ed45b
2020-01-02SO API to support custom PNF workflowYulian Han14-15/+209
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 M6-12/+205
2019-12-18Merge "update so to use 1.6.3 snapshot from the logging"Steve Smokowski3-125/+4
2019-12-16Fix requestId returned in GetPlummer, Brittany2-5/+13
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
2019-12-16update so to use 1.6.3 snapshot from the loggingPlummer, Brittany3-125/+4
Updated snapshot to 1.6.3 and began fixing failing tests Update SOAPLoggingInInterceptor to use new InvocationID value Changed client and server keys to InvocationID BPRestCallback to use ServerInvocationId Removed logging MDC checking from unit tests Began switching bprestcallback to use resttemplate Removed changes to logback replacing invocationIds Updated logic where requestEntity is created on null message Added unit tests for BPRestCallback Set InvocationID in MDC in SOAPLoggingInInterceptor Send in URI to prevent encoding of URI causing % to change to %25 Updated restTemplate to fix issue with interceptors Issue-ID: SO-2571 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7e0d80eae9036c993414ae96ebd571c89cb9dfa9
2019-12-13Merge "add application id support to so"Steve Smokowski3-4/+1
2019-12-13Merge "Add simple query format, to limit response content"Steve Smokowski2-18/+67
2019-12-13Merge "Sonar fix logger"Lukasz Muszkieta1-1/+2