summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
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-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>
2018-09-12Merge "Add onap-ca.crt to docker"Rob Daugherty2-1/+33
2018-09-12Merge "Update GenericHealthCheck to send vnfHostIpAddress"Rob Daugherty5-9/+21
2018-09-12Improve test coverage for requestdbclientBenjamin, Max (mb388a)7-40/+250
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-12SO Monitoring UIwaqas.ikram68-0/+20463
Change-Id: I6f1c13119d18b8731a02c8559bb1484ec84d6041 Issue-ID: SO-726 Signed-off-by: waqas.ikram <waqas.ikram@ericsson.com> Signed-off-by: Ronan Kenny <ronan.kenny@ericsson.com>
2018-09-12Add onap-ca.crt to dockerBrian Freeman2-1/+33
Issue-ID: SO-1031 Change-Id: Ib301c81bdd5683daf59345ec0a006253fe2c096a Signed-off-by: Brian Freeman <bf1936@att.com>
2018-09-12Update GenericHealthCheck to send vnfHostIpAddressPrema Bhatt5-9/+21
Change-Id: Ia0adb8784e81001ca0b54bfa62b12f28060114cf Issue-ID: SO-1024 Signed-off-by: Prema Bhatt <pb6115@att.com>
2018-09-12Fix for interrupted exceptionbiniek2-16/+20
Change-Id: I8d16c9101acb92bd39208abd9e4724c252db3de6 Issue-ID: SO-722 Signed-off-by: biniek <lukasz.biniek@nokia.com>
2018-09-12Fix the test time rangeByung-Woo Jun1-2/+2
Widen the test time range to avoid time zone issue Change-Id: I1f69fdff4c6a92728fab068eea415adc8bf4937e Issue-ID: SO-1023 Signed-off-by: byungwoojun<byung-woo.jun@ericsson.com>
2018-09-12Merge "Sonar fix for ResourceRequestBuilder"Byung-Woo Jun1-2/+3
2018-09-12Merge "NexusIQ issue: jackson-databind"Seshu Kumar M7-75/+4
2018-09-12Sonar fix for ResourceRequestBuilderGOPINATH MATHIVANAN1-2/+3
Fixed sonar reported Vulnerability Issue-ID: SO-1009 Change-Id: I39b5a89bc182cff570167f7dd2a109cb29ae1eae Signed-off-by: GOPINATH MATHIVANAN <gopinath.mathivanan@in.ibm.com>
2018-09-12Merge "Fix duplicate entry for api"Chuanyu Chen1-1/+1
2018-09-12Fix duplicate entry for apiseshukm1-1/+1
Change-Id: Ie339ee21390c3bd2789d7413a9512d030ee5595a Issue-ID: SO-1028 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2018-09-12Removed printstacktrace from exception blockChandan Ghosh1-1/+0
Removed printstacktrace from exception block in DistributionClientEmulator.java Issue-ID: SO-1027 Change-Id: Ie8cefda90171d6478be007ba0525cf266e2547f0 Signed-off-by: Chandan Ghosh <cghosh12@in.ibm.com>
2018-09-11NexusIQ issue: jackson-databindRob Daugherty7-75/+4
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 "updated create task BB"Rob Daugherty4-24/+90
2018-09-11Merge "add ability to start from parent uri"Rob Daugherty7-5/+134
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-11Merge "image correction in the Workspace section"Chuanyu Chen1-4/+4
2018-09-11Merge "path corrections in the cockpit"Chuanyu Chen1-1/+1