aboutsummaryrefslogtreecommitdiffstats
path: root/adapters
AgeCommit message (Collapse)AuthorFilesLines
2018-09-20various bugfixes for casablancaBenjamin, Max (mb388a)3-2/+65
fixed unit tests after addition of A&AI edge label added option for edgelabel between vnf inst group added belongs to in connecting a vnf to instance group - Adding test for getRainyDayHandlerStatusByFlowNameAndServiceTypeAndVnfTypeAndErrorCodeAn dWorkStep method in the catalogdb client correct default RainyDay table search input updated custom resolver to include float and added comment to explain timestamp configuration added a custom resolver and updated snake yaml version Replacing bowman client with restTemplate.exchange | Add Accept and Content-Type to headers Removing the unused imports as well Implementing some review comments for hte tests being ignored Replacing bowman client with restTemplate.exchange |Fixing Junits Replacing bowman client with restTemplate.exchange | Making Data inserts to go specifically in requestDB Replacing bowman client with restTemplate.exchange | Adding Junits Replacing bowman client with restTemplate.exchange | Adding Junits Replacing bowman client with restTemplate.exchange | Adding Junits Replacing bowman client with restTemplate.exchange - Updated tosca parser version to 1.4.3 and upgraded vnfc test case with new csar to pass with latest parser code. added test case for when workflow has not called all flows fixed issue with rollback and retry in workflowaction Reverted homing changes and changes assign vnf to use the homing produced GeneralBuildingBlock. fixed unit test to build the correct format hashmap reverted extraction back to LinkedHashMap marshal sdnc output to an object removed unused variables and imports extract response code/message from embedded map add junits to parse SDNC assign response removed missed org.openecomp.mso imports from bpmn Change-Id: Ib2b6591a744ecb5b08c522494cdf1ad7dae18a08 Issue-ID: SO-1069 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-20Update LoggingSmokowski, Steve (ss835w)5-20/+32
Update logging to meet Casablanca Spec Change-Id: I029d6c63765992d6f091d96e2b4c34c60d30c484 Issue-ID: SO-947 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-09-19Removed unused import in CXFConfigurationezhil1-1/+1
Removed logger import Issue-ID: SO-1030 Change-Id: Ifd890e7319f963a3958b5d42c0e4505eacd2eb43 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-09-18Upgrade to openstack libs version 1.3.0Rob Daugherty5-24/+23
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-18Merge "NetworkAdapterRest.java: Fixed sonar issues"Seshu Kumar M1-10/+10
2018-09-17Merge "more stability fixes"Marcus Williams5-2/+125
2018-09-17more stability fixesBenjamin, Max (mb388a)5-2/+125
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-17add single transaction api to aaiclientBenjamin, Max (mb388a)1-1/+0
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-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 VNF Recreate RequestsBenjamin, Max (mb388a)2-1/+5
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-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 "Remove unused import"Chuanyu Chen1-1/+0
2018-09-13Stability fixesBenjamin, Max (mb388a)2-2/+45
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-12Fix threading problems in requestdbclientBenjamin, Max (mb388a)4-13/+11
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>
2018-09-12Improve test coverage for requestdbclientBenjamin, Max (mb388a)4-2/+195
RequestsDbClient Junits and some fixes for RequestsDbClient Change-Id: Icc2185030220d7bf973be5a23a51b6b5e313a360 Issue-ID: SO-1033 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-11NexusIQ issue: jackson-databindRob Daugherty1-4/+0
Upgrade to fasterxml.jackson 2.8.10. This is the latest version that seems to work with our code on springboot 1.5.13.RELEASE. Change-Id: I734f84c18e53218f111fb08c959a67ee0a2e6014 Issue-ID: SO-856 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-09-11Merge "fixed sonar issue in VolumeAdapterRestV2.java"Byung-Woo Jun1-11/+16
2018-09-11Merge "fixed sonar issue in VnfAdapterRestV2.java"Byung-Woo Jun1-4/+7
2018-09-11fixed sonar issue in VolumeAdapterRestV2.javaSandeep J1-11/+16
fixed sonar issue as detailed in SO-1019 Issue-ID: SO-1019 Change-Id: I80452161d3be178fc0bc5aea3eae297ef4bc2c8c Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11fixed sonar issue in VnfAdapterRestV2.javaSandeep J1-4/+7
fixed sonar issue as detailed in SO-1018 Issue-ID: SO-1018 Change-Id: I26ed2b0184cce2670e51be7308ed2039905acf06 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11fixed sonar issue in msoVnfCoudifyAdapterImplSandeep J1-34/+39
fixed sonar issue as detailed in SO-1017 Issue-ID: SO-1017 Change-Id: I2377cd860b583376d5f0c71b0ff244a77ee07422 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-11Merge "UpdateNetworkRequest.java: Fixed sonar issue"Byung-Woo Jun1-1/+0
2018-09-11VfRollBack.java, CreateVnfNotification:Sonar issueArundathi Patil2-6/+1
Fixed sonar issues in vfRollBack.java and CreateVnfNotification.java Issue-ID: SO-1015 Change-Id: I8d2cc0b589fe4b4b6426c0907e5a4650303b6f9b Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-11Remove unused importSooriyaa1-1/+0
Remove unused import Issue-ID: SO-1014 Change-Id: Ieefd43d22aa9487d58cf7882fc61e12f2f9e85b4 Signed-off-by: Sooriyaa <soponraj@in.ibm.com>
2018-09-11UpdateNetworkRequest.java: Fixed sonar issueArundathi Patil1-1/+0
Sonar Link : https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so.adapters%3Amso-adapters-rest-interface%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fso%2Fadapters%2Fnwrest%2FUpdateNetworkRequest.java Issue-ID: SO-1012 Change-Id: I1324f1ef4bf35523f9ae1bf55915bf1671900720 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-10Merge "sparate beans and repositories"Rob Daugherty2-0/+10
2018-09-10Merge "RequestTunables.java: Fixed sonar issues"Byung-Woo Jun1-3/+0
2018-09-10sparate beans and repositoriesBenjamin, Max (mb388a)2-0/+10
Seperate out Beans and repositories for RequestDB Change-Id: I67d6597d580e9828b6bb8faafaea7e09cc6467c0 Issue-ID: SO-999 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-10Merge "SDNCAdapterTypeImpl.java: Fixed sonar issue"Byung-Woo Jun1-3/+1
2018-09-10Merge "fixed sonar issue in MsoNetworkAdapterImpl"Byung-Woo Jun1-4/+4
2018-09-10Merge "ValetStatus.jsvs: Fixed sonar issue"Byung-Woo Jun1-5/+7
2018-09-10Merge "stability fixes"Rob Daugherty2-0/+9
2018-09-10RequestTunables.java: Fixed sonar issuesArundathi Patil1-3/+0
Sonar-Link : https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-sdnc-adapter%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fso%2Fadapters%2Fsdnc%2Fimpl%2FRequestTunables.java Issue-ID: SO-1008 Change-Id: I7660ac5f7be56e1a1d409305e6ffaf5a841ae446 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-10Merge "added generic fabric support to SO"Rob Daugherty22-17/+450
2018-09-10fixed sonar issue in MsoNetworkAdapterImplSandeep J1-4/+4
fixed sonar issue as detailed in SO-989 Issue-ID: SO-989 Change-Id: Ic4ec79847bbc5980cb6889d0ab2d766b3875faca Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-10Merge "fixed sonar issue in MsoNetworkAdapterAsyncImpl"Byung-Woo Jun1-4/+4
2018-09-10SDNCAdapterTypeImpl.java: Fixed sonar issueArundathi Patil1-3/+1
Sonar Link : https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so%3Amso-sdnc-adapter%3Asrc%2Fmain%2Fjava%2Forg%2Fonap%2Fso%2Fadapters%2Fsdnc%2Fimpl%2FSDNCAdapterPortTypeImpl.java Issue-ID: SO-1007 Change-Id: Id11dcccaeb7a728f9fa238570759783fb9053ed9 Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
2018-09-10Merge "GenericValeResponse.java: Fixed sonar issues"Byung-Woo Jun1-5/+6
2018-09-10fixed sonar issue in MsoNetworkAdapterAsyncImplSandeep J1-4/+4
fixed sonar issue as detailed in SO-988 Issue-ID: SO-988 Change-Id: I66fcee5129fb749a887db2f6eab0f9fd2cdb1e36 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>