summaryrefslogtreecommitdiffstats
path: root/common/src
AgeCommit message (Collapse)AuthorFilesLines
2020-02-10Fix for SO-2598waqas.ikram3-9/+87
Change-Id: If2086de6cb635f39a03927be35fed9c177919211 Issue-ID: SO-2598 Signed-off-by: waqas.ikram <waqas.ikram@est.tech> Making WebSecurityConfigurerAdapter configurable so that other components can configure it per there requirement Change-Id: I8f7674710ff41195946a710b86c7c8d7b52815f8 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-02-10Merge "Initial commit to check client alive"Steve Smokowski2-2/+83
2020-02-10Merge "Remove unused param"Steve Smokowski1-12/+1
2020-02-10Merge "add retry sequence levels"Steve Smokowski3-8/+41
2020-02-07Initial commit to check client aliveSmokowski, Steven2-2/+83
Initial commit to check client alive Issue-ID: SO-2653 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib9f4cf7f5815bd9b8d0d42417f3e5fd83382547a
2020-02-07Remove unused paramSmokowski, Steven1-12/+1
Remove unused param from request parameters Issue-ID: SO-2651 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1c9a8e05aa329ee65f9910ab25319a0a61d54675
2020-02-07add retry sequence levelsBoslet, Cory3-8/+41
Added retry sequence levels so that the different services can specify their desire. Updated to be medium and added to be long sequence in audit. Change retry level to be final and changed default constructor to private Changed default constructor to public so its visible. Updated unit test to reflect change and get verify job to pass Added and updated the unit test for add graph Issue-ID: SO-2649 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I981b90a5dbb1dca5354fba37589b26dabbfc0b0e
2020-02-07Changed Basic Authorization in receiving NotificationPiotr Borelowski1-3/+9
Ve-Vnfm (SOL002) Adapter project Issue-ID: SO-2574 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I95dfebd0e024af91b9bac4d8a4bb97d271badc70
2020-01-30Merge "add manual handling to rainy day handling for bbs"Steve Smokowski9-641/+0
2020-01-30Added the communication with AAIPiotr Borelowski1-0/+5
Ve-Vnfm (SOL002) Adapter project Issue-ID: SO-2574 Signed-off-by: Piotr Borelowski <p.borelowski@partner.samsung.com> Change-Id: I32a1a560d2787b966f1634b3679368412af19520
2020-01-24add manual handling to rainy day handling for bbsKuleshov, Elena9-641/+0
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-21Merge "Encryption and decryption of OpenStack Passwords removed"Steve Smokowski1-0/+2
2020-01-17Fix for SO-2598waqas.ikram5-98/+131
Change-Id: I26a8251bd878d95ae3ede8d27bf9f42a6692e338 Issue-ID: SO-2598 Signed-off-by: waqas.ikram <waqas.ikram@est.tech>
2020-01-16Merge "mso stores vnf application id from macro create"Steve Smokowski1-2/+11
2020-01-13mso stores vnf application id from macro createBonkur, Venkat1-2/+11
mso stores vnf application id from macro create Issue-ID: SO-2591 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I83aab47ef41b93fa72581823a27c7ae7fa699e52
2020-01-101911 create appc adapter micro serviceKuleshov, Elena4-0/+184
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-08configurable aaf user expiresBenjamin, Max1-0/+4
aaf user expires now configurable via properties Issue-ID: SO-2590 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib4cd4f9062862fe8833ee2009a65e8984d8692bf
2020-01-07consolidated security configurationBenjamin, Max4-2/+241
consolidated security configuration into common package Issue-ID: SO-2584 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I1e78259ffbf88e792f1f7a5a10cd1fdad8eaea36
2020-01-02SO API to support custom PNF workflowYulian Han1-0/+11
Change-Id: Idaa55084f5ecb0dd3636c232cebc14fa5f064418 Issue-ID: SO-2071 Signed-off-by: Yulian Han <elaine.hanyulian@huawei.com>
2019-12-20Add pnfs resources handling in service macro createpwielebs2-0/+126
Issue-ID: SO-2568 Signed-off-by: Piotr Wielebski <piotr.wielebski@nokia.com> Change-Id: If6c6ad5469c9637af119c811e6f87ea00a282f18
2019-12-20Merge "Added AAF Integration related changes"Seshu Kumar M1-7/+1
2019-12-16Encryption and decryption of OpenStack Passwords removedDominik Mizyn1-0/+2
Description from Jira ticket: Current way of passing OpenStack password to SO is to encrypt it with a symmetric key that can be find in both OOM repo and source code. This means that the key is already compromised and this additional encryption does not introduce any additional security layer. Additionally this creates a fake security feeling for people who are not very familiar with the cryptography as they may think that their password is safe because it has been encrypted. Instead of using some custom-made method of passing this password please just use a secret and pass it via environment variable unencrypted and just never store it in a config file Issue-ID: SO-2535 Change-Id: Iaad50d7d22fe0fc1e3f7e8c5c5cd3a788d777574 Signed-off-by: Dominik Mizyn <d.mizyn@samsung.com>
2019-12-16update so to use 1.6.3 snapshot from the loggingPlummer, Brittany1-2/+3
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 Smokowski2-2/+13
2019-12-12Add simple query format, to limit response contentSmokowski, Steven1-1/+1
Add simple query format, to limit response content Add simple query format, to limit response content Add simple query format, to limit response content Issue-ID: SO-2570 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7570828d7c47e0635239dba50d0f7f76bd17f4a8
2019-12-11add application id support to soBonkur, Venkat2-2/+13
add application id support to so api Issue-ID: SO-2561 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ifc8c4dd5e178b68347a7df01ab1942a59baca9b0
2019-12-11Merge "Add so-simulator project"Java-11-upgrade1212masterMax Benjamin1-61/+0
2019-12-11Add so-simulator projectMnushkin, Dmitry1-61/+0
contribute simulator to onap project Issue-ID: SO-2463 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I0a3a71fdeb47cbbd686830045a8bc40769102a29
2019-11-22Merge "vnf and vf module replace requests to make"Steve Smokowski2-2/+12
2019-11-22improve error log scoresPlummer, Brittany4-5/+5
Updated error code name to fix spelling Defaulted errorcode and errordesc to unknown when not provided Remove unused imports from nc orchestrator application Added defaulting of serviceName to error log Issue-ID: SO-2538 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5ae960f728739e2528173b66484562742429416c
2019-11-21Added AAF Integration related changesRamesh Parthasarathy1-7/+1
Created two profiles for the application to run. Basic profile will allow the application to run in the current spring security authentication. AAF profile will authenticate and authorize requests with AAF. if no profile is given, it will fallback to basic. Change-Id: I2576f02e7afca3c10e02aaffef66a60fa1c4dd1a Issue-ID: SO-2451 Signed-off-by: Ramesh Parthasarathy(rp6768)<ramesh.parthasarathy@att.com>
2019-11-20vnf and vf module replace requests to makePlummer, Brittany2-2/+12
Added cloudConfiguration when not sent in replace request Added robot test for vfModule request with no cloud config Started adding unit tests for ServiceInstances Added unit tests for BpmnRequestBuilder changes Added ServiceInstances tests to test replace without CloudConfig Removed unused wiremock stubbings from test Added check for replaceInstanceRetainAssignments action Added action to common package to fix failing robot tests Removed new test, updated existing vfModule replace Added jackson annotations to RequestError object Fixed failing unit tests apih common Issue-ID: SO-2523 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I9470a0a9c7e356ef98ceb7269e066e79e0afb074
2019-11-19add junit coverageLukasz Muszkieta1-43/+75
Change-Id: I060660abd9b07e6262d08efde3eafcbf29fa762b Issue-ID: SO-1576 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2019-11-07remove unused columns infra active requestsChan, Mercy1-0/+1
Removed unused columns in db across codebase Issue-ID: SO-2516 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ieedb61ed371bc3626ef94df0bf88b7a9cf139c82
2019-10-16Merge "update scheduled tasks to have mdc setup"Steve Smokowski4-3/+188
2019-10-14Merge "General sonar fixes"Lukasz Muszkieta1-2/+1
2019-10-14update scheduled tasks to have mdc setupPlummer, Brittany4-3/+188
Added MDCSetup for Scheduled Tasks Added tests for ScheduledTasksMDCSetup Added required fields for audit log and markers Issue-ID: SO-2444 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I05e8032ed934abd76d898559c51230761d36b78c
2019-10-09Merge "Converted tests to use LATEST"Steve Smokowski1-1/+1
2019-10-09Improved error handlingMichaelMorris4-9/+61
Change-Id: Iac436f6a950bf61ac6321ef1d427a7bb14774e30 Issue-ID: SO-2395 Signed-off-by: MichaelMorris <michael.morris@est.tech>
2019-10-07Converted tests to use LATESTGamboa, Gilbert1-1/+1
Always use LATEST for A&AI based tests rather than a particular version Issue-ID: SO-2398 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I7840b46f8d50b74a6e6b98270c4f3febc4d0b993
2019-10-03General sonar fixesArindam Mondal1-2/+1
Issue-ID: SO-2381 Change-Id: I58c41ec7295838465a8af28721842625ee828a17 Signed-off-by: arindamm <arind.mondal@samsung.com>
2019-09-25Merge "Added missing headers"Steve Smokowski2-2/+41
2019-09-24check for null before setting headersMnushkin, Dmitry2-1/+99
check for null before setting headers Issue-ID: SO-2356 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I51bd332b13f687df09bc80489cf93baebc84ceb8
2019-09-24Added missing headersPlummer, Brittany2-2/+41
Added missing headers to files Issue-ID: SO-2365 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib3f7808d997e324da4ae57f40d4f7ba946721538
2019-09-19update logging to match onap logging libraryPlummer, Brittany7-30/+32
Updated to use changes added to logging library in ONAP Updated RestClient to set mdc rather than extend filter Updated filter removal to include new spring filter Updated to exclude filter causing failure in catdb Excluded filter causing failures in requestdb Updated requestdbatt to exclude filter Updated check for spring filters to fix failing tests Issue-ID: SO-2353 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Idb081a0f5527690f9dc41c7914a2d721f9022aea
2019-09-11Merge "error message formatter now handles percent"Steve Smokowski2-1/+19
2019-09-10error message formatter now handles percentBenjamin, Max2-1/+19
error message formatter now handles percent encoding Issue-ID: SO-2303 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If4784ab54023b1df43eb7ee266a2797c9a12731b
2019-09-10Integrate Logging LibraryPlummer, Brittany33-1073/+342
Updated SO to use ONAP provided filters and constants to meet logging standards. Removed redundant classes Updated constant references Issue-ID: SO-2301 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia4e3c2b1a4dcb3881aa34d39885c8b2782880d64
2019-09-08Created external task utils in a common locationBoslet, Cory4-0/+218
Created external task utils in a common location then refactored external task to use these common utils Updated junit errors and failures in openstack Removed env param and updated unit test with class Remove env file from parm in unit test class Match argu to match class abstract to con. removed implementation within anonymous class Issue-ID: SO-2291 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I47c2850d750cbfe7ef67e2396fcb46db43e3cb97
2019-09-04General sonar fix add loggerArindam Mondal1-0/+4
Issue-ID: SO-2226 Change-Id: I5a826a9ea75b3065987a274ab7962c4a5fc1d614 Signed-off-by: arind.mondal <arind.mondal@samsung.com>