summaryrefslogtreecommitdiffstats
path: root/esr-mgr
AgeCommit message (Collapse)AuthorFilesLines
2018-03-26Upgrade the version of oparent.LiZi1-16/+3
Change-Id: Idc553f92d78c586878a2ffd0e8e7ca5b97252c27 Issue-ID: AAI-941 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-12Change the http REST API to https.LiZi1-1/+2
Change-Id: I25365752a881bdda65130ddaabec6305ee31705d Issue-ID: AAI-851 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-02Fix the bug about nullpointer when update VIMLiZi1-9/+13
Change-Id: I25d81a88a7fec20a6f1ebca26b727cee64be1d96 Issue-ID: AAI-832 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-02Add unit test for the newly entity classes.LiZi4-0/+161
Change-Id: Ie87f678cdaab10322211b546d5defa1e17a8b3c8 Issue-ID: AAI-831 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-02Add unit test for the newly API.LiZi4-15/+46
Add unit test for the API of query complexes and create relationship between cloud region and complex Change-Id: I1a5b4b53346e820f66946482ce27f4273d842e88 Issue-ID: AAI-830 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-01Get complex name and put it to cloud regionLiZi5-5/+51
Get complex name by query complex object and put it to cloud region when register VIM. Change-Id: I1c5a2537b70de5ec8d3630dec6c8b79981445290 Issue-ID: AAI-829 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-01Create relationship while register VIM.LiZi9-25/+140
Create relationship between cloud region and complex object while register VIM. Change-Id: I8bd121ad653cb27fb8a571d4544c10464e2a1fc4 Issue-ID: AAI-827 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-03-01Realize the API to get complex object ID.LiZi5-2/+112
Change-Id: Ie70a1352fbdd490b0b4e6ac05ea14fbfa38b9678 Issue-ID: AAI-826 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-02-28Add complex API definition.LiZi6-22/+138
Change-Id: I7d1626b9f032901d491be3828db658b01b6d3947 Issue-ID: AAI-823 Signed-off-by: LiZi <li.zi30@zte.com.cn>
2018-02-24Fix the security issue of esr server.LiZi1-0/+12
Fix the security issue CVE-2016-3720 and CVE-2017-17485 Change-Id: I3f7d0c4fb841d72e2b463091a5c4b5e5e81f0611 Issue-ID: AAI-592 Signed-off-by: LiZi <li.zi30@zte.com.cn>
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.Lizi7-49/+78
Change-Id: I47926c5de4d89f203866de663e74f3cec026959d Issue-ID: AAI-638 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-25Fix the security issue.Lizi40-12910/+5
Change-Id: Id63ea99cf3308406cb2a2ec205f0c1a2d12384e4 Issue-ID: AAI-592 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-24Fix the security issue.Lizi1-3/+3
Change-Id: I3405ec0460cd7eb24d244d5c94b23d898fbd86a0 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-19Fix the security issue casused by java-sdk.Lizi1-2/+2
Change-Id: Id7ddf46944a96a2e3724f4d41247bcf1b82e0a8f Issue-ID: AAI-592 Signed-off-by: Lizi <li.zi30@zte.com.cn>
2018-01-17Raise the version of dropwizard.Lizi1-3/+29
Change-Id: I780a348a3b94d0ea583f865d7c62613e0eb5f781 Issue-ID: AAI-592 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.Lizi4-20/+81
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.Lizi3-229/+294
Change-Id: I90e690efd0f35fff7151650f078e2b77e134b440 Issue-ID: AAI-500 Signed-off-by: Lizi <li.zi30@zte.com.cn>