summaryrefslogtreecommitdiffstats
path: root/esr-mgr/src
AgeCommit message (Collapse)AuthorFilesLines
2018-02-07Fix the bug about register MSB.Lizi1-1/+1
When register service to MSB, esr-server still will register to MSB automaticly Change-Id: I69769906e87e6b8c9658b05de60af45ed2b47e82 Issue-ID: AAI-738 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-06Display ESR API with swaggerLizi5-9/+36
When ESR registered to MSB. The API of esr-server can be visited from MSB portal through swagger Change-Id: I142b79c00920697839f55eac95b50a6072d19ca4 Issue-ID: AAI-735 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-06Remove the unused variable in vnfmManagerUtilLizi1-6/+3
Fix the sonar issue: https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR Change-Id: I2e6a6ff49f91053020eed7ba1daf98c401887170 Issue-ID: AAI-734 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-06Remove the unused variableLizi1-6/+3
Fix sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=MAJOR|resolved=false Change-Id: I07cb02bfad47e245e0a76030524a1db15948eb2a Issue-ID: AAI-734 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-06Add a constructive funtion, fix sonar issue.Lizi2-3/+4
Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR Change-Id: I172a75efd156c29faa5b146d73ee1d9d09b5e40a Issue-ID: AAI-734 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-06Rename variable,fix sonar issue.Lizi1-11/+11
Fix the sonar issue https://sonar.onap.org/component_issues?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR Change-Id: I18298cfa2366e95a0bdd254498a4d9c8940dd181 Issue-ID: AAI-734 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-06Fix the sonar issue.Lizi4-27/+1
Change-Id: I6894d0773ef37acea819897cd80a4aa0d2b785af Issue-ID: AAI-734 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-02Sonar MinorPrasadNaidu1-2/+2
Rename this field to match the regular expression AaiCommon.java:L24 Sonar link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MINOR|rules=squid%3AS3008 Location: src/main/java/org/onap/aai/esr/externalservice/aai/AaiCommon.java Change-Id: Id6b6db3ac750c1dadc851822ad59e9d3c97fbddf Issue-ID: AAI-697 Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
2018-02-01Merge "Add a private constructor"Li Zi1-0/+3
2018-02-01Merge "Fix the sonar issue."Li Zi1-2/+14
2018-02-01Fix the sonar issue.Lizi1-2/+14
Change-Id: I9f75b3e54ca634c268a8d3f14c29db03d6e263b7 Issue-ID: AAI-723 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-02-01sonar critical for DesignDushyant Singh Thakur1-1/+5
Added a private constructor to hide the implicit public one Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=CRITICAL%2CMAJOR|resolved=false|assignees=dthakur Location: src/main/java/org/onap/aai/esr/externalservice/aai/AaiCommon.java Line No-18 Change-Id: I3f47b6de765f6b14871d58c3c9b0d8d0360a76be Issue-ID: AAI-718 Signed-off-by: Dushyant Singh Thakur <dt00503496@techmahindra.com>
2018-02-01Add a private constructorPrasadNaidu1-0/+3
Add a private constructor to hide the implicit public one MsbConfig.java Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|severities=MAJOR|assignees=PrasadNaidu Location: src/main/java/org/onap/aai/esr/common/MsbConfig.java Change-Id: I1a71ffa16a9b57d75a98138492155133e07bf4dc Issue-ID: AAI-713 Signed-off-by: PrasadNaidu <RV00493633@techmahindra.com>
2018-01-31Merge "Sonar Minor: Remove the thrown runtime exception."Li Zi1-1/+1
2018-01-30Merge "Remove this unused import java.util.ArrayList"Li Zi1-1/+1
2018-01-30Merge "Move string literal to left side of comparison"Li Zi1-1/+1
2018-01-29Add a private constructor to hide implicit publicSwapnali Pode1-0/+4
Add a private constructor to hide the implicit public one Config.java:L22 Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#severities=MAJOR|resolved=false Location: src/main/java/org/onap/aai/esr/common/Config.java Change-Id: I6247597bebe48365a7fa34ab539b2fddf8d15da7 Issue-ID: AAI-694 Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
2018-01-26Fix an unit error.Lizi1-1/+1
Change-Id: I0da4787b793245ca2a9d73ea3ba81fb5a464221e Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-26Add the unit test for Vim manage function.Lizi1-0/+179
Change-Id: Ibe4ed95512af0b67674f2ee14e20924050c1875f Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-26Change the unit test of SDNC with mock.Lizi3-92/+66
Change-Id: Ic0ae520c481fcf3b154e1cc83c0847094acf4ee2 Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-26Change the unit test about EMS with mock.Lizi2-87/+99
Change-Id: Ic78104662666203e3b631d2879a70c94189e01d2 Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-25Change the unit test about VNFM with mock.Lizi1-25/+45
Change-Id: Idd711b1d7772ea0817549fc47ca1d1abd1ddf199 Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-25Change the static method to unstatic.Lizi6-48/+65
Change-Id: I47926c5de4d89f203866de663e74f3cec026959d Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-25Fix the security issue.Lizi39-12903/+0
Change-Id: Id63ea99cf3308406cb2a2ec205f0c1a2d12384e4 Issue-ID: AAI-592 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-24Move string literal to left side of comparisonSwapnali Pode1-1/+1
Move true string literal on the left side of this string comparison ExtsysApp.java:L56 Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#resolved=false|assignees=swapnalipode Location: src/main/java/org/onap/aai/esr/ExtsysApp.java Change-Id: I82e43ca7a68322c6d409ecc113932e289721c374 Issue-ID: AAI-691 Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
2018-01-23Remove this unused import java.util.ArrayListSwapnali Pode1-1/+1
Remove this unused import java.util.ArrayList VimRegisterInfo.java:L18 Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server#assigned=false|resolved=false|severities=MINOR Location: src\main\java\org\onap\aai\esr\entity\rest\VimRegisterInfo.java Change-Id: I55354dfaad886dade9310776a5fa1af798ac33df Issue-ID: AAI-688 Signed-off-by: Swapnali Pode <SP00501638@techmahindra.com>
2018-01-22Fix the sonar issue.Lizi5-19/+54
Change-Id: Ie704a164dc9ed5d2be247708a24779d97d6b5c15 Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-22Deal the sonar issue.Lizi4-51/+51
Change-Id: Ic02f862a4652e9daddb78b54b9373275145e252f Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-12Fix the sonar issue.Lizi3-38/+18
Change-Id: I477338e083b98f6cc2a80d068229d7c00181b0fc Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-12Add unit test for ems management.Lizi5-34/+238
Change-Id: I21baa89e1517e0f5f208e2ed64d86c4b9c47c6b8 Issue-ID: AAI-637 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-11Sonar Minor: Remove the thrown runtime exception.aishkashyap1-1/+1
Remove the declaration of thrown runtime exception. Sonar Link: https://sonar.onap.org/component_issues/index?id=org.onap.aai.esr-server%3Aaai-esr-server-parent#resolved=false|severities=MINOR Location: src/main/java/org/onap/aai/esr/externalservice/aai/ThirdpartySdncRegisterProvider.java Line No:53 Issue-ID: AAI-624 Change-Id: Ief9b736eebcb1e55bbc61e3a4d223368f97ee19a Signed-off-by: aishkashyap <as00476394@techmahindra.com>
2018-01-11Fix the java code style issue.Lizi100-5216/+4905
Change-Id: Ic4e307ff6bfede6e505b2d758b7f174532b2335b Issue-ID: AAI-622 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-11Add the unit test for thirdpartySDNC management.Lizi1-0/+148
Change-Id: I208af4dbc5e693a7647a9ebf1912826ca849fe89 Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-11Fix the nonstandard coding.Lizi30-119/+154
Fix the ArrayList usage, Remove the redundancy newly object. Change-Id: I0311297d4e1387f89196eab978ed58a86f54cddb Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-10Add unit test for vnfm manage API.Lizi3-18/+79
Change-Id: I51af8e01b8408acb6e7b0213c2db25c7e49102cd Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-09Add unit test for query vnfm by ID.Lizi2-2/+43
Change-Id: I9ad13cf69cff5764173e3c78ed97f4e44df9dcc2 Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-09add unit test for vnfmregister.Lizi2-10/+75
Change-Id: I90e690efd0f35fff7151650f078e2b77e134b440 Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2017-12-14Add unit tests to increase sonar coverageaditya8-0/+397
Add units to common, exception and externalservice packages Issue-ID: AAI-500 Change-Id: Ie14a8d88c3ec99d362ac49ac30ee92c653409ae8 Signed-off-by: Aditya Gajulapalli <ag282f@att.com>
2017-10-17Fix the issue call multicloud failed.v1.0.01.0.0-Amsterdamlizi1-1/+1
Change-Id: I37b94993967f67f71a29c5b8deaefea7be0db547 Issue-ID: AAI-436 Signed-off-by: lizi <li.zi30@zte.com.cn>
2017-10-13Input Tenant to A&AI while register VIM.lizi3-0/+16
Change-Id: I62498d12592e1b96fbd1b00465bde6248fca747e Issue-ID: AAI-435 Signed-off-by: lizi <li.zi30@zte.com.cn>
2017-10-13Fix the issue when call the Multicloud API.lizi2-2/+1
Change-Id: Ia8d6f3f0f8a7989b227fe4fea3fd9c23228a06a6 Issue-ID: AAI-436 Signed-off-by: lizi <li.zi30@zte.com.cn>
2017-10-11Add swagger.json to main/resources.lizi6-0/+734
Change-Id: Idbe8b45d713017a0dd487037e504238f7a58efcc Issue-ID: AAI-430 Signed-off-by: lizi <li.zi30@zte.com.cn>
2017-09-28Register ServiceTest to microservice.lizi1-1/+2
Change-Id: I1072eeff36a848eba35b99511e79906a340c4b53 Issue-ID: AAI-400 Signed-off-by: lizi <li.zi30@zte.com.cn>
2017-09-28Fix the bug about query VIM.lizi1-2/+4
Fix the bug "If a cloud-region didn't contain a external system info, there will be an null pointer error". Change-Id: I2cdd45bfc9836ce8369feb4d5af6bc6bcee84201 Issue-ID: AAI-398 Signed-off-by: lizi <li.zi30@zte.com.cn>
2017-09-25Change the Exception deal ways for VNFM manager.lizi001643311-32/+24
Change-Id: I84ef1fbd989b1ba4cc01e0747df021c123d309ef Issue-ID: AAI-282 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
2017-09-25Change the Exception deal ways for sdnc manager.lizi001643311-38/+25
Change-Id: I6cd6da374d87d973e1ae9d546a824e573ec0ddf9 Issue-ID: AAI-282 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
2017-09-25Fix the exception deal way of Ems manager.lizi001643312-35/+28
Change-Id: I9908b88a8fbc969e7029e5a4d3aed54783bfd352 Issue-ID: AAI-282 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
2017-09-25Change the usage of Exception in external system.lizi001643313-43/+94
Do not use Exception directly according to sonar. Change-Id: I580ce22a7cde5eebfa18f4813a9754b066866031 Issue-ID: AAI-282 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
2017-09-23Add unit test case for VNFM register util.lizi001643311-0/+97
Change-Id: I1324d641812330732a5634c5d7cd74d9aed206c2 Issue-ID: AAI-376 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
2017-09-23Add unit test case for VIM register utils.lizi001643314-81/+125
Add unit test case for VIM register utils. Clean the unused code. Change-Id: I2b097d566f2f7ddebe8f107bf51e78aad194b5a3 Issue-ID: AAI-375 Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>