aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-adapters-rest-interface
AgeCommit message (Collapse)AuthorFilesLines
2018-11-17Bug Fixes November 16thBenjamin, Max (mb388a)1-2/+2
fix failing junit when heatID not available provide name if ID is not present on delete op removed logic to skip unassign sdnc in rollback flows Move default settings to CrVfModRequest pojo. Check for null backout and failIfExists params - 1810. Updated exception message and test Added tests for networkCustomization not found Added tests for delete and update network Separated networkResourceCustomization and networkResource lookups Removed version check as not necessary for setting boolean Change-Id: Ia4b409244dc5ebdbb163d4a178713115719366ca Issue-ID: SO-1231 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-09-18Upgrade to openstack libs version 1.3.0Rob Daugherty1-7/+6
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-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-06Merge "Removed unused import"Seshu Kumar M1-1/+0
2018-09-06Removed unused importezhil1-1/+0
Removed unused import in the code Issue-ID: SO-982 Change-Id: Ifbbd1a789aa2e95a0f4a4533cca0b77439117a51 Signed-off-by: ezhil <ezhrajam@in.ibm.com>
2018-09-05Merge "fixed sonar issue in CreateTenantRequest.java"Byung-Woo Jun1-1/+5
2018-09-05fixed sonar issue in DeleteTenantRequest.javaSandeep J1-1/+5
fixed sonar issue as detailed in SO-979 Issue-ID: SO-979 Change-Id: I4c0aa6380e734088ba6fb68414d4391f9b6d6344 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-05fixed sonar issue in CreateTenantRequest.javaSandeep J1-1/+5
fixed sonar issue as detailed in SO-978 Issue-ID: SO-978 Change-Id: Id53fdea75b13b8ce234fe69d121f7bd996f21a82 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-04Merge "resolved sonar issue in VduArtifact.java"Byung-Woo Jun1-2/+2
2018-09-04Merge "fixed sonar issue in DeleteNetworkRequest.java"Byung-Woo Jun1-1/+5
2018-09-04Merge "fixed sonar issue in QueryNetworkResponse.java"Byung-Woo Jun1-2/+3
2018-09-03fixed sonar issue in UpdateNetworkRequest.javaSandeep J1-1/+3
fixed sonar issue as detailed in SO-960 Issue-ID: SO-960 Change-Id: Iebf2fc563fea2aef70c8f7db75d104efeeb54ff5 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in QueryNetworkResponse.javaSandeep J1-2/+3
fixed sonar issue as detailed in SO-959 Issue-ID: SO-959 Change-Id: I878061aa88247e39b703bca065f3c92a1eea3eb6 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-03fixed sonar issue in DeleteNetworkRequest.javaSandeep J1-1/+5
fixed sonar issue detailed in SO-958 Issue-ID: SO-958 Change-Id: I4c25995c702165cd7c737d22b1c26bc4442cd490 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-09-02resolved sonar issue in VduArtifact.javaSandeep J1-2/+2
resolved sonar issue detailed in SO-948 Issue-ID: SO-948 Change-Id: Ic7238eb53ba6a26534cb80cffe5364e6288b9b00 Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
2018-08-23Created Ref Data tbl for controllerSelectionPrema Bhatt1-0/+1
RD: I rebased this and fixed the unit tests. Issue-ID: SO-763 Change-Id: Ie5f6a708cffbc70a9481afd35db3047fe44cb088 Signed-off-by: Prema Bhatt <pb6115@att.com> Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-08-02Resolve Sonar Blocking issuesSmokowski, Steve (ss835w)1-13/+18
Issue-ID: SO-788 Change-Id: I4496ef16c56c980a81031ad01fcbb1524d135ea8 Signed-off-by: Smokowski, Steve (ss835w) <ss835w@us.att.com>
2018-08-01Remove unused import statementsEthan Hampton1-3/+0
Issue-ID: SO-666 Change-Id: I3775d25c0328807b083725c61da015364e59f2be Signed-off-by: Ethan Hampton <ethanx.hampton@intel.com>
2018-07-31Containerization feature of SOBenjamin, Max (mb388a)150-2365/+2685
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
2018-03-27UT Coverage for mso-adapter-rest-interfaceAnjali Walsatwar11-0/+283
UT Coverage for mso-adapter-rest-interface. Change-Id: Ib03912c9dbcec309be2cb04cfcea7cdb9c525bbd Issue-ID: SO-369 Signed-off-by: Anjali Walsatwar <anjali.walsatwar@huawei.com>
2018-03-27Dependency version updates for BeijingRob Daugherty1-12/+0
Update so/libs version to 1.2.1 Update aai-common version to 1.2.1 Update sdc-distribution-client version to 1.3.0 Update sdc-tosca version to 1.3.3 Change-Id: I6c8f1c5476efc4dc866bf765c265736ab70c12c7 Issue-ID: SO-536 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+179
Improve code coverage. Change-Id: I8745d26ec9e19aa72f19157c310504d87b139543 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+141
Improve code coverage. Change-Id: Ibbe4428fb86c720f77d040b9293dac1f81bbfb02 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+90
Improve code coverage. Change-Id: I5cf78487c9039c5ea2e87189ba212d3ed7bb7c43 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+48
Improve code coverage. Change-Id: If3fcc5bba139516857529350af5fe9285a39ca1b Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+48
Improve code coverage. Change-Id: I0d4e78c218dd0196bdfe570012ce8e4923fc8a1d Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21mprove code coveragesubhash kumar singh1-0/+151
Improve code coverage. Change-Id: I4995561822abeb2c34f9fa23e34853496f63d9d4 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+86
Improve code coverage. Change-Id: I01d31b469b7df56328ec3cc76023e15b617842da Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+60
Improve code coverage. Change-Id: I268ff4bb27dce57e49190259864e4912f88cc471 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-21Improve code coveragesubhash kumar singh1-0/+48
Improve code coverage. Change-Id: I1ccea1b6d19fa0cbc22ef52d6613d4fed4b7cc58 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty90-354/+2147
This is code from AT&T's 1712 and 1802 releases. Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04 Issue-ID: SO-425 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-13Unit test coveragesanchitap2-0/+138
Unit test coverage for 1.RequestInformation.java 2.SDNCEvent.java Sonar link: https://sonar.onap.org/code?id=org.onap.so%3Aadapters&selected=org.onap.so.adapters%3Amso-adapters-rest-interface%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fadapters%2Fsdncrest Change-Id: I9ed76cac33bad1739df441c8f9e0ad77d738e1d6 Issue-ID: SO-467 Signed-off-by: sanchitap <sanchita@techmahindra.com>
2018-03-12Adding JunitAS004650594-0/+230
Junit for: 1.SDNCServiceError.java 2.SDNCServiceRequest.java 3.SDNCServiceResponse.java 4.ServiceInformation.java 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%2Fopenecomp%2Fmso%2Fadapters%2Fsdncrest Change-Id: I2a4216c509cf0164ad669d391c9af0bbe6a80f25 Issue-ID: SO-470 Signed-off-by: AS00465059 <AS00465059@techmahindra.com>
2018-03-09Revert Reduce log noise/warningsRob Daugherty3-359/+356
This reverts commit 327b17ab250b4c17cf3f91f5e4cd9bffd89f3d1e. It is seriously impeding our ability complete the promised merge of AT&T 1802 code. While I'm all for coding standards, if we are serious about using spaces instead of tabs, then I think we need to (1) agree with the community when this will happen, (2) do consistently in all files, and (3) enforce it. Change-Id: Ib9b996f6b6c7d81ac9ac95d58b0c7d8cc39675ff Issue-ID: SO-368 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-08Reduce log noise/warnings format to conventionsMarcus G K Williams3-356/+359
Reduce build log warnings by formatting tests to ONAP code conventions (removing tabs etc.) Issue-ID: SO-368 Change-Id: I48c6d359b83617aebeb79db4e30c1d72d31f7eec Signed-off-by: Marcus G K Williams <marcus.williams@intel.com>
2018-03-07Swap indexOf with containsMunir Ahmad1-1/+1
Change-Id: I609d307acf504ea7ff25ed3327a3d4e0e4686755 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-22Port SO artifacts to ONAP folder structureArthur Martella1-3/+3
Change-Id: Ib7aea4df7e6a31cf5e1e6513b89bed6f878537af Issue-ID: SO-372 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-01-19add JUnit for NetworkInfoLukasz Muszkieta1-6/+0
Change-Id: I08210bc29f4f6c2f90723b57e30d48c60a81e3bb Issue-ID: SO-360 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2018-01-10refactoring - adding junitLukasz Muszkieta5-60/+58
Change-Id: I91ba9dafa40df25d1ca1aae5a7dce11e0afb71da Issue-ID: SO-360 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2017-12-28refactoring - adding junit coverageLukasz Muszkieta6-1064/+72
Change-Id: I712afd8ff4e403829ee51b87d76ed38dda027ace Issue-ID: SO-360 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2017-12-01Bump minor versionJessica Wagantall1-1/+1
Bump minor version in preparation for Amsterdam branching. Change-Id: Ib72ca9cab2782a4fee15fff8f0653f0c53ad9f71 Issue-ID: CIMAN-120 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
2017-11-16changed artifact versionseshukm1-1/+1
IssueId: SO-346 Change-Id: I4bd910032baa26c2aa154d3860bf4d34ecf7d9dd Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-10-19Remove unused importsRamanjaneya-Huawei1-1/+0
Change-Id: I2dbd1cd0481d46dfb763b796bbf6f1eb55fdeb23 Issue-id: SO-224 Signed-off-by: Ramanjaneya-Huawei <ramanjaneya.palleti@huawei.com>
2017-10-17Remove the unused variablesrama-huawei2-2/+2
Issue-id: SO-223 Change-Id: I5f4d3f9ef78b68c890a32d3f6afc2a86f2064a6b Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-10-12Iterate over "entrySet" instead of "keySet"rama-huawei1-1/+1
Issue-id: SO-214 Change-Id: Ic402b02a82bd613b0753db1530dd76ce59c3ad08 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-10-08For UT CoverageSeshu-Kumar-M2-33/+1072
SO-191 Change-Id: Iaa800bbe6bc65672c53adf3f432362c57b19e5d7 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-07Code coverage for SO adaptersSeshu-Kumar-M2-0/+510
IssueId: SO-191 Change-Id: I720e58a0ce058f4aec0b4c04b45ac88963a2c3b2 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-30Merge "Repalced StringBuffer with StringBuilder"Seshu Kumar M2-5/+6
2017-09-27Merge "Removed useless assignment to variables"Seshu Kumar M1-1/+1
2017-09-27Merge "Replace with Diamond symbol"Seshu Kumar M1-1/+1