aboutsummaryrefslogtreecommitdiffstats
path: root/adapters/mso-network-adapter/src
AgeCommit message (Collapse)AuthorFilesLines
2018-05-04Fix CloudConfig junitsRob Daugherty2-7/+18
...for some definition of the word "fix". There is still a lot that's less than ideal about how CloudConfig is handled, and with how the unit tests are written. Change-Id: Ic8c66c64d336f22c141687cf41a4828810bf1aec Issue-ID: SO-584 Signed-off-by: Rob Daugherty <rd472p@att.com>
2018-03-29Merge "Added more tests for MsoNetworkAdapterImpl"Rob Daugherty2-6/+332
2018-03-28Added more tests for MsoNetworkAdapterImplKalkere Ramesh, Sharan (sk720x)2-6/+332
Change-Id: Ib2d452010ca67bd3f0f94b1aa3bf65d95628c8f1 Issue-ID: SO-545 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-03-28Remove PowerMockRunnerArthur Martella1-1/+1
Did you know that using @RunWith(PowerMockRunner.class) makes tests count 0 lines of coverage in Sonar? I didn't. Change-Id: I5c8fae2d0a329866e9c35a7c85344d368af4ad76 Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-28Added junits for MsoNetworkAdapterImplKalkere Ramesh, Sharan (sk720x)2-24/+877
Change-Id: I3494c043cac3753bed6358ff83e9504321ab9560 Issue-ID: SO-545 Signed-off-by: Kalkere Ramesh, Sharan (sk720x) <sk720x@att.com>
2018-03-28Network Adapter Test RepairArthur Martella1-11/+1
Adding dependency required by network adapter test. Change-Id: Idc4dea68ab4dd0431a216a5d506faa7edec7c450 Issue-ID: SO-489 Signed-off-by: Arthur Martella <amartell@research.att.com>
2018-03-23Junit mso-network-adapterSumapriya2-0/+80
Adding Junit for: 1.ContrailSubnetHostRoute.java 2.ContrailSubnetHostRoutes.java Sonar-Link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so.adapters%3Amso-network-adapter%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fadapters%2Fnetwork Change-Id: I9c74e40a468ba1b36bc343e6b9e9562406ab0c1a Issue-ID: SO-520 Signed-off-by: Sumapriya <SS00493505@techmahindra.com>
2018-03-22Adding JunitSP005016382-0/+89
Adding Junit for: 1.NetworkException.java 2.NetworkExceptionBean.java Sonar link: https://sonar.onap.org/code?id=org.onap.so%3Aso&selected=org.onap.so.adapters%3Amso-network-adapter%3Asrc%2Fmain%2Fjava%2Forg%2Fopenecomp%2Fmso%2Fadapters%2Fnetwork%2Fexceptions Change-Id: Ie7c1aa6c129824ff6eae596a287f9b50be777887 Issue-ID: SO-519 Signed-off-by: SP00501638 <SP00501638@techmahindra.com>
2018-03-20Add UT for BpelRestClientTestsubhash kumar singh1-0/+97
Add UT for BpelRestClientTest class. Change-Id: Ib1d2fce5138503d2b8b056b1781e4ae82138e3a5 Issue-ID: SO-369 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
2018-03-14AT&T 1712 and 1802 release codeRob Daugherty15-81/+1019
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-06Make use of try with resourcesMunir Ahmad1-456/+547
Change-Id: If230b8249d482f7784f885fb4348943c755477cc Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-03-06Replace explicit type with dimond typeMunir Ahmad1-1/+1
Change-Id: I1dedb9ef1ca7b734e3cfc0a3a594d733dbd298d4 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-27Make use of append instead of string concatenationMunir Ahmad1-4/+4
Change-Id: I94ad658026f165ba8b5a74352095188a27ee50e5 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-02-21Swap String concatenation with StringBuilderMunir Ahmad1-12/+12
Change-Id: I5c43d3267e5f75623bcc837e27c57a6ad6aa8877 Issue-ID: SO-437 Signed-off-by: Munir Ahmad <munir.ahmad@bell.ca>
2018-01-29refactoring - add OptionalLukasz Muszkieta1-17/+15
change possible null return value to Optional Change-Id: I70bf78a51b901a74932b00d1d8735bef5eeacef7 Issue-ID: SO-360 Signed-off-by: Lukasz Muszkieta <lukasz.muszkieta@nokia.com>
2017-12-13Reduce complexity of HealthCheckUtilskurczews1-1/+1
* Split bulk conditionals * Split health checks to separate methods * Fix minor issues Issue-ID: SO-353 Change-Id: Ib6298bc488a94aa4fbb253e3894532708547533d Signed-off-by: kurczews <krzysztof.kurczewski@nokia.com>
2017-10-17Fixed CloseableHttpClient close issueshashikanth.vh1-13/+1
Issue-id: SO-228 Change-Id: I731227f4728d3eee5ce84b358c6422a44efdbdc3 Signed-off-by: shashikanth.vh <shashikanth.vh@huawei.com>
2017-10-12Iterate over entrySet instead of keySetrama-huawei1-4/+8
Issue-id: SO-214 Change-Id: I7035fb50a0025f0da72eacfe9cee706799202cf7 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-10-07Code coverage for SO adaptersSeshu-Kumar-M1-0/+111
IssueId: SO-191 Change-Id: I720e58a0ce058f4aec0b4c04b45ac88963a2c3b2 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-10-06Adding UT for MsoNetworkAdaptersseshukm1-0/+86
IssueId: SO-173 Change-Id: Ic4c48cb877e19d7cd380048451a53478f83fa373 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-30Correcting naming formatAnkit-Huawei1-0/+1
SO-158 Change-Id: Ic7b789cf46cc2f31842b3d69f5ad52e8b4c63e31 Signed-off-by: Ankit-Huawei <ankit.kumar.sinha1@huawei.com>
2017-09-30Correcting naming formatAnkit-Huawei2-58/+59
SO-158 Change-Id: If322e1edf39e8a5fabf1926e4e73d74deefea90e Signed-off-by: Ankit-Huawei <ankit.kumar.sinha1@huawei.com>
2017-09-28Merge "Fix some major sonar issues"Seshu Kumar M1-1/+1
2017-09-28Merge "Fix major Sonar issues"Seshu Kumar M1-1/+1
2017-09-28Merge "Removed unused imports"Seshu Kumar M1-6/+3
2017-09-27Merge "Replace with Diamond symbol"Seshu Kumar M1-1/+1
2017-09-27Removed unused importsramanjaneya1-6/+3
Issue-Id:SO-118 Change-Id: I0c58455e74dd444e1cddae96cde7608fbed3e436 Signed-off-by: ramanjaneya <ramanjaneya.palleti@huawei.com>
2017-09-27Fix some major sonar issuessurya-huawei1-1/+1
*Use collection.isEmpty() instead of collection.size *Remove unnecessary commented line This is done for increasing code readability *Pass the string object directly Instead of wrapping the returned object and creating a new object, passing the object itself will save memory Issue-Id: SO-118 Change-Id: I24c15e9270ec3422d35d3910a8aff9fcf8d632d9 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-27Fix major Sonar issuessurya-huawei1-1/+1
*Use negation operator instead of converting boolean operator *Remove unused imports These changes are done to increase code readability Issue-Id: SO-118 Change-Id: I8ec491217520edad95657f8cbb33d20149f64425 Signed-off-by: surya-huawei <a.u.surya@huawei.com>
2017-09-26Replace with Diamond symbolrama-huawei1-1/+1
Issue-Id:SO-118 Change-Id: Ia660ff49ae2c9ff5969ef13060fdfbffb4dfce13 Signed-off-by: rama-huawei <rama.subba.reddy.s@huawei.com>
2017-09-26Adding comments for empty constructorAnkit-Huawei1-0/+1
SO-158 Change-Id: I82c0cfc4bc642fea34480feee0d5fb0bcebffe60 Signed-off-by: Ankit-Huawei <ankit.kumar.sinha1@huawei.com>
2017-09-18Fixed issues in adapter packageseshukm4-61/+64
Issue-Id: SO-141 Change-Id: I1a6905aa7e1328e47b3d0f7580a1dca33c6a069c Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-12Fix for SONAR critical issuesseshukm1-0/+1
Issue-Id : SO-117 Change-Id: I57e30d9a8a2b251a57466d92c49f41e2a5943b22 Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
2017-09-11Change the header to SOSeshu-Kumar-M13-13/+13
IssueId: SO-120 Change-Id: I59982b12d5b538b3f9765410ac26cbdde1844957 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-09-08Merge "sonar blocker issue fixes"Rob Daugherty2-11/+15
2017-09-081710 Rebase - Second AttemptArthur Martella2-78/+110
This commit rebases changes from openecomp-mso/internal-staging-1710 up to and including this codecloud commit: 54483fc6606ddb1591a2e9da61bff8712325f924 Wed Sep 6 18:12:56 2017 -0400 Rebasing was done on a branch on top of this commit in so/master in ONAP: 93fbdfbe46104f8859d4754040f979cb7997c157 Thu Sep 7 16:42:59 2017 +0000 Change-Id: I4ad9abf40da32bf5bdca43e868b8fa2dbcd9dc59 Issue-id: SO-107 Signed-off-by: Arthur Martella <amartell@research.att.com>
2017-09-07sonar blocker issue fixesSeshu-Kumar-M2-11/+15
Issue ID: SO-98 Change-Id: Ida8eba238c3c0ca867cc40a58d00ddcd74417921 Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-08-22IssueId : SO-98Seshu-Kumar-M1-15/+12
Desc: Sonar issue fix Change-Id: I48e45fb9fd51bac3e79feaa47d3078b6614025cf Signed-off-by: Seshu-Kumar-M <seshu.kumar.m@huawei.com>
2017-05-02[MSO-8] Second step of the rebase for MSODeterme, Sebastien (sd378r)6-17/+76
Second rebase containing additional features for MSO + total reworking of the BPMN structure + Notification flow can now be added at the end of some BPMN flows Change-Id: I7e937c7a0ba1593ca85e164a093f79c7e38b6ce0 Signed-off-by: Determe, Sebastien (sd378r) <sd378r@intl.att.com>
2017-04-11[MSO-8] Update the maven dependencyxg353y7-315/+321
Update the maven depenency for sdc-distribution-client to cooperate with the sdc changes. Change-Id: I2da936e5c40cb68c7181bb78307192dd5655b5dc Signed-off-by: xg353y <xg353y@intl.att.com>
2017-01-31Initial OpenECOMP MSO commitChrisC16-0/+4948
Change-Id: Ia6a7574859480717402cc2f22534d9973a78fa6d Signed-off-by: ChrisC <cc697w@intl.att.com>