summaryrefslogtreecommitdiffstats
path: root/common
AgeCommit message (Collapse)AuthorFilesLines
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, Elena5-0/+245
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 M2-7/+12
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 Smokowski3-3/+14
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, Venkat3-3/+14
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 Parthasarathy2-7/+12
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-08removed global configuration of jar pluginBenjamin, Max1-0/+17
removed global configuration of jar plugin to prevent extra artifacts Issue-ID: SO-2518 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I5b25150089f39792452cf67cac1c916ef2069bed
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 Smokowski2-2/+2
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, Gilbert2-2/+2
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-20Merge "Exception string in checkRelationshipRelatedTo"Steve Smokowski1-1/+1
2019-09-19Exception string in checkRelationshipRelatedToBhatt, Prema1-1/+1
Exception string in checkRelationshipRelatedTo not being returned properly. Added a new exception - UnassignNetworkException. Added a new unit test to test the exception case as per review comment. Updated UnassignNetworkBBTest.java file to fix the formatting errors. Updated unit test , removed setVariable, it wasn't needed to do as it was performed in the actual method call. Updated pom.xmp file to fix the formatting errors. Updated pom.xml file to fix the formatting errors. Issue-ID: SO-2346 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I617dfbcb07d6080598a3ef8138aad5c7008dcee2
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, Brittany34-1078/+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, Cory5-1/+223
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>
2019-08-26Merge "path prefix now stripped off per system"Steve Smokowski2-1/+12
2019-08-26Merge "fixed dsl builder to correctly add output"Steve Smokowski2-1/+45
2019-08-20path prefix now stripped off per systemBenjamin, Max2-1/+12
path prefix now stripped off per system Issue-ID: SO-2243 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ie74e7c68f927a49b612c433b4a664887058a1726
2019-08-19Close input streams via try-with-resourcesk.kazak1-4/+5
DefaultDmaapPropertiesImpl: close FileInputStream after loading ServicePluginFactory: close HttpClient if processing fails close application.properties InputStream after loading remove redundant catch block if behavior is the same add logging of exception in finally block BpmnInstaller: close csarFile if processing fails Change-Id: Ic6f942c401277c5150c5cc1297aba27ccd40694c Coverity-scan: CID-203903, CID-211476, CID-211615, CID-219308 Issue-ID: SO-2211 Signed-off-by: k.kazak <k.kazak@samsung.com>
2019-08-16fixed dsl builder to correctly add outputBenjamin, Max2-1/+45
fixed dsl builder to correctly add output look for lambda key rather than parent class null Issue-ID: SO-2233 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I251b9b8b4c391354b9759ee16a2462df43c188f9
2019-08-15Initial commit of validation framework to APIHSmokowski, Steven4-1/+102
Move ListenerRunner to common location Adjust request params name, update junit tests Update validations to work properly Properly escape period for the string split Issue-ID: SO-2232 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ia468cf7062cccf30e28afeb7a5cddc37ceb2e002
2019-08-12Merge "query builder now handles more than just strings"Steve Smokowski3-6/+20
2019-08-09All extendable enums should be serializableBenjamin, Max (mb388a)1-1/+3
marking items as transient causes them to be lost Issue-ID: SO-2217 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: If66f9034b67f94c8122875ef915043525fb9bdb7
2019-08-09query builder now handles more than just stringsBenjamin, Max3-6/+20
query builder now handles more than just strings Issue-ID: SO-2215 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: Ib138d96cf8578a0e3055120f9c3e036c690e7eae
2019-08-06updated delete payloads for bulk deletesBenjamin, Max8-20/+60
updated delete payloads for bulk deletes moved test-request.json to the correct location Issue-ID: SO-2203 Signed-off-by: Benjamin, Max (mb388a) <mb388a@att.com> Change-Id: I8d9d4d0bbe45f32d4e07a1ba0128e627d3b27795
2019-08-01Handle no pservers case on lock checkElena Kuleshov2-4/+13
Check for null return value from pservers query Issue-ID: SO-2184 Signed-off-by: Kuleshov, Elena <evn@att.com> Change-Id: I34c71601e694241a6d3cfefa8227200e715e2ed3