summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-09-18Upgrade to openstack libs version 1.3.0Rob Daugherty6-25/+24
Version 1.3.0 uses fasterxml.jackson. Note: several unit tests were wrong and had to be fixed. They were using a fasterxml ObjectMapper to deserialize openstack library class objects compiled with codehaus JsonProperty annotations. Consequently, the ObjectMapper could not "see" the annotations. The tests "worked" because the json was constructed wrongly to match. I have now fixed the json so that they have the true property names defined by the annotations. Change-Id: I088137ee5dd5af9cffd426610a50ae6408c5b190 Issue-ID: SO-1025 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-09-18Merge "fixed sonar issue in MsoNetworkAdapterAsyncImpl"Seshu Kumar M1-16/+16
2018-09-18NexusIQ issue: commons-beanutilsRob Daugherty4-17/+0
This artifact is not actually used by SO. Removed it from the poms. Change-Id: Icfeb3026581996bc980a223232a305c488a01fb2 Issue-ID: SO-1065 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-09-18Merge "junits for HttpClientRedirectStrategy"Seshu Kumar M1-0/+50
2018-09-18Merge "added test case to CamundaClientTest.java"Seshu Kumar M1-34/+52
2018-09-18Merge "Fix issues with load spinner and stats"Seshu Kumar M8-73/+128
2018-09-18Fix issues with load spinner and statsRonan Kenny8-73/+128
Fixing issues where stats returned Nan and implementation of loading spinner Change-Id: I989efb739ed244de3760476ce2dfff8928f51c86 Issue-ID: SO-727 Signed-off-by: Ronan Kenny <ronan.kenny@ericsson.com>
2018-09-18junits for HttpClientRedirectStrategyTomasz Gwozdecki1-0/+50
-Added new tests for HttpClientRedirectStrategy -Tests for method getRedirect Change-Id: Ica45eac1cbf65170b5b9c84f002b05884c36f5a0 Issue-ID: SO-814 Signed-off-by: Tomasz Gwozdecki <tomasz.gwozdecki@nokia.com>
2018-09-18Merge "Added log in case of exception in servicepluginfac"Seshu Kumar M1-3/+2
2018-09-18Merge "conflict process"Seshu Kumar M3-120/+345
2018-09-18Merge "save csar file path add directory version"Seshu Kumar M3-3/+16
2018-09-18Merge "NetworkAdapterRest.java: Fixed sonar issues"Seshu Kumar M1-10/+10
2018-09-18Merge "Fix to use common MsoLogger"Seshu Kumar M3-46/+66
2018-09-17NexusIQ Issue: org.codehaus.groovyRob Daugherty2-2/+2
Upgrade from version 2.4.7 to 2.4.8 Change-Id: Ieff55648420b03151d0d5534ef9f64b82145c26f Issue-ID: SO-1064 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-09-17Fix Parse VersionSmokowski, Steve (ss835w)1-2/+2
Issue-ID: SO-1063 Change-Id: I6d627915297f9be0a383516df363d3adec8fc083 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-09-17Merge "more stability fixes"Marcus Williams27-49/+466
2018-09-17more stability fixesBenjamin, Max (mb388a)27-49/+466
Remove conditional to not check VNF topology add empty string verification for serviceName field Add junits for CNRCR and NtwkAdptr changes. Add search in new CollNtwkResCust tbl to get NtwkResource. - Updated test data files to include 'pre-load' flag in both VfModuleOperation and NetworkOperation json test data files. - MSO to not to send <preload>boolean</from-preload> to SDNC in network-topology-opertion and vf-module-topology-operation. Updated GeneralTopologyObjectMapper to set 'from-preload' to null so that elements with Nulls are not sent to SDNC. Updated buildNetworkInformation() and buildVfModuleInformation() methods. update flow stats to not cause bpmn flow to crash Fix headers so SDNC does not return XML Add implementation of deleteVolumeGroupResponse parsing; fix JUnits that worked by accident. Change-Id: Ia96d552d731e112505fcf739029a6fd4d0134546 Issue-ID: SO-1061 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-17Merge "add single transaction api to aaiclient"Rob Daugherty21-104/+1110
2018-09-17Merge "Updated error handling of BPMN sub flows"Rob Daugherty39-744/+921
2018-09-17Merge "Accept header not honored when building exception"Rob Daugherty10-171/+207
2018-09-17Merge "Accept VNF Recreate Requests"Rob Daugherty19-9/+268
2018-09-17Fix to use common MsoLoggerByung-Woo Jun3-46/+66
Used the MsoLogger instead of using a separate logger Change-Id: I62f8f8ef64a6f56eadf65829c3bf9521d651fbbb Issue-ID: SO-1062 Signed-off-by: byungwoojun<byung-woo.jun@ericsson.com>
2018-09-17add single transaction api to aaiclientBenjamin, Max (mb388a)22-105/+1110
fixed marshalling when issuing a patch request added support for single transaction api in A&AI Change-Id: Icf755f547523cc7dbf931e198177847a5a1c6ea1 Issue-ID: SO-1060 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-17Fix SDNC ParseSmokowski, Steve (ss835w)9-10/+26
Fix to use proper wrapper bean to fix marshalling Change-Id: Iec167059557cbf73236f3efad9a9780571a0468e Issue-ID: SO-1056 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-09-17Updated error handling of BPMN sub flowsBenjamin, Max (mb388a)39-744/+921
Added error handling subprocess to only those BBs that call a sub flow. Refactored error handling in ExecuteBuildingBlock. Added error handling and enhanced modeling of remaing BB flows Added error handling and enhanced modeling of assign/activate BBs. Change-Id: I2ab6236e3c2206b74b6368db69d8953a779f4f19 Issue-ID: SO-1059 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-17NetworkAdapterRest.java: Fixed sonar issuesArundathi Patil1-10/+10
Sonar Link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-openstack-adapters%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fso%2Fadapters%2Fnetwork%2FNetworkAdapterRest.java Issue-ID: SO-1049 Change-Id: I4256f09b0d89714eb2214215e7a2a2f1f1644a8b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-17Accept header not honored when building exceptionBenjamin, Max (mb388a)10-171/+207
added accept headers to http entity request mappers were looking at "Content-Type" and not "Accept" modified test to no longer share global headers added additional tests and corrected comparison errors Fixing issue with comparing media types, the equals method in MediaType.class uses parameters as well to compare, added a method to just compare the type and subtype and get done with it Fixing test failures, getMEdiaType would come as null in most cases, this causes the defautl serialization mode to be picked which is xml. tests now pass with exception providers in place exception providers now handle JSON and XML Dumy push to re-trigger the build which failed at sonar evaluation Trying to fix the build by removing different spy's Returning XML instead of JSON in cases of error for endpoints. Removed exceptions and its generic handler which is a good thought, however given that the exceptionhandlers are generic it gets tough to return to handle exceptions which require different namesaces in response amongst other problems. Change-Id: I684fe3b0047693093a99aa999faf261d7713f404 Issue-ID: SO-1058 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-17Accept VNF Recreate RequestsBenjamin, Max (mb388a)19-9/+268
Updated nfRole in sample catdb json response Added gr-api-default recipe for recreate Updated description in catdb response json Updated catdb response file to have the correct action Added action to common package Removed requestor ids and source from test requests Began adding recreate endpoint and tests Began adding validation for recreate and junit tests Change-Id: I60c588be104b82b2d0dfb8587069e04f7b4710be Issue-ID: SO-1057 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-17added test case to CamundaClientTest.javaSandeep J1-34/+52
to increase code coverage Issue-ID: SO-1053 Change-Id: I34f287041f5f09cf0c37a0c9babe9719a6d5ce97 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-17fixed sonar issue in MsoNetworkAdapterAsyncImplSandeep J1-16/+16
fixed sonar issue as detailed in SO-1050 Issue-ID: SO-1050 Change-Id: Ia93775d855c04bb5b955d17c002c55f619198298 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-16Merge "fix sonar isue in openstack adapters ObjectFactory"Byung-Woo Jun1-10/+13
2018-09-16Merge "fix sonar issue in ValetClient.java"Byung-Woo Jun1-1/+1
2018-09-16Merge "fixed sonar issue in MSORequestDBApplication.java"Byung-Woo Jun1-2/+2
2018-09-16Merge "fixed sonar issue in ObjectFactory.java"Byung-Woo Jun1-21/+23
2018-09-16fix sonar isue in openstack adapters ObjectFactorySandeep J1-10/+13
fixed sonar issue as detailed in SO-1046 Issue-ID: SO-1046 Change-Id: I4064b7d7729f15afbfa07752cf5cc54e9847e861 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-16fix sonar issue in ValetClient.javaSandeep J1-1/+1
fixed sonar issue as detailed in SO-1045 Issue-ID: SO-145 Change-Id: I754a6699ea1be798cf68c08c6e5900007bf6350b Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-16fixed sonar issue in MSORequestDBApplication.javaSandeep J1-2/+2
fixed sonar issue as detailed in SO-1044 Issue-ID: SO-144 Change-Id: I08bfe045eda953e23c9fa54ea159cd6c915705bd Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-16fixed sonar issue in ObjectFactory.javaSandeep J1-21/+23
fixed sonar issue as detailed in SO-1043 Issue-ID: SO-1043 Change-Id: I529c1e8951b286c6f18d60aa810942d8db94df21 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-16fixed sonar issue in NetworkAdapterNotify_ServiceSandeep J1-3/+4
fixed sonae issue as detailed in SO-1042 Issue-ID: SO-1042 Change-Id: Iadb765acc0acd94c65281e212eed54d28e98ea91 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-14ObjectFactory.java: Fixed sonar issuesArundathi Patil1-20/+20
Sonar Link : https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-openstack-adapters%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fso%2Fadapters%2Fnetwork%2Fasync%2Fclient%2FObjectFactory.java Issue-ID: SO-1038 Change-Id: I88c7c76d266afabcbbe1ea26772b601a0238cde1 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-14Merge "Removed printstacktrace from exception block"Seshu Kumar M1-1/+0
2018-09-14Merge "simplified vCPE PNF workflow"Seshu Kumar M1-0/+975
2018-09-14Merge "Remove unused import"Chuanyu Chen1-1/+0
2018-09-13Stability fixesBenjamin, Max (mb388a)26-142/+534
sdnc now logs the full response message as a json removed erroneous encoding of variables with full XML Return created network from getVirtualLinkL3Network added exception logger to workflowaction aai check Check for null value for vnfcPorts before referencing it Added test case for invalid camunda response Changed to use updateStatus method Added saving for currentActiveReq and test for 401 resp Change JUnit to use expectedException and clean up unused items. Add vfModuleId to the exception message for missing model info. Report an error if VF Module model info is expected but is null. - Just renamed the Cvnfc and Vnfc set names - Updated code to check for duplicate VNFC's across multiple modules in the same VNF. - Removed commented out if statement line for ALLOTTED_RESOURCE - Reinitialize the Cvnfc and Vnfc Sets each time we iterate the VFModule loop. This will avoid the concurrent modification exception. Eliminated Ben from the sample request Changed to use else if for null check Added null check before catdb call and test case Fix implementation of a call to VNF Adapter for DeleteVolumeGroupBB. Update the method to no call save and do a put Revert usage of PUT method, use save instead Change-Id: I9f69fb68d0639c23b8e1de6931938119bd3ac54b Issue-ID: SO-1032 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-13Merge "Fix threading problems in requestdbclient"Rob Daugherty6-32/+50
2018-09-13Merge "Improve test coverage for requestdbclient"Rob Daugherty7-40/+250
2018-09-13Merge "Fix for interrupted exception"Seshu Kumar M2-16/+20
2018-09-13Merge "SO Monitoring UI"Seshu Kumar M68-0/+20463
2018-09-13simplified vCPE PNF workflowLukasz Muszkieta1-0/+975
Change-Id: I37ebe17d453ba5dfa40657542544084d43acd8c2 Issue-ID: SO-1036 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-09-12Fix threading problems in requestdbclientBenjamin, Max (mb388a)6-32/+50
Disable Flakey tests, that do not run well Resolve bean conflict, move to common project Fix port in properties file for replacement Fix threading problems in requestdbclient Change-Id: I12d145863152d302da4fa0854db1c85286266e02 Issue-ID: SO-1034 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>